Add Apple Silicon ZMQ detector for Frigate #206

Merged
eblume merged 7 commits from feature/frigate-zmq-detector into main 2026-02-17 19:03:29 -08:00

7 commits

Author SHA1 Message Date
8b7005bec3 Update docs for YOLOv9-m model and driveway zone
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 19:03:07 -08:00
fd4692a02a Add driveway zone, switch model to YOLOv9-m for better detection
- Add driveway zone from UI config with review detection filtering
- Upgrade model from YOLOv9-t (7.7M params) to YOLOv9-m (51M params)
  for improved nighttime/low-light detection capability
- YOLOv9-t produced max 5.7% confidence on nighttime IR footage

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 19:02:20 -08:00
9c2f69adc3 Update docs to reflect actual ZMQ detector performance (~50-80ms)
CoreML runs 468/662 model nodes with the rest on CPU, yielding
~50-80ms inference rather than the initially estimated ~15ms.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 18:26:16 -08:00
925f7c2d14 Switch Frigate model from YOLO-NAS to YOLOv9-t for CoreML compatibility
YOLO-NAS has dynamic output shapes incompatible with CoreML EP, and the
apple-silicon-detector has no yolonas post-processor. YOLOv9-t works with
CoreML and uses the supported yolo-generic model type.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 18:07:35 -08:00
02d44c35b4 Use uv instead of make/venv for frigate detector
Runs the detector script directly via `uv run --with` with inline
dependencies, eliminating the need for `make install` and a managed venv.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 17:21:44 -08:00
e5e7228f2b Use forge mirror for apple-silicon-detector repo
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 17:16:44 -08:00
dc4d35024f Add Apple Silicon ZMQ detector for Frigate
Moves object detection from ONNX CPU (~117ms/frame) to the
apple-silicon-detector running natively on indri via CoreML/Neural Engine
(~15ms), communicating with Frigate over ZMQ (tcp://host.minikube.internal:5555).

- New ansible role `frigate_detector` with LaunchAgent
- Switch Frigate configmap from ONNX to ZMQ detector
- Remove detect FPS cap (no longer needed with fast inference)
- Update docs and add changelog fragment

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 17:11:35 -08:00