/camera-calibration

An example of camera calibration using direct linear transformation (DLT)

Primary LanguageJupyter Notebook

Camera Calibration using DLT

An example of camera calibration using direct linear transformation (DLT).

The initial DLT estimate is updated with geometric error minimization using non-linear optimization.

For a written explanation of DLT and the code, see N. Krishna's original blog post.

pinhole camera model

TODOs

  • calibration/geometry.py
  • calibration/losses.py
  • calibration/projection.py
  • camera-calibration.ipynb

Setup

git clone https://github.com/DiTo97/camera-calibration.git
cd camera-calibration
python -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements.txt

Then, just play with camera-calibration.ipynb on Jupyter.