-
Notifications
You must be signed in to change notification settings - Fork 252
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
Perspective transform raises error #11
Comments
Hi @ChargedMonk, can you please attach your two images here so I can debug? |
@ChargedMonk I can't exactly reproduce your error, but I have an idea of what is happening. Probably very few keypoints are generated for your images. When I run the matching script with your images on my computer, I only generate 9 keypoints, which is enough to generate a homography. However, possibly on your machine, there are fewer than 4 keypoints generated. When you run |
I also realize you must have reduced the value of I'm going to close this issue because it's not an issue with the actual code -- it's just that not enough keypoints are generated for your particular images. |
I got the following error while matching two images.
OpenCV(4.1.2) /io/opencv/modules/core/src/matmul.dispatch.cpp:531: error: (-215:Assertion failed) scn + 1 == m.cols in function 'perspectiveTransform'
The text was updated successfully, but these errors were encountered: