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

cv::KeyPoint is not a member of 'cv' #7

Closed
highlightz opened this issue May 9, 2016 · 6 comments
Closed

cv::KeyPoint is not a member of 'cv' #7

highlightz opened this issue May 9, 2016 · 6 comments

Comments

@highlightz
Copy link

highlightz commented May 9, 2016

My system is Ubuntu 14.04 64bit. My OpenCV version is 2.4.9. Initially, the error is something like "in file BRIEF.cpp: No such file opencv2/imgproc.hpp", and I modify the include to "opencv2/imgproc/imgproc.hpp", which is the real condition in my system. Then, comes the error as "cv::KeyPoint is not a member of 'cv'". Could anybody tells me why this has happened?

@dorian3d
Copy link
Owner

dorian3d commented May 10, 2016

Is this happening to the last version committed on May 1?

The last version requires OpenCV 3. Changing the includes is easy, but you may find other issues later.
Try changing

#include <opencv2/imgproc.hpp>

for

#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/features2d/features2d.hpp>

@ac4fun
Copy link

ac4fun commented May 16, 2016

@dorian3d OK, thank you very much~

@ac4fun
Copy link

ac4fun commented May 16, 2016

@dorian3d Sorry, but could you please help me with this problem? It may be some thing happeded with DBoW?
Kintinuous

@dorian3d
Copy link
Owner

For those experiencing this issue, you can try to get the previous version of DLib and DBoW2, which is release 1.0:
https://github.com/dorian3d/DLib/releases/tag/v1.0
https://github.com/dorian3d/DBoW2/releases/tag/v1.0
https://github.com/dorian3d/DLoopDetector/releases/tag/v1.0

@DuinoDu
Copy link

DuinoDu commented May 30, 2016

You can also use the newest opencv version from github.

@cocosci
Copy link

cocosci commented Aug 17, 2016

But then how to install DBoW2? Would it be better if you add those commands in that README file?

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

No branches or pull requests

5 participants