Skip to main content

OpenMVIS

OpenMVIS: open-source multi-visual-inertial sensor calibration

PyPI Python License: GPL-3.0-only DOI Tests Docs

Open-source Multi-Visual-Inertial Sensor calibration. A Python toolbox for camera and camera-IMU calibration, from a single camera to multi-camera, multi-IMU rigs. OpenMVIS is the project, MVIS is the calibration toolbox, and pymvis is its Python package (import and CLI mvis).

openmvis.com (documentation) · PyPI · Calibench-VI datasets · results on real recordings

What OpenMVIS does

  • Camera calibration of one or many cameras: intrinsics, distortion, extrinsics, camera-camera time offsets and rolling-shutter readout, solved jointly on a GTSAM factor graph with analytical Jacobians, Huber loss and an outlier-driven second pass with a guardrail against pathological basins. No field-of-view overlap is needed between cameras. Guide
  • Camera-IMU calibration of single or multi cam/IMU rigs: camera-IMU extrinsics, time offsets, readout, camera intrinsics, IMU intrinsics (kalibr, rpng or calyx model, Dw/Da, optional Tg), biases and the base IMU's gyro-accel time offset t_ga. Aux IMUs can be solved from their gyro alone. One config calibrates a whole family of recordings (input.bags). Guide · multi-sensor rigs
  • Eight camera models, mixed freely within one rig and available in both modes: radtan, equidistant, kb4 (Kannala-Brandt, valid past 90 deg), fov, double_sphere, eucm, ucm, omni_radtan (experimental). Camera model
  • Rolling shutter: readout time per camera, for one camera or jointly in a multi-camera rig. Guide
  • Apply and verify: mvis apply-calib writes a calibration-corrected copy of a bag (IMU intrinsics and biases removed, every stream on the base-IMU timeline, t_ga corrected); mvis roundtrip calibrates, corrects and recalibrates and reports PASS/FAIL. Guide
  • Inputs: image folders, timestamped images, ROS1 and ROS2 bags (no ROS install), EuRoC/ASL folders; AprilGrid, chessboard, ArUco and ChArUco boards; Kalibr camchain read and write; streaming detection, so memory does not grow with the recording. Configuration
  • Outputs: YAML calibrations, JSON results, self-contained HTML reports (reprojection analysis, motion excitation, detection statistics, timing) and an optional Rerun 3D view. Result formats
  • Datasets: mvis datasets lists, downloads and verifies the Calibench-VI recordings on Hugging Face. Datasets
  • Pure Python: pip install, no C++ build or ROS workspace. Linux and macOS, Python 3.11 and 3.12 (GTSAM ships no wheels below cp311; numpy<2 has no 3.13 wheel). Windows: tentative; it has run there, but GTSAM ships no Windows wheels on PyPI, so install steps aren't written up yet. Requirements

The validation behind these claims is on openmvis.com and in doc/.

MVIS vs Kalibr vs Basalt

Capability MVIS Kalibr Basalt
Camera intrinsics + distortion ✅ ✅ ✅
Distortion models radtan, kb4, equidistant, FOV, DS, EUCM, UCM, omni_radtan (experimental) radtan, equidistant, FOV, omni, omni-radtan, DS, EUCM radtan, KB4, DS, EUCM, UCM
Different models in one rig ✅ ✅ ✅
Camera–IMU extrinsics + time offset ✅ ✅ ✅
Multiple IMUs in one solve ✅ ✅ ✖ one IMU per run
Gyro-only mode per auxiliary IMU ✅ ✖ ✖
IMU intrinsics (scale, misalignment) ✅ three conventions (kalibr, rpng, calyx) ✅ ✅ scale + misalignment
G-sensitivity Tg ✅ ✅ ✖
Gyro–accel offset t_ga ✅ on by default ✖ ✖
Board shape (one height per corner) ✅ estimate.board_points ✖ flat board ✖ flat board
KB4-type polynomial past 90° ✅ kb4, what fisheye means ✖ pinhole-equi needs rays in front of the camera ✅ KB4
Rolling-shutter readout ✅ in camera and camera–IMU solves camera-only, separate tool ✖
Global + rolling shutter + IMUs in one solve ✅ readout per camera ✖ ✖
Corrected-dataset export ✅ apply-calib ✖ ✖
Digital-twin simulation ✅ mvis.simulation ✖ ✖
Round-trip PASS/FAIL validation ✅ roundtrip ✖ ✖
Batch sweep over a dataset family ✅ input.bags ✖ ✖
Dataset download + check ✅ mvis datasets ✖ ✖
Trajectory model discrete factor graph continuous-time B-spline continuous-time B-spline
Boards AprilGrid, chessboard, ArUco, ChArUco AprilGrid, chessboard, circles AprilGrid
Input ROS1/ROS2 bag, EuRoC, image folders ROS bag ROS bag, EuRoC
Runs without ROS ✅ pure Python ✖ ✅ C++ build, no ROS
Platforms Linux, macOS, Windows (tentative) (Python 3.11–3.12) Linux (ROS 1, or Docker) Linux, macOS
Kalibr interop ✅ read + write camchain, read AprilGrid targets native ✖

How each tool works:

MVIS Kalibr Basalt
Optimizer GTSAM factor graph (LM) Custom aslam_optimizer Custom LM + Gauss-Newton
Trajectory Per-frame pose + SLERP B-spline (order 6) B-spline SE(3) (order 5)
Outlier rejection Two passes: P99, then a warm-start rerun One pass, Blake-Zisserman One pass, Huber
Output files YAML + HTML report YAML + TXT + PDF JSON (cereal)

Measured side by side on the same public recordings, every parameter as median ± sd across recordings: openmvis.com/benchmark/results. The design comparison is on Comparison vs Kalibr / Basalt. Kalibr and Basalt are only called as external programs for those comparisons; neither is distributed with MVIS.

Get started

Python 3.11 or 3.12, on Linux or macOS (Windows tentative):

pip install "pymvis[apriltag,ros1]"      # AprilGrid boards + ROS1 bag input
mvis check --env --smoke                 # verify the install

Optional extras: apriltag (AprilGrid), aruco (opencv-contrib), ros1 (ROS1 bags, no ROS needed), mcap (MCAP episodes), viz (Rerun viewer), dev (pytest). For development, clone and pip install -e ".[apriltag,aruco,ros1,dev]".

A first calibration on a VI-Rig recording (gated on the Hub: accept the terms, then hf auth login):

mvis datasets download --select mvis_4imus_3cams/april_01   # ~7 GB to $MVIS_DATASETS
mvis check -c examples/regression/mvis_4imus_3cams/cam_imu_april_01.yaml
mvis run   -c examples/regression/mvis_4imus_3cams/cam_imu_april_01.yaml

The run writes the calibration YAML, a JSON result and an HTML report next to the config's output_file.

Calibrate your own rig with the agent. The repository ships a Claude Code skill, mvis-calibrate, that takes you from a raw recording to a verified, released calibration in seven gated stages, built on mvis inspect, mvis check, mvis run, mvis verdict and mvis roundtrip. Start Claude Code in a checkout (or copy .claude/ next to your data), say "calibrate my rig, data at …" or run /mvis-calibrate. Details and two worked examples: doc/agent.md.

Everything else is on openmvis.com:

MVIS is research code, maintained on a best-effort basis. GTSAM 4.2 wheels need numpy<2, so pyproject.toml pins NumPy and OpenCV accordingly.

Citation

If you use MVIS, please cite the MVIS paper (see CITATION.cff):

@article{Yang2024MVIS,
  author  = {Yang, Yulin and Geneva, Patrick and Huang, Guoquan},
  title   = {Multi-visual-inertial system: Analysis, calibration, and estimation},
  journal = {The International Journal of Robotics Research},
  year    = {2024},
  volume  = {43},
  number  = {13},
  pages   = {1995--2026},
  doi     = {10.1177/02783649241245726}
}

and the project, by its Zenodo concept DOI (resolves to the latest release; each release also has a version DOI, 10.5281/zenodo.24239183 for v0.1.0):

@misc{openmvis,
  title  = {{OpenMVIS}: open-source multi-visual-inertial sensor calibration},
  author = {{OpenMVIS Contributors}},
  year   = {2026},
  doi    = {10.5281/zenodo.24239182},
  url    = {https://openmvis.com}
}

If you use analytic combined IMU integration, ACI2, or ACI3 (ACI2 with IMU intrinsics, from the MVIS paper), also cite the ACI2 paper. Every MVIS camera–IMU solve uses ACI3 in its IMU factors.

@inproceedings{yang2020aci2,
  title     = {Analytic Combined {IMU} Integration ({ACI}$^2$) For Visual Inertial Navigation},
  author    = {Yang, Yulin and Wisely Babu, Benzun Pious and Chen, Chuchu and Huang, Guoquan and Ren, Liu},
  booktitle = {2020 IEEE International Conference on Robotics and Automation (ICRA)},
  year      = {2020},
  pages     = {4680--4686},
  doi       = {10.1109/ICRA40945.2020.9197280}
}

If your results depend on the Calibench-VI datasets, cite them too; the entries are on openmvis.com/about/contributors.

Contributors

  • Yulin Yang (yangyulin) — author and maintainer.
  • Yuantai Zhang (Yuantai-Z) and Xingxing Zuo (homepage, advisor) — camera-only pipeline fixes, the ROS1 recalibration tool and RealSense D435i recordings.
  • Nerako Lee (nerakoo) and Chuchu Chen (homepage, advisor) — RealSense D455/D456 recordings and calibration runs for the Device wiki and the Calibench-VI community datasets.

The full list is in AUTHORS; the people behind the datasets and the MVIS paper are on openmvis.com/about/contributors.

Contributing

Issues and pull requests are welcome; see CONTRIBUTING.md.

License

MVIS is released under GPL-3.0-only: free for everyone, including companies and commercial use, as long as software that includes or is derived from MVIS is released under the GPL. For use in closed-source products, a commercial licence is available; see COMMERCIAL-LICENSE.md (licensing@openmvis.com). Calibration results you compute with MVIS are yours to publish, including commercially.

Metadata

Release files for pymvis 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymvis 0.3.0
File Size Uploaded Provenance Actions
pymvis-0.3.0.tar.gz 1.2 MB With provenance Details for pymvis-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pymvis 0.3.0
File Interpreter ABI Platform Actions
pymvis-0.3.0-py3-none-any.whl Python 3 none any Details for pymvis-0.3.0-py3-none-any.whl

Total release size: 2.5 MB

Release files / pymvis-0.3.0.tar.gz

Download URL pymvis-0.3.0.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
356c5bc98a25c960f9e5e2def3a123a762c1aa645fb5f82e6944647ba4eef2ba
BLAKE2b-256 checksum
How to use checksums
04db611c8b5051e10976291ad2b8c11988e949b0c1c8bfe7dd9dd24073759415
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / pymvis-0.3.0-py3-none-any.whl

Download URL pymvis-0.3.0-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
158eafd56edb66874a4855ffc72039925f9a5e7e023076fcd2dcec714fa15351
BLAKE2b-256 checksum
How to use checksums
cb64cdfbc97a52ba80a56a72e478a21eb467db542fe360182e18796190cbc347
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for pymvis 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pymvis-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page