Installation
CamCalib is pure Python and installs with pip on Windows, macOS, and Linux.
There is no ROS dependency and nothing to compile.
One-step setup (recommended)
Section titled “One-step setup (recommended)”bash scripts/setup_env.shconda activate cam_calibCreates 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.
Manual install
Section titled “Manual install”pip install -e .Detector backends are optional extras — install the ones your boards need:
pip install -e ".[apriltag]" # AprilGrid (aprilgrid package)pip install -e ".[aruco]" # ArUco (opencv-contrib)pip install -e ".[dev]" # pytestReading bags
Section titled “Reading bags”ROS bags are read through rosbags — pure
Python, no ROS installation:
pip install rosbagsThis is what lets a ROS1 or ROS2 bag be calibrated on a machine that has never had ROS on it.
Check the install
Section titled “Check the install”camcalib --helpSeven subcommands should be listed — calibrate, cam, cam-imu,
apply-calib, roundtrip, run, analyze. They are documented in the
CLI reference.
Calibrate something in Quickstart.