Camera calibration-ros comes with function package

Install the function package required for calibration

Terminal input

sudo apt-get install ros-kinetic-camera-calibration

Start the camera to start the calibration package

roslaunch robot_vision usb_cam.launch


rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.024 image:=/usb_cam/image_raw camera:=/usb_cam

Parameters: 8x6, that is, the number of intersection points of the checkerboard is 0.024, which is the width of the checkerboard.
Insert picture description here
When CALIBRATE turns green, the calibration is completed. Click the green button and wait for a while.
Insert picture description here
When all three buttons are green, return to the terminal to see the camera parameters.

Click SAVE to save the file.

Published 29 original articles · Likes0 · Visits 495

Guess you like

Origin blog.csdn.net/qq_43771959/article/details/104309510