Skip to content
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

样例报错 #23

Open
Crazy-Kyle opened this issue Jan 19, 2025 · 0 comments
Open

样例报错 #23

Crazy-Kyle opened this issue Jan 19, 2025 · 0 comments

Comments

@Crazy-Kyle
Copy link

python.exe D:\github\CameraCalibration\IntrinsicCalibration\intrinsicCalib.py -input image -path ./data/ -image img_raw -bw 7 -bh 6
./data/img_raw0.jpg
./data/img_raw1.jpg
./data/img_raw2.jpg
./data/img_raw3.jpg
./data/img_raw4.jpg
Traceback (most recent call last):
File "D:\github\CameraCalibration\IntrinsicCalibration\intrinsicCalib.py", line 417, in
main()
File "D:\github\CameraCalibration\IntrinsicCalibration\intrinsicCalib.py", line 402, in main
result = calib()
File "D:\github\CameraCalibration\IntrinsicCalibration\intrinsicCalib.py", line 385, in call
result = self.imageAutoMode()
File "D:\github\CameraCalibration\IntrinsicCalibration\intrinsicCalib.py", line 266, in imageAutoMode
result = self.runCalib(raw_frame)
File "D:\github\CameraCalibration\IntrinsicCalibration\intrinsicCalib.py", line 249, in runCalib
result = calibrator(raw_frame)
File "D:\github\CameraCalibration\IntrinsicCalibration\intrinsicCalib.py", line 207, in call
result = self.calibrate(raw_frame)
File "D:\github\CameraCalibration\IntrinsicCalibration\intrinsicCalib.py", line 199, in calibrate
self.camera.update(self.corners, img.shape[1::-1])
File "D:\github\CameraCalibration\IntrinsicCalibration\intrinsicCalib.py", line 55, in update
self._update_init(board, corners, frame_size)
File "D:\github\CameraCalibration\IntrinsicCalibration\intrinsicCalib.py", line 70, in _update_init
criteria=(cv2.TERM_CRITERIA_EPS + cv2.TERM_CRITERIA_COUNT, 30, 1e-6))
cv2.error: OpenCV(4.10.0) D:\a\opencv-python\opencv-python\opencv\modules\calib3d\src\fisheye.cpp:1453: error: (-215:Assertion failed) fabs(norm_u1) > 0 in function 'cv::internal::InitExtrinsics'

Process finished with exit code 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant