This repository contains the code for Camera Calibration Using Opencv blog post.
Calibrate your camera using OpenCV.
To compile the cameraCalibration.cpp
and cameraCalibrationWithUndistortion.cpp
code files, use the following:
mkdir build
cd build
cmake ..
cmake --build . --config Release
Refer to the following to use the compiled files:
./build/cameraCalibration
./build/cameraCalibrationWithUndistortion
Refer to the following to use the cameraCalibration.py
and cameraCalibrationWithUndistortion.py
files respectively:
python3 cameraCalibration.py
python3 cameraCalibrationWithUndistortion.py
Want to become an expert in AI? AI Courses by OpenCV is a great place to start.