Ask Your Question
0

why is SurfFeatureDetector class (in Features2d) missing from the open-ios libary?

asked 2013-01-05 09:02:00 -0600

hardboy111 gravatar image

Title says it all really..any help much appreciated.

I included the appropriate library 'opencv2/features2d/features2d.hpp' but when I compile SURF isnt recognised.

Im trying to do this http://achuwilson.wordpress.com/2011/08/05/object-detection-using-surf-in-opencv-part-1/

If anyone has other examples please forward on

thx

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-04-11 12:29:32 -0600

ske gravatar image

Try to add nonfree.hpp as a header file.

edit flag offensive delete link more

Comments

1

Correct, nonfree.hpp needs to be included (opencv2/nonfree/nonfree.hpp and additionally the module need to be initialized via cv::initModule_nonfree()

Guanta gravatar imageGuanta ( 2013-04-11 13:05:18 -0600 )edit

Question Tools

Stats

Asked: 2013-01-05 09:02:00 -0600

Seen: 1,199 times

Last updated: Apr 11 '13