Difference between revisions of "Camera Calibration Targets"
m |
|||
Line 3: | Line 3: | ||
BoofCV provides an application for generating your own custom calibration target. You can size the pattern for your specific application on any sized paper. First you need to build the applications, see below: | BoofCV provides an application for generating your own custom calibration target. You can size the pattern for your specific application on any sized paper. First you need to build the applications, see below: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
cd boofcv/ | cd boofcv | ||
./gradlew applicationsJar | |||
java -jar applications.jar CreateCalibrationTarget | java -jar demonstrations/applications.jar CreateCalibrationTarget | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 11: | Line 11: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
java -jar applications.jar CreateCalibrationTarget --GUI | java -jar demonstrations/applications.jar CreateCalibrationTarget --GUI | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 16:48, 20 January 2018
Creating Your Own
BoofCV provides an application for generating your own custom calibration target. You can size the pattern for your specific application on any sized paper. First you need to build the applications, see below:
cd boofcv
./gradlew applicationsJar
java -jar demonstrations/applications.jar CreateCalibrationTarget
The last line above will run the application with no arguments. This will print out up to date instructions. At the end of the instructions are examples for each target type on letter sized paper. If you wish to have a GUI when creating your calibration target add the --GUI flag. The GUI doesn't have all the options which the commandline has.
java -jar demonstrations/applications.jar CreateCalibrationTarget --GUI
Downloadable Targets
- Shape for chessboard includes black and white squares
- Shape for square grid is only the black squares
WHEN PRINTING THE CALIBRATION GRID MAKE SURE YOUR PRINTER DOES NOT RESCALE THE DOCUMENTS!
Failure to do so will cause intrinsic parameters to be off by a scale-factor.
Measure with a ruler to make sure each square is 30mm wide