Classes - Beard

You are here: start » robot_soccer » 2015 » opencv





Helpful Tutorials

Camera Calibration

Calibrating and Undistoriting with OpenCV

Attached below is some source code to get you started. It's actually a plain text file and not a zip, so remove the .zip extension.
For this you'll need a checkerboard pattern, a camera (or video file), and a hard, portable surface.
This program needs the width and height in corners of the checkerboard and then it will take however many pictures you tell it to take. (You press space to take them.)
It then should create the intrinsic and distortion matrices to undistort images and coordinates for later use. You'll have to extract those values yourself.

Important Tips

  • All cameras have some level of distortion and need callibration
  • HSV and HSI tend to be more useful in color segmentation than RGB