Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to calibrate camera using chessboard

📅 2014-Sep-01 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ camera calibration, chessboard, opencv ⬩ 📚 Archive

Whether you are using a RGB or a depth camera in your setup, you will first need to calibrate it to be able to undistort the resulting image and to obtain 3D coordinates of depth values. These are the steps I follow to do this:

$ ./calibrate-camera config.xml

The output will be written to output.xml. This file can be used as input in your OpenCV program to reconstruct the data from your captured images.


Tried with: OpenCV 2.4.9 and Ubuntu 14.04

© 2023 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 Mastodon📧 Email