mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-26 01:32:29 -04:00
Add ZM_TRAINING_DETECT_SCRIPT config option for specifying the path to an external detection script (e.g. zm_detect.py). When configured, a Detect button appears in the annotation editor that: - Runs the script with -f <image> -m <monitor_id> - Parses the --SPLIT-- JSON output for labels, boxes, confidences - Displays results as orange (pending) bounding boxes - Users can accept (checkmark) or reject (x) each detection - Only accepted annotations are saved to the training set Also adds accept/reject UI in the sidebar object list, with orange color for pending detections and normal colors for accepted ones. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>