Tim M 57b5cefde5 Updated all `.md` files to contain newest image %!s(int64=2) %!d(string=hai) anos
..
images 9b5b2da36c Add files via upload %!s(int64=4) %!d(string=hai) anos
CMakeLists.txt 9b5b2da36c Add files via upload %!s(int64=4) %!d(string=hai) anos
README.md 57b5cefde5 Updated all `.md` files to contain newest image %!s(int64=2) %!d(string=hai) anos
Undistort.cpp 9b5b2da36c Add files via upload %!s(int64=4) %!d(string=hai) anos
Undistort.py 9b5b2da36c Add files via upload %!s(int64=4) %!d(string=hai) anos

README.md

Understanding Lens Distortion

This repository contains code for Understanding Lens Distortion blogpost.

download

Understanding lens distortion using OpenCV.

Using the C++ code

Compilation

To compile the Undistort.cpp code file, 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 file:

./build/Undistort

Using the python code

Refer to the following to use the Undistort.py file:

python3 Undistort.py

AI Courses by OpenCV

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