Feature Matching tutorial issue with Brute Force Matching (Bug #4088)
Description
When trying to run Brute-Force Matching with SIFT Descriptors and Ratio Test in the Feature Matching tutorial, I needed to update ‘sift = cv2.SIFT’ to instead read ‘sift = cv2.xfeatures2d.SIFT_create()”
After making that change and trying to run the example, I get the following error.
img3 = cv2.drawMatchesKnn(img1,kp1,img2,kp2,good,flags=2)
TypeError: Required argument 'outImg' (pos 6) not found
I’m not sure what is needed here instead of ‘flags=2’. Please advise.
Associated revisions
Merge pull request #4088 from howtobeahacker:2.4
History
Updated by Vadim Pisarevsky almost 10 years ago
- Category set to python bindings
- Affected version changed from 2.4.9 (latest release) to branch 'master' (3.0-dev)
Updated by Maksim Shabunin over 9 years ago
Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4892