Difference between revisions of "Camera Calibration Targets"

From BoofCV
Jump to navigationJump to search
m
m
Line 1: Line 1:
== Creating Your Own ==
== 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:
BoofCV provides an application for generating your own custom calibration target. It allows you to specify which pattern you wish to use, the paper, and other specifications. A command line interface as well as a graphics interface are provided. The graphical interface gives you live preview as you adjust settings.
 
* [https://youtu.be/qMTtdiujAtQ?t=559 Video demonstration of command-line]
* [https://youtu.be/TGg-xgTyaU8?t=604 Video demonstration of GUI Application]
* [[Applications#Create_Calibration_Fiducials|Instructions for installing pre-built application]]
* Below are instructions for building it yourself from BoofCV's source code
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
cd boofcv
cd boofcv
Line 8: Line 13:
</syntaxhighlight>
</syntaxhighlight>


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.
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 command line has.


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
Line 14: Line 19:
</syntaxhighlight>
</syntaxhighlight>


* [https://youtu.be/qMTtdiujAtQ?t=559 Video demonstration of command-line]
* [https://youtu.be/TGg-xgTyaU8?t=604 Video demonstration of GUI Application]


== Downloadable Targets ==
== Downloadable Targets ==

Revision as of 16:28, 10 November 2018

Creating Your Own

BoofCV provides an application for generating your own custom calibration target. It allows you to specify which pattern you wish to use, the paper, and other specifications. A command line interface as well as a graphics interface are provided. The graphical interface gives you live preview as you adjust settings.

cd boofcv
./gradlew applicationsJar
java -jar applications/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 command line has.

java -jar applications/applications.jar CreateCalibrationTarget --GUI


Downloadable Targets

Printable Calibration Targets: US Standard Paper
Link Target Type Paper Size Shape Square/Circle Size
Calibration letter chessboard 7x5.png Chessboard Letter 7 by 5 3cm
Calibration letter squaregrid 5x4.png Square Grid Letter 5 by 4 w=3cm s=2cm
link=http://boofcv.org/notwiki/calibration/letter_circlehex.pdf Link Circle Hexagonal Grid Letter 20 by 24 diam=1cm, d=1.5cm
link=http://boofcv.org/notwiki/calibration/letter_circlegrid.pdf Link Circle Regular Grid Letter 17 by 12 diam=1cm, d=1.5cm
Printable Calibration Targets: Metric
Link Target Type Paper Size Shape Square/Circle Size
Calibration A4 chessboard 9x6.png Chessboard A4 9 by 6 3cm
Calibration A4 squaregrid.png Square Grid A4 6 by 4 w=3cm s=1.5cm
link=http://boofcv.org/notwiki/calibration/A4_circlehex.pdf Link Circle Hexagonal Grid A4 20 by 24 diam=1cm, d=1.5cm
link=http://boofcv.org/notwiki/calibration/A4_circlegrid.pdf Link Circle Regular Grid A4 18 by 12 diam=1cm, d=1.5cm
  • Shape for chessboard includes black and white squares
  • Shape for square grid is only the black squares


WHEN PRINTING CALIBRATION TARGETS MAKE SURE YOUR PRINTER DOES NOT RESCALE THE DOCUMENTS!
After printing use a ruler to make sure it's the correct size