Ask Your Question

Revision history [back]

python cv2 stereoCalibrate

Greetings,
When trying to use the python function cv2.stereCalibrate() I am receiving an "Assertion error -215".
I am able to get a successful monocular calibration with cv2.cameraCalibrate().

The traceback is as follows:
cv2.error: OpenCV(3.4.3) /Users/travis/build/skvark/opencv-python/opencv/modules/calib3d/src/calibration.cpp:3136: error: (-215:Assertion failed) nimages > 0 && nimages == (int)imagePoints1.total() && (!imgPtMat2 || nimages == (int)imagePoints2.total()) in function 'collectCalibrationData'

Has anyone found a workaround to this ?

Thanks,
wildwallaby