Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unabled to use SIFT feature with opencv 4.5.4 #1552

Closed
cleprt opened this issue Jan 21, 2025 · 2 comments
Closed

Unabled to use SIFT feature with opencv 4.5.4 #1552

cleprt opened this issue Jan 21, 2025 · 2 comments
Labels

Comments

@cleprt
Copy link

cleprt commented Jan 21, 2025

I am using visp on Ubuntu 22 with opencv 4.5.4 (installed via apt libopencv-dev).

The use of vpKeyPoint::initDetector(const std::string &detectorName) with "SIFT" fails in the new master branch while it worked for me on the commit 70ddb40 with the same opencv version.

I feel like the line https://github.com/lagadic/visp/blob/master/modules/vision/src/key-point/vpKeyPoint.cpp#L1784 does not take all cases in consideration as with opencv 4.5.4 I do have the file opencv2/features2d/features2d.hpp (which means def of HAVE_OPENCV_FEATURES) and not xfeatures2d.hpp.

@fspindle fspindle added the bug label Jan 21, 2025
@fspindle
Copy link
Contributor

This issue is to make in relation to PR #1522 that introduced compat with OpenCV 5.x.

fspindle added a commit to fspindle/visp that referenced this issue Jan 22, 2025
@fspindle
Copy link
Contributor

@cleprt Should be fixed in PR #1555

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants