Brute-Force Matching with ORB Descriptors
Hi, I tried to use this Brute-Force Matchng, but i get this error message:
TypeError: Incorrect type of self (must be 'Feature2D' or its derivative)
belov this line kp1, des1 = orb.detectAndCompute(img1,None)
Can you help me with this?
more code (context) needed. the "line above that" is ovioiusly useless, on its own
what is orb, exactly ?
also: opencv version ?
I used the code from the documentation. It is the same just with own pictures. https://docs.opencv.org/3.0-beta/doc/... VERSION 3.3.0-dev
the 3.0-beta code won't run any more, so you cannot be using that.
please use the tutorials from master
I updated it, but it is still the same error.
Ok i used the other solution with SHIFT. Btw thanks for the help on StackO. :D I saw there your answers. :)
I have the same problem.. What is SHIFT? Can you help me? Thanks
@pichy, it will get better, if you spell it correctly -- SIFT
I have now this problem: sift = cv2.SIFT() AttributeError: 'module' object has no attribute 'SIFT' I'm using opencv 3.4.0
@pichy, do all of us a favour, and ask a new question, include your code, the opencv version you're using, how you installed that, etc.
(though most likely it is -- you have a documentation tproblem, and try to use 2.4 code with opencv 3.4 (there's a decade between those)
Yes, I'm using the new version but I not found new documentation. I will search in sample code something..