Caliscope is an open-source Python toolkit that calibrates multicamera rigs for 3D motion capture. From calibration videos, it estimates each camera's focal length and lens distortion, as well as its position and orientation relative to the other cameras. Run it from the desktop app, which visualizes each stage of processing, or from the scripting API for routine workflows.
Calibration features
| Feature | What you can do |
|---|---|
| Partial camera overlap | Calibrate without every camera seeing the target at once. Cameras connect through overlapping pairwise views. |
| Double-sided targets | Use both faces of a calibration target for cameras facing each other. See the target guide for how to build and configure one. |
| Measured marker distances | Include measured distances between ArUco markers as scale constraints. |
| Calibration review | Inspect overlapping calibration board views, reprojection error, and scale accuracy of the calibration target. |
| Align to calibration board origin | Set the world origin and axes from the board's position in a chosen video frame. |
| Align to vertical from video | Estimate which way is up from each camera's video. Scripting API only. |
| Calibration export | Save the calibration as TOML, with an aniposelib-compatible copy for Pose2Sim and anipose. |
In the desktop app, calibrate lenses with a ChArUco board or chessboard, and camera positions with a ChArUco board or ArUco markers. The scripting API also accepts a chessboard for camera positions. The measured dimensions of your calibration target set the scale of the result.
A pose-based workflow calibrates camera positions and orientations from a person moving through the scene instead of a calibration board (lens calibration required in advance). See Validation for measured performance on a nine-camera benchmark.
Validation
Caliscope v0.12.0 was compared with the Qualisys-aligned reference calibration supplied with the BioCV Motion Capture Dataset (Evans et al., 2024) across nine cameras, 13 participants, and 116 held-out trials (walking, running, jumping, and hopping). All three camera rigs shared BioCV's fixed lens intrinsics and RTMPose-m (Halpe26) 2D keypoints to isolate extrinsic calibration.
| Difference from BioCV (median across 13 participants) | Board | Pose-based (one walk) |
|---|---|---|
| Camera geometry | ||
| Camera centre | 0.76 mm | 29.1 mm |
| Camera orientation | 0.007° | 0.25° |
| 3D reconstructed motion (RMS) | ||
| Joint trajectory, left/right* | 0.2 mm | 1.5 mm |
| Joint trajectory, forward/backward* | 0.7 mm | 14.3 mm |
| Joint trajectory, vertical | 0.2 mm | 2.1 mm |
| Joint angle | 0.09° | 0.18° |
*Fixed room axes defined by the straight-line walk used for pose-based calibration (forward/backward along the walkway, left/right across it).
Board calibration agreed with the reference to a median camera-centre difference of 0.76 mm and joint angle difference of 0.09°. Pose-based calibration from a single straight-line walk preserved joint angles and left/right and vertical positions, but shifted positions along the walkway depending on location. A potential reason is that a single straight walk concentrates keypoints in a narrow corridor along one axis. Broader movement patterns may produce different results.
Without a calibration board, averaging GeoCalib vertical estimates across nine cameras reached 0.27° mean error (compared with 1.23° per camera). See the validation summary for figures, protocol details, and board-free scaling and floor-height benchmarks.
Install
uv pip install caliscope # calibration library and scripting API
uv pip install "caliscope[tracking]" # adds pose tracking and vertical estimation to the API
uv pip install "caliscope[gui]" # adds the desktop app and 3D viewer, and includes tracking
caliscope # launch the app
See the installation guide for full setup. Try the sample project with downloadable data.
Scripting
The scripting API runs the same calibration code as the app, and adds steps the app does not have. For example, after calibrating, you can level the rig from its own video:
from caliscope.api import CaptureVolume, estimate_vertical
volume = CaptureVolume.load("capture_volume")
videos = {0: "cam_0.mp4", 1: "cam_1.mp4", 2: "cam_2.mp4"}
vertical = estimate_vertical(videos, volume.camera_array)
volume = volume.oriented(up=vertical.up_per_cam) # +Z now points up
volume.save("capture_volume_level")
Vertical estimates come from a GeoCalib model converted to ONNX.
In the nine-camera BioCV benchmark, single-camera estimates averaged 1.23° from vertical and combining nine cameras brought the mean error to 0.27°.
They need the [tracking] extra, and the model downloads on first use.
The scripting guide covers the full workflow, including setting world scale and the floor plane without a board.
Demo
Recorded with v0.9.0. The current interface differs.
https://github.com/user-attachments/assets/b8bb78de-866e-4ba2-b5c7-674e3a33dd9e
Reconstruction
To check calibration quality, the desktop app can also track landmarks with ONNX pose models, triangulate them in 3D, and export CSV and TRC files. See Tracking & Triangulation for the workflow. For anything beyond a quality check, use a dedicated tool such as Pose2Sim.
Documentation and help
Full documentation. Questions: Discussions. Bugs: Issues.
Acknowledgments
Inspired by anipose, created by Lili Karashchuk, PhD.
License
Caliscope is licensed under BSD 2-Clause.
Optional ONNX models downloaded on first use carry their own permissive upstream licenses: RTMPose (Apache-2.0), YOLOX (Apache-2.0), GeoCalib (Apache-2.0), and OSNet (MIT).
Metadata
Release files for caliscope 0.13.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| caliscope-0.13.0.tar.gz | 674.1 kB | Without provenance | Details for caliscope-0.13.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| caliscope-0.13.0-py3-none-any.whl | Python 3 | none | any | Details for caliscope-0.13.0-py3-none-any.whl |
Total release size: 1.2 MB
Release files / caliscope-0.13.0.tar.gz
| Download URL | caliscope-0.13.0.tar.gz |
|---|---|
| Size | 674.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c54b8109245a0d89935e3985ad1746ce5a7c2d9ba089f50708a112f1d68d3a6
|
|
BLAKE2b-256 checksum How to use checksums |
10c6b3e3eea1caa3e0d0a4de776a1da96ee4745cfde1d00064bcad77fdce2ebc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / caliscope-0.13.0-py3-none-any.whl
| Download URL | caliscope-0.13.0-py3-none-any.whl |
|---|---|
| Size | 542.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
907318c47a693999ac439dc7d403e0bf30a139dd6587ee13d395fffa24b795cb
|
|
BLAKE2b-256 checksum How to use checksums |
3d93435cb32cbc615080a4504243802cf59b39958246c99a67d59ed48eb2613f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for caliscope 0.13.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.