agrippa-stereocam

calibration-capture

Interactive capture session for collecting a stereo calibration dataset.

Examples

ag-cam-tools calibration-capture -a 192.168.0.201 -A
ag-cam-tools calibration-capture -a 192.168.0.201 -A -n 40
ag-cam-tools calibration-capture -a 192.168.0.201 -x 30000 -g 6 -o ./my_calib
ag-cam-tools calibration-capture -a 192.168.0.201 -A -b 2
ag-cam-tools calibration-capture -a 192.168.0.201 -q

Options

Option Description
-s, --serial Match camera by serial number
-a, --address Connect by camera IP address
-i, --interface Force NIC selection
-o, --output Base output directory, default ./calibration
-n, --count Target number of stereo pairs
-f, --fps Preview rate in Hz
-x, --exposure Exposure time in microseconds
-g, --gain Sensor gain in dB
-A, --auto-expose Auto-expose and then lock
-b, --binning Sensor binning factor: 1 or 2
-p, --packet-size GigE packet size in bytes
-q, --quiet-audio Disable the save confirmation beep

Output layout

Each session creates a unique output directory named like:

calibration_<serial>_<datetime>_<md5>

The serial number is read from the camera after connection. This makes it easy to identify which camera produced each calibration dataset.

Within it, images are saved into:

Runtime behavior

Sensor modes

calibration-capture is stereo-only. It produces the image pairs feeding a downstream stereo intrinsics + extrinsics calibration. Run against a monocular Lucid camera, it exits with:

error: calibration-capture is stereo-only; mono Lucid cameras need a single-camera intrinsics workflow that is not yet implemented

Single-camera intrinsic calibration for mono Lucid cameras is a candidate follow-up.