A PyTorch-based differential camera calibration library for intrinsic, extrinsic, and stereo camera calibration.
pip3 install calibdiff
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 camera parameters optimization by LoFTR: left image shows the initial state, right image demonstrates the rectified effect after optimization.