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

a few errors in feature matching articles #7

Closed
iDevy opened this issue Nov 21, 2013 · 6 comments
Closed

a few errors in feature matching articles #7

iDevy opened this issue Nov 21, 2013 · 6 comments

Comments

@iDevy
Copy link

iDevy commented Nov 21, 2013

Hello, just tried your tutorial on python openCV (doing stuff on pattern matching, and your articles are great!), yet met a few errors:

a call to cv2.LINE_AA causes an error - no-module-blah-blah… after digging a little around cv2, found that it should be cv2.CV_AA.

Next culprit is img3 = cv2.drawMatches(img1,kp1,img2,kp2,good,None,**draw_params) which returns module object has no attribute 'drawMatches' and theres no drawMatches method in dir(cv2)... couldnot resolve this one and google is of little help here.

using cv2 version 2.4.7
installed via macports and pip
osx

@abidrahmank
Copy link
Owner

Please use OpenCV 3.x.. Those tutorials are not meant to be used with
OpenCV 2.x.

Abid K.

On Fri, Nov 22, 2013 at 12:01 AM, iDevy notifications@github.com wrote:

Hello, just tried your tutorial on python openCV (doing stuff on pattern
matching, and your articles are great!), yet met a few errors:

a call to cv2.LINE_AA causes an error - no-module-blah-blah… after
digging a little around cv2, found that it should be cv2.CV_AA.

Next culprit is img3 =
cv2.drawMatches(img1,kp1,img2,kp2,good,None,**draw_params) which returns module
object has no attribute 'drawMatches' and theres no drawMatches method in
dir(cv2)... couldnot resolve this one and google is of little help here.

using cv2 version 2.4.7
installed via macports and pip
osx


Reply to this email directly or view it on GitHubhttps://github.com//issues/7
.

@iDevy
Copy link
Author

iDevy commented Nov 21, 2013

3.0 is it even released? can't find it anywhere...

@abidrahmank
Copy link
Owner

You have to compile the source with master branch... download it from github.

@iDevy
Copy link
Author

iDevy commented Nov 26, 2013

Thanks! I think this issue can be closed then.

@iDevy iDevy closed this as completed Nov 26, 2013
@mtmarsh2
Copy link

abidrahmank could you give me a quick walkthrough of how to compile the source from the master branch? I downloaded the 3.0 code but I'm not sure what to do next

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