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 ReleaseRefer to the following to use the compiled files:
./build/cameraCalibration
./build/cameraCalibrationWithUndistortionRefer to the following to use the cameraCalibration.py and cameraCalibrationWithUndistortion.py files respectively:
python3 cameraCalibration.py
python3 cameraCalibrationWithUndistortion.pyWant to become an expert in AI? AI Courses by OpenCV is a great place to start.
