1 ADR 0050 plant yolo threshold
Forgejo Actions edited this page 2026-09-25 16:38:07 +00:00

ADR 0050: Plant YOLO confidence threshold = 0.5

Status: accepted Date: 2026-06-13

Decision

Set YOLO-World plant detection confidence threshold to 0.5 (from previous 0.25).

Rationale

PlantNet (step 2 classifier) does NOT have a "not a plant" class. It classifies ALL bboxes it receives — even non-plant crops — into a species with reasonable confidence. PlantNet cannot filter false positives from YOLO step 1.

Therefore step 1 (YOLO) must be more selective. Raising threshold from 0.25 → 0.5 reduces false positive regions that would otherwise get classified as spurious plant species.

Trade-offs

  • Some real plants near the 0.5 threshold may be missed
  • PlantNet's high-precision species output remains the final quality gate
  • Future: consider raising to 0.6 or 0.7 if false positives remain problematic

Configuration

MEMORIES_YOLO_PLANT_THRESHOLD environment variable in deploy/compose.yaml.