mirror of
https://github.com/macaodha/batdetect2.git
synced 2026-04-04 15:20:19 +02:00
1.4 KiB
1.4 KiB
Targets config workflow reference
This page summarizes the target-definition configuration used by batdetect2.
TargetConfig
Defined in batdetect2.targets.config.
Fields:
detection_target: oneTargetClassConfigdefining detection eligibility.classification_targets: list ofTargetClassConfigentries for class encoding/decoding.roi: default ROI mapper config.
TargetClassConfig
Defined in batdetect2.targets.classes.
Fields:
name: class label name.tags: tag list used for matching (shortcut formatch_if).match_if: explicit condition config (match_ifis accepted as alias).assign_tags: tags used when decoding this class.roi: optional class-specific ROI mapper override.
tags and match_if are mutually exclusive.
Supported condition config types
Built from batdetect2.data.conditions.
has_taghas_all_tagshas_any_tagdurationfrequencyall_ofany_ofnot
ROI mapper config
roi supports built-in mappers including:
anchor_bboxpeak_energy_bbox
Key anchor_bbox fields:
anchortime_scalefrequency_scale
Related pages
- Detection target setup: {doc}
../how_to/configure-target-definitions - Class setup: {doc}
../how_to/define-target-classes - ROI setup: {doc}
../how_to/configure-roi-mapping - Concept overview: {doc}
../explanation/target-encoding-and-decoding