Skip to content

Installation

CamCalib is pure Python and installs with pip on Windows, macOS, and Linux. There is no ROS dependency and nothing to compile.

Terminal window
bash scripts/setup_env.sh
conda activate cam_calib

Creates the cam_calib conda environment, installs every dependency, and runs the test suite so you know the install works before you point it at data.

Terminal window
pip install -e .

Detector backends are optional extras — install the ones your boards need:

Terminal window
pip install -e ".[apriltag]" # AprilGrid (aprilgrid package)
pip install -e ".[aruco]" # ArUco (opencv-contrib)
pip install -e ".[dev]" # pytest

ROS bags are read through rosbags — pure Python, no ROS installation:

Terminal window
pip install rosbags

This is what lets a ROS1 or ROS2 bag be calibrated on a machine that has never had ROS on it.

Terminal window
camcalib --help

Seven subcommands should be listed — calibrate, cam, cam-imu, apply-calib, roundtrip, run, analyze. They are documented in the CLI reference.

Calibrate something in Quickstart.