Tim M 57b5cefde5 Updated all `.md` files to contain newest image il y a 2 ans
..
images 8ad043fd6e Add files via upload il y a 5 ans
CMakeLists.txt 303502a050 Update CMakeLists.txt il y a 4 ans
README.md 57b5cefde5 Updated all `.md` files to contain newest image il y a 2 ans
cameraCalibration.cpp 959609e47a OpenCV 4.0 compatibility fixes. il y a 4 ans
cameraCalibration.py b7aa45a790 Changed the image file path il y a 5 ans
cameraCalibrationWithUndistortion.cpp 77c1e72541 Rename cameraCalibrationWithUnistortion.cpp to cameraCalibrationWithUndistortion.cpp il y a 4 ans
cameraCalibrationWithUndistortion.py 2fbdbaed7f Rename cameraCalibrationWithUnistortion.py to cameraCalibrationWithUndistortion.py il y a 4 ans

README.md

Camera Calibration Using OpenCV

This repository contains the code for Camera Calibration Using Opencv blog post.

download

Calibrate your camera using OpenCV.

Using the C++ code

Compilation

To compile the cameraCalibration.cpp and cameraCalibrationWithUndistortion.cpp code files, use the following:

mkdir build
cd build
cmake ..
cmake --build . --config Release

Usage

Using the C++ code

Refer to the following to use the compiled files:

./build/cameraCalibration
./build/cameraCalibrationWithUndistortion

Using the python code

Refer to the following to use the cameraCalibration.py and cameraCalibrationWithUndistortion.py files respectively:

python3 cameraCalibration.py
python3 cameraCalibrationWithUndistortion.py

AI Courses by OpenCV

Want to become an expert in AI? AI Courses by OpenCV is a great place to start.