I've built kalibr following the instructions listed on wiki pages and the catkin message indicates the build is successful.
The problem occurs when I was attempting to bootstrap kalibr_camera_focus. It doesn't function properly unfortunately. The error message shows that the opencv module is not correctly imported into python. To fix this, I comment out the import cv and replace cv.destroyAllWindows with cv2.cv.destroyAllWindoes. Now, it can bootstrap but the opencv throws some assertions:
OpenCV Error: Assertion failed (type == CV_32FC1 || type == CV_32FC2 || type == CV_64FC1 || type == CV_64FC2) in dft, file /build/opencv-L2vuMj/opencv-3.2.0+dfsg/modules/core/src/dxt.cpp, line 3343
How to fix this problem?
BTW, the kalibr_camera_validator functions properly, so do other modules.
I've built
kalibr
following the instructions listed on wiki pages and the catkin message indicates the build is successful.The problem occurs when I was attempting to bootstrap
kalibr_camera_focus
. It doesn't function properly unfortunately. The error message shows that the opencv module is not correctly imported into python. To fix this, I comment out theimport cv
and replacecv.destroyAllWindows
withcv2.cv.destroyAllWindoes
. Now, it can bootstrap but the opencv throws some assertions:OpenCV Error: Assertion failed (type == CV_32FC1 || type == CV_32FC2 || type == CV_64FC1 || type == CV_64FC2) in dft, file /build/opencv-L2vuMj/opencv-3.2.0+dfsg/modules/core/src/dxt.cpp, line 3343
How to fix this problem?
BTW, the
kalibr_camera_validator
functions properly, so do other modules.