docs.rs failed to build camera-intrinsic-calibration-0.8.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
camera-intrinsic-calibration-0.7.2
camera-intrinsic-calibration
A pure rust camera intrinsic calibration tool.
Installation
# cargo install cli
# Or pip install cli
Or download from the latest release.
CLI Usage
# camera-calibration-rs
# run intrinsic calibration on TUM vi dataset
# Download and untar
# [Optional] export RUST_LOG=trace
Visualize details after calibration
# use cargo to install rerun
# or use pip to install rerun
# visualize result
Supported formats
Dataset format
- Euroc (default)
dataset_root └── mav0 ├── cam0 │ └── data │ ├── {time_stamp}.png │ ├── {time_stamp}.png │ └── {time_stamp}.png └── cam1 └── data ├── {time_stamp}.png ├── {time_stamp}.png └── {time_stamp}.png
- General
--dataset-format general
Images can be eitherdataset_root ├── cam0 │ ├── any_file_name.png │ ├── any_file_name.png │ └── any_file_name.png └── cam1 ├── any_file_name.png ├── any_file_name.png └── any_file_name.png
.png
or.jpg
, but.png
is preferred if possible. PNG is lossless compression, while JPG is not.
Camera models
- Extended Unified (EUCM)
- Extended Unified with Tangential (EUCMT)
- Unified Camera Model (UCM)
- Kannala Brandt (KB4) aka OpenCV Fisheye
- OpenCV (OPENCV5) aka
plumb_bob
in ROS - F-theta (FTHETA) by NVidia
Examples
Calibrate your own camera
Please follow the tutorial.
Acknowledgements
Links:
- https://cvg.cit.tum.de/data/datasets/visual-inertial-dataset
- https://github.com/itt-ustutt/num-dual
- https://github.com/sarah-quinones/faer-rs
Papers:
- Kukelova, Zuzana, et al. "Radial distortion homography." Proceedings of the IEEE conference on computer vision and pattern recognition. 2015.
TODO
- Multi-camera extrinsic
- More calibration info