OrbFeatureDetector issue
Hello
I am having trouble with detecting KeyPoint s with the OrbFeatureDetector, this is my code, it is taken from the Surf example, but as I understand it has the same functionality.
vector<KeyPoint> keypoints_1, keypoints_2;
int minHessian = 15;
OrbFeatureDetector detector(minHessian);
detector.detect( img_1, keypoints_1 );
detector.detect( img_2, keypoints_2 );
the keypoints vector gets filled with -1274509 the max value it can support I'm thinking. And at the compute part it crashes. What am I doing wrong? Pls help.
Peter