-
Notifications
You must be signed in to change notification settings - Fork 599
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
[Python] rectifyPoint is broken since OpenCV 2 Python API change #62
Comments
I noticed I can get past this specific error if I comment out line 102, but then I face another error:
Notice this error is inside |
Also, since the function signature (opencv 2) has changed to: |
The |
found the solution! Will submit pull request soon. |
fixes #62, bug in Python rectifyPoint old opencv1 API
Just realized the Python
rectifyPoint()
method (inPinholeCameraModel
insideimage_geometry
package) is broken, probably since the OpenCV 2 Python API change in this commit.It seems the
cv2.undistortPoints()
function in Python (OpenCV 2 API) behaves differently than in OpenCV 1 (they don't document it apparently). Possible solution: the input argumentsrc
has to be a 3d array (?).Just uncomment this line in the test and run it, and you will see it crash and give this error:
The text was updated successfully, but these errors were encountered: