3D Vision

Camera Calibration

Camera calibration

The following program can be used to estimate the ratio of focal length to pixel size of a camera using a video showing a calibration grid. Note that it is necessary to specify how many corners there are for each dimension as follows:

ruby calibration.rb 'calibration.avi' 8 5

The program for camera calibration can be downloaded here: calibration.rb

See Also