ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It seem like the problem with the OpenCV. Have a look at this question.
Here is the reliable answer I found from that question. Although it's for python but you can find the similar alternative for the cpp and replace the couple of import and line 68 from estimation_internal.h
.
Since SIFT patent expired, SIFT has been moved to the main repo. To use SIFT in Opencv, You should use cv2.SIFT_create() instead of cv2.xfeatures2d.SIFT_create() now. (xfeatures2d only exists in the contrib package, but sift is part of the main package now.)
Below link will be helpful. https://github.com/opencv/opencv/issues/16736
2 | No.2 Revision |
It seem like the problem with the OpenCV. Have a look at thisIn this line question.try to change return xfeatures2d::SURF::create();
to return cv::xfeatures2d::SURF::create();
as the code is not defining using namespace cv;
Here is the reliable answer I found from that question. Although it's for python but you can find the similar alternative for the cpp and replace the couple of import and line 68 from estimation_internal.h
.
Since SIFT patent expired, SIFT has been moved to the main repo. To use SIFT in Opencv, You should use cv2.SIFT_create() instead of cv2.xfeatures2d.SIFT_create() now. (xfeatures2d only exists in the contrib package, but sift is part of the main package now.)
Below link will be helpful. https://github.com/opencv/opencv/issues/16736