batdetect2/docs/source/reference/detections.md
2026-05-07 08:36:46 +01:00

1015 B

Detections reference

These are the main prediction objects returned by BatDetect2 inference methods.

Defined in batdetect2.postprocess.types.

ClipDetections

ClipDetections represents the predictions for one clip or one full recording.

Fields:

  • clip
    • the soundevent clip metadata for the processed audio.
  • detections
    • list of Detection objects for that clip.

Detection

Detection represents one detected event.

Fields:

  • geometry
    • time-frequency geometry for the detected event.
  • detection_score
    • confidence that there is an event at this location.
  • class_scores
    • class ranking scores for the detected event.
  • features
    • per-detection feature vector from the model.
  • Python tutorial: {doc}../tutorials/integrate-with-a-python-pipeline
  • API reference: {doc}api
  • What BatDetect2 predicts: {doc}../explanation/what-batdetect2-predicts
  • Features and embeddings: {doc}../explanation/extracted-features-and-embeddings