How to use camera calibration with ubuntu 14.04?
I use ubuntu 14.04 and ROS Indigo. I try to run lsd_slam using image list. It requires a calibration file. So, I try to create a calibration file using rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.108 image:=/my_camera/image camera:=/my_camera
command in ubuntu terminal.
It throws an error :
File "/opt/ros/indigo/lib/camera_calibration/cameracalibrator.py", line 47, in <module>
import cv2
ImportError: libopencv_nonfree.so.2.4: cannot open shared object file: No such file or directory
How can I solve it?
This is a problem caused by the migration of some non-free features from OpenCV to external packages. I cannot recall what I did exactly to solve this but you should check in the OpenCV forums. It happened to me with a SURF feature detector.
I reinstall opencv includes c++, python. It works now.