Calibrate Camera Error


#1

When I run calibrate.py. I am getting this error
Performing calibration…
Traceback (most recent call last): File “/home/pi/video2calibration/calibrate.py”,
line 91, in rms, camera_matrix, dist_coefs, rvecs, tvecs = cv2.calibrateCamera(obj_points, img_points, (w, h), None, None)
cv2.error: OpenCV(4.7.0) /io/opencv/modules/calib3d/src/calibration.cpp:3749: error: (-215:Assertion failed) nimages > 0 in function ‘calibrateCameraRO’


closed #2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.