Hi
https://github.com/uscrs-art/beohawk-ros/blob/master/test_code/feature_matching.cpp
This is the link which i reffered from github... i m using opencv version 2.4.13.. but i got an error...
feature_matching.cpp:50:2: error:‘SurfFeatureDetector’ does not name a type SurfFeatureDetector surf_feature_detector; ^ feature_matching.cpp:51:2: error: ‘SurfDescriptorExtractor’ does not name a type SurfDescriptorExtractor surf_descriptor_extractor; ^ feature_matching.cpp: In member function ‘void Feature_Matching::sub_image_callback(const ImageConstPtr&)’: feature_matching.cpp:86:4: error: ‘surf_feature_detector’ was not declared in this scope surf_feature_detector.detect(img_tgt, *keypoints_tgt_ptr); ^ feature_matching.cpp:87:4: error: ‘surf_descriptor_extractor’ was not declared in this scope surf_descriptor_extractor.compute(img_tgt, *keypoints_tgt_ptr, descriptors_tgt);
I tried #include <opencv2 nonfree="" features2d.hpp=""> but it doesn't work... can someone tell me what is the issue in that code? Also i tried for SIFT but its get same error... please suggest me for SIFT also.