batdetect2/docs/source/reference/configs/data/postprocess-config.md
mbsantiago 67aee0b79c
Some checks failed
CI / Checks (push) Has been cancelled
Docs Pages / Build Docs (push) Has been cancelled
CI / Tests (Python ${{ matrix.python-version }}) (3.10) (push) Has been cancelled
CI / Tests (Python ${{ matrix.python-version }}) (3.11) (push) Has been cancelled
CI / Tests (Python ${{ matrix.python-version }}) (3.12) (push) Has been cancelled
Docs Pages / Deploy Docs (push) Has been cancelled
Update structure
2026-06-02 13:42:05 +01:00

951 B

Postprocess config reference

PostprocessConfig controls how raw detector outputs are converted into final detections.

Defined in batdetect2.postprocess.config.

Fields

  • nms_kernel_size (int > 0)
    • neighborhood size for non-maximum suppression.
  • detection_threshold (float >= 0)
    • minimum detection score to keep a candidate event.
  • classification_threshold (float >= 0)
    • minimum class score used when assigning class tags.
  • top_k_per_sec (int > 0)
    • maximum detection density per second.

Defaults

  • detection_threshold: 0.01
  • classification_threshold: 0.1
  • top_k_per_sec: 100

nms_kernel_size defaults to the library constant used by the NMS module.

  • Threshold behaviour: {doc}../../../explanation/postprocessing-and-thresholds
  • Threshold tuning workflow: {doc}../../../how_to/inference/tune-detection-threshold
  • CLI predict options: {doc}../../cli/predict