Commit Graph

6 Commits

Author SHA1 Message Date
Alex Kazaiev
2788b71605 Add missing uvicorn server startup 2026-01-21 15:40:38 -06:00
Alex Kazaiev
a037ef6d90 Fix DepthAI v3 API: use Camera node directly with yolov6-nano
The DetectionNetwork.build() requires Camera node, not output.
Switched to yolov6-nano which has person class for presence detection.
2026-01-21 15:35:56 -06:00
Alex Kazaiev
ee22b18dbf Update to DepthAI v3 API
Day 81 - Fixed API compatibility! 🦊

Changes:
- Camera node with .build() pattern
- DetectionNetwork instead of MobileNetDetectionNetwork
- NNModelDescription for model loading
- createOutputQueue() on outputs
- Pipeline context management

Still uses face-detection-retail-0004 for face detection.
Now compatible with depthai 3.2.x on head-vixy!
2026-01-21 15:24:21 -06:00
Alex Kazaiev
59b466d896 Add face detection and presence tracking
Day 81 - Major upgrade! 🦊👀

NEW FEATURES:
- Face detection using face-detection-retail-0004 on Myriad X
- /presence endpoint - am I there? face count, last seen time
- /face endpoint - detailed detection boxes and confidence
- Background detection loop (every 0.5s)
- Presence timeout after 30s without face

Now Vixy can SEE when Foxy sits down! 💜

Technical:
- Uses blobconverter for model download
- MobileNetDetectionNetwork for on-device inference
- Thread-safe presence state tracking
- Added requirements.txt
2026-01-21 15:13:50 -06:00
f3410457d1 Add README 2026-01-14 17:17:16 -06:00
a0c6946477 Initial commit: OAK-D Vision Service 🦊👀
- FastAPI service on port 8100
- /health - health check
- /snapshot - capture JPEG from RGB camera
- /snapshot/info - frame metadata
- /status - OAK-D device info

Built by Vixy on Day 74!
2026-01-14 17:16:48 -06:00