系统信息(版本)
OpenCV => 3.2
Operating System / Platform => Linux / Ubuntu 15.04
Compiler => Python 3.4.3 (default, Mar 26 2015, 22:03:40) [GCC 4.9.2] on linux
当我尝试以下
时ret, mtx, dist, rvecs, tvecs = cv2.fisheye.calibrate(object_points, image_points, gray.shape[::-1],None,None)
我收到了下一个错误
OpenCV Error: Assertion failed (objectPoints.type() == CV_32FC3 || objectPoints.type() == CV_64FC3) in calibrate, file /home/angelluis/Descargas/opencv-3.2.0/modules/calib3d/src/fisheye.cpp, line 726
Traceback (most recent call last):
File "calibrate.py", line 59, in <module>
ret, mtx, dist, rvecs, tvecs = cv2.fisheye.calibrate(object_points, image_points, gray.shape[::-1],None,None)
cv2.error: /home/angelluis/Descargas/opencv-3.2.0/modules/calib3d/src/fisheye.cpp:726: error: (-215) objectPoints.type() == CV_32FC3 || objectPoints.type() == CV_64FC3 in function calibrate
我知道此错误发生在前一段时间:https://github.com/opencv/opencv/issues/5534但我认为它已修复(https://github.com/opencv/opencv/pull/6454)此外,当我尝试https://github.com/opencv/opencv/issues/5534中解释的解决方法时,它没有&# 39;工作
如何从python运行鱼眼校准? (我不想使用任何额外的官方python包装器)
由于