c++ - Detection returns huge number of keypoints -


using following code (snippet of relevant parts) try perform keypoint detection opencv 2.4.11:

iplimage                   *fiducial; cv::siftfeaturedetector     siftdetector; cv::surffeaturedetector     surfdetector(400); std::vector<cv::keypoint>   siftkeypoints,surfkeypoints;  ...  siftdetector.detect(fiducial,siftkeypoints); surfdetector.detect(fiducial,surfkeypoints); 

after calls detect() both vectors siftkeypoints , surfkeypoints come incredibly huge number of keypoints (658812288344697520). amazingly detect() has no return value inform error , not throw exception.

so...what wrong here?

thanks!

solved, mismatch between debug-build , release-libraries.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -