CMT icon indicating copy to clipboard operation
CMT copied to clipboard

Any plans to support OpenCV > 3

Open mobcdi opened this issue 8 years ago • 2 comments

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 ?

mobcdi avatar Jun 12 '16 10:06 mobcdi

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)

AloshkaD avatar Mar 06 '17 06:03 AloshkaD

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)

malvikabadri avatar Feb 20 '18 12:02 malvikabadri