libreyolo 3dmood

Run 3dmood 3D detection from the command line.

Synopsis

bash
libreyolo 3dmood source=IMAGE intrinsics=camera.npy text='["CLASS"]' [OPTIONS]

Arguments

ArgumentDefaultMeaning
sourcerequiredImage path or directory
modelupstream default checkpointLocal checkpoint path
sizeNoneModel size: t or b; inferred from official filenames
intrinsicsrequiredOriginal-image 3x3 calibration .npy file
textrequiredJSON category list, e.g. ["car","person"]
deviceautoauto, cpu, mps, or a CUDA device
runtime-pathNoneOptional upstream 3D-MOOD checkout
runtime-pythonNonePython interpreter for the upstream runtime
confNoneDetection confidence threshold
iouNoneClass-agnostic NMS IoU threshold
max-detNoneMaximum detections per image
saveFalseSave projected cuboids
output-pathNoneSingle-image output filename
jsonfalseJSON output to stdout
quietFalseSuppress stderr
help-jsonFalseDump command schema as JSON

Examples

Inspect the installed command schema:

bash
libreyolo 3dmood --help-json

Predict on the shipped sample image. For commands requiring calibration, camera.npy must contain its measured original-image 3x3 intrinsic matrix. Install the model's runtime before prediction.

bash
libreyolo 3dmood source=https://raw.githubusercontent.com/LibreYOLO/libreyolo/release/libreyolo/assets/parkour.jpg intrinsics=camera.npy text='["person"]'

Request machine-readable results:

bash
libreyolo 3dmood source=https://raw.githubusercontent.com/LibreYOLO/libreyolo/release/libreyolo/assets/parkour.jpg intrinsics=camera.npy text='["person"]' --json --quiet

Notes

Configuration, runtime-loading and I/O errors exit through the shared CLI error handler. --json writes structured results to stdout; diagnostics use stderr. --quiet suppresses stderr. See 3d-mood for installation, calibration and model constraints.

Verified against LibreYOLO v1.6.0.