Skip to content

Caliscope

Caliscope calibrates multicamera rigs for 3D motion capture. It estimates each camera's lens parameters and 3D pose so downstream tools can triangulate accurately. Licensed under BSD-2-Clause.

How it works

Triangulating a 3D point from multiple cameras requires knowing each camera's optical properties and where it sits in space. Measuring those by hand is impractical, so Caliscope recovers them from video.

Calibration has three steps. First, intrinsic calibration estimates each camera's focal length and lens distortion individually. Next, extrinsic calibration finds where the cameras sit relative to each other using bundle adjustment across shared views. Finally, you align the rig to a usable world coordinate frame with vertical pointing up, distances in meters, and the floor at zero.

You can run the workflow in the desktop app, which visualizes each step, or from Python using the Scripting API.

Calibrating with a target

Print a ChArUco board, an ArUco marker, or a chessboard, and move it through the capture volume. Every camera does not need to see the target at the same time. Caliscope links cameras across overlapping pairwise views, so even a single marker on a sheet of paper can calibrate a wide volume. For surround rigs where cameras face each other, a double-sided board links opposing views.

Calibrating without a target

You can also calibrate camera positions from synchronized video of a person moving through the volume, using pose keypoints instead of a board (lens intrinsics must be calibrated first). The scene then supplies the world frame using estimated vertical, a known distance for scale, and the floor height. See the Markerless Calibration guide to run this experimental workflow from Python, or Validation for benchmark results against BioCV.

Output

Caliscope saves the calibrated rig as camera_array.toml and exports an aniposelib-compatible copy (camera_array_aniposelib.toml) for tools such as Pose2Sim and anipose.

Caliscope also includes a basic reconstruction pipeline for checking calibration quality and exporting 3D landmarks. For full 3D pose and biomechanical analysis, use Pose2Sim or anipose.

Getting started

Questions: Discussions. Bugs: Issues.