DIYer22 / calibdiff

A PyTorch-based differential camera calibration library for intrinsic, extrinsic, and stereo camera calibration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

calibdiff

A PyTorch-based differential camera calibration library for intrinsic, extrinsic, and stereo camera calibration.

▮ Install

pip3 install calibdiff

▮ Run Example

This example demonstrates the optimization of stereo camera intrinsic and extrinsic parameters using PyTorch and LoFTR for feature matching.

pip3 install calibdiff

git clone https://github.com/DIYer22/calibdiff

# This will automatically downloads example data to /tmp and do stereo optimize by LoFTR
python calibdiff/calibdiff/stereo_optimize.py

stereo
Stereo camera parameters optimization by LoFTR: left image shows the initial state, right image demonstrates the rectified effect after optimization.

About

A PyTorch-based differential camera calibration library for intrinsic, extrinsic, and stereo camera calibration.


Languages

Language:Python 100.0%