problem with Feature Matching python tutorial (Bug #4086)


Added by Fred Perkins about 10 years ago. Updated about 10 years ago.


Status:Cancelled Start date:2014-12-27
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Affected version:2.4.9 (latest release) Operating System:Mac OSX
Difficulty: HW Platform:x64
Pull request:

Description

Using python for the Feature Matching tutorial at http://docs.opencv.org/trunk/doc/py_tutorials/py_feature2d/py_matcher/py_matcher.html#matcher, I got an error when trying to run the example. The error reads:

img3 = cv2.drawMatchesKnn(img1,kp1,img2,kp2,matches,None,**draw_params)
AttributeError: 'module' object has no attribute 'drawMatchesKnn'

cv2 does not seem to contain the needed method drawMatchesKnn.

I am using OpenCV 2.4.9. Perhaps an upgrade to 3.0 is needed. Please advise.

Thanks.


Associated revisions

Revision 6ead9998
Added by Vadim Pisarevsky about 9 years ago

Merge pull request #4086 from IgnasD:cameraMat_five-point

History

Updated by abid rahman about 10 years ago

You need OpenCV 3.0 for that. Please try with OpenCV 3.0

Updated by abid rahman about 10 years ago

  • Status changed from New to Cancelled

Also available in: Atom PDF