Skip to main content

Caliscope

Multicamera calibration for 3D motion capture

PyPI - Downloads PyPI - License PyPI - Version GitHub last commit pytest

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. Each camera can link to the rest by chaining together links formed from common 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 Add measured distances between ArUco markers for the optimizer to fit to.
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.

An experimental markerless workflow calibrates camera positions from a person moving through the scene instead of a target (lens calibration required in advance).

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. Because they work from images alone, expect them to land within a few degrees of true vertical. 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

BSD 2-Clause

Metadata

Release files for caliscope 0.12.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 caliscope 0.12.0
File Size Uploaded Provenance Actions
caliscope-0.12.0.tar.gz 618.4 kB Without provenance Details for caliscope-0.12.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / caliscope-0.12.0.tar.gz

Download URL caliscope-0.12.0.tar.gz
Size 618.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b929e80a8cdf9839940527d9bd1855582248c2bf6d803ccbfb4b6fb015ea6d38
BLAKE2b-256 checksum
How to use checksums
91ac37173213ebc6a6b599b3d570020c3acb484b343de22839e685f64dcd0da6
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.12.0-py3-none-any.whl

Download URL caliscope-0.12.0-py3-none-any.whl
Size 482.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b26836e936e14cdc46b881151fb501cc6258d3e66f2ccea9b63935c98b6e6bfb
BLAKE2b-256 checksum
How to use checksums
bcf79b8a5844f1ed3034f8d6cf1e6ec7d6402f9ad6ed92b685033a88ca392b8e
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.12.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.

Release history Release notifications | RSS feed

This release

0.12.0 This release

2 release files No provenance

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