Scoutbot CLI
Scoutbot is the machine learning interface for the Scout project. This page specifies the Command Line Interface (CLI) to interact with all of the algorithms and machine learning models that have been pretrained for inference in a production environment.
scoutbot
ScoutBot CLI - YOLOv8-based wildlife detection in aerial imagery.
Usage
scoutbot [OPTIONS] COMMAND [ARGS]...
Options
- --version
Show the version and exit.
batch
Run the ScoutBot pipeline in batch on a list of input image filepaths.
Example output JSON:
Usage
scoutbot batch [OPTIONS] [FILEPATHS]...
Options
- --config <config>
Which ML model to use for inference
- Options:
v3 | v3-cls | v3-coreml | v3-cls-coreml
- --device <device>
Specifies the device for inference (see YOLO and PyTorch documentation)
- Options:
cuda:0 | cuda | mps | cpu
- --loc-thresh <loc_thresh>
Detection confidence threshold (0-100)
- --model <model>
Model name from registry (mutually exclusive with –config)
- --output <output>
Path to output JSON (if unspecified, results are printed to screen)
- --no-progress
Disable progress bar
Arguments
- FILEPATHS
Optional argument(s)
batch-resumable
Process images in batch with automatic resume capability.
Results are saved incrementally to a JSONL file. If interrupted, run the same command again to resume from where it stopped.
Example output (each line is a JSON object):
Usage
scoutbot batch-resumable [OPTIONS] [FILEPATHS]...
Options
- -o, --output <output>
Required Output JSONL file path (results saved incrementally)
- --config <config>
Which ML model to use for inference
- Options:
v3 | v3-cls | v3-coreml | v3-cls-coreml
- --device <device>
Specifies the device for inference (see YOLO and PyTorch documentation)
- Options:
cuda:0 | cuda | mps | cpu
- --loc-thresh <loc_thresh>
Detection confidence threshold (0-100)
- --model <model>
Model name from registry (mutually exclusive with –config)
- --no-progress
Disable progress bar
- --processes <processes>
Number of worker processes (Linux/CUDA). 1 = sequential. Each process loads its own model copy; ensure N copies fit in VRAM. On platforms without forkserver (e.g. Windows) this falls back to sequential with a warning.
- --summary-json <summary_json>
Optional path for a machine-readable run summary.
Arguments
- FILEPATHS
Optional argument(s)
example
Run a test of the pipeline on an example image with the default configuration.
Usage
scoutbot example [OPTIONS]
export-coreml
Export Core ML (.mlpackage) models from their source .pt models.
Usage
scoutbot export-coreml [OPTIONS]
Options
- --config <config>
Core ML config to export (default: all coreml configs).
- Options:
v3-coreml | v3-cls-coreml
- --force
Re-export even if the bundle exists.
fetch
Fetch the required YOLOv8 model for inference.
Usage
scoutbot fetch [OPTIONS]
Options
- --config <config>
Which ML model to use for inference
- Options:
v3 | v3-cls | v3-coreml | v3-cls-coreml
get_classes
Get the list of class labels supported by the model.
Usage
scoutbot get_classes [OPTIONS]
Options
- --config <config>
Which ML model to use for inference
- Options:
v3 | v3-cls | v3-coreml | v3-cls-coreml
- --output <output>
Path to output JSON (if unspecified, results are printed to screen)
models
List and inspect registered models. Defaults to listing all models.
Usage
scoutbot models [OPTIONS] COMMAND [ARGS]...
info
Print the full registry entry for a named model as JSON.
Usage
scoutbot models info [OPTIONS] NAME
Arguments
- NAME
Required argument
pipeline
Run the ScoutBot pipeline on an input image filepath.
Example output JSON:
Usage
scoutbot pipeline [OPTIONS] FILEPATH
Options
- --config <config>
Which ML model to use for inference
- Options:
v3 | v3-cls | v3-coreml | v3-cls-coreml
- --device <device>
Specifies the device for inference (see YOLO and PyTorch documentation)
- Options:
cuda:0 | cuda | mps | cpu
- --loc-thresh <loc_thresh>
Detection confidence threshold (0-100)
- --model <model>
Model name from registry (mutually exclusive with –config)
- --output <output>
Path to output JSON (if unspecified, results are printed to screen)
Arguments
- FILEPATH
Required argument
register
Register a local model file in the Overhead Survey Workflow (OSW) model registry.
Usage
scoutbot register [OPTIONS]
Options
- --name <name>
Required Registry name for this model
- --path <path>
Required Absolute path to model file on disk
- --arch <arch>
Required Framework/architecture (e.g. yolov8, herdnet, owl)
- --description <description>
Human-readable description
- --threshold <threshold>
Default confidence threshold
- --slice-height <slice_height>
SAHI slice height in pixels
- --slice-width <slice_width>
SAHI slice width in pixels
- --overlap <overlap>
SAHI overlap ratio (both axes)