datlife / jetson-car

Autonomous Racing Car using NVIDIA Jetson TX2 using end-to-end driving approach. Paper: https://arxiv.org/abs/1604.07316
180 stars 51 forks source link

Need camera calibration for Logitech C920 #3

Open datlife opened 7 years ago

datlife commented 7 years ago

Found it.

So we need to have a find a distortion coefficients to calibrate the webcam. There are few types of distortion such as radial distortion, tangential distortion.

Here are the two formulas to calculate the calibrated pixel in 2D

distortioncalculation radial diostortion tangential_distortion
datlife commented 7 years ago

ROS provide a wonderful tool for camera calibration

http://wiki.ros.org/camera_calibration/Tutorials/StereoCalibration

$ rosdep install camera_calibration
$ rosmake camera_calibration
monajalal commented 6 years ago

you might find my answer here useful https://robotics.stackexchange.com/a/16177/16739