Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

feature detection code error

$
0
0
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 ` 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.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>