change M_PI to CV_PI, initial value of nbInitialKeypoints = 0