batdetect2/docs/source/legacy/cli-detect.md

815 B

Legacy CLI workflow: batdetect2 detect

This page documents the previous CLI workflow based on batdetect2 detect.

This is legacy documentation.
For new workflows, use `batdetect2 predict directory` instead.
If you are migrating, start with {doc}`migration-guide`.

Legacy command shape

batdetect2 detect AUDIO_DIR ANN_DIR DETECTION_THRESHOLD

Common legacy options included:

  • --cnn_features
  • --spec_features
  • --time_expansion_factor
  • --save_preds_if_empty
  • --model_path

Current replacement

The closest current CLI entry point is:

batdetect2 predict directory \
  path/to/model.ckpt \
  path/to/audio_dir \
  path/to/outputs
  • Migration guide: {doc}migration-guide
  • Current predict docs: {doc}../reference/cli/predict