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

Any plans to support OpenCV > 3 #22

Open
mobcdi opened this issue Jun 12, 2016 · 2 comments
Open

Any plans to support OpenCV > 3 #22

mobcdi opened this issue Jun 12, 2016 · 2 comments

Comments

@mobcdi
Copy link

mobcdi commented Jun 12, 2016

As opencv is now available at 3.1, are there any plans to upgrade CMT to work with 3.1
If not is there a particular sweet spot of OpenCV 3 that you found works ?

@AloshkaD
Copy link

AloshkaD commented Mar 6, 2017

Check out this repository , it has cv2 v3 support
https://github.com/toinsson/CMT

All what you have to do is this

if cv2.__version__ < 3.0:
	self.detector = cv2.FeatureDetector_create(self.DETECTOR)
	self.descriptor = cv2.DescriptorExtractor_create(self.DESCRIPTOR)
	self.matcher = cv2.DescriptorMatcher_create(self.MATCHER)
	#else:
	self.detector = cv2.BRISK_create()
	self.descriptor = self.detector
	self.matcher = cv2.BFMatcher(cv2.NORM_HAMMING)

@malvikabadri
Copy link

How to use SIFT and SURF detectors in opencv3? I know that they have been moved to opencv contrib directory. However, I am not sure where all to change the code. (I change the detector creation part alone but on running I get multiple errors)

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

3 participants