-
Notifications
You must be signed in to change notification settings - Fork 67
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
(-5:Bad argument) in function 'calibrateCamera' #18
Comments
same problem, I uninstall opencv-python and reinstall opencv-contrib-python , solved this issue. my final version: opencv-contrib-python 4.5.5.64 |
Same problem here. Using opencv-contrib-python 4.5.5.64 doesn’t help. Do you have other ideas for this problem? Thanks. |
This issue origins from the type checker, of which OpenCV has been updated from a specific version(sorry I am not sure). Quick solution you may change as below(in camera.py):
This is not a good idea, but works for quick turns. |
I'm going through the same problem trying to calibrate 4 cameras. The problem seems to happen in the I'm still trying a few solutions and if something works I'll bring it here. |
Commenting the line that calls |
adding |
when I run calibrate.py, it shows:
`points.corners, image_size, None, None, criteria=criteria, flags=flags)
cv2.error: OpenCV(4.5.5) 👎 error: (-5:Bad argument) in function 'calibrateCamera'
when I run
print(np.array(points.object_points).shape
it shows:
(12,114,3)
The text was updated successfully, but these errors were encountered: