What problem does it solve?
Running real-time object detection on live camera streams typically requires a GPU or cloud inference, which adds cost, latency, and privacy concerns. This skill offloads detection to a Google Coral Edge TPU USB accelerator, delivering ~4ms inference at 320x320 resolution entirely offline on macOS and Linux.
Core Features & Use Cases
- Hardware-Accelerated Detection: Runs INT8-quantized TFLite models on the Coral Edge TPU via the ai-edge-litert runtime, detecting 80 COCO classes (person, car, dog, cat, etc.).
- TPU Health Watchdog: Detects USB hangs with a 10-second invoke timeout and identifies thermal stalls after 30 consecutive empty frames, emitting telemetry events for automatic recovery.
- CPU Fallback: Gracefully falls back to CPU inference with an SSD MobileNet model when no Edge TPU is detected.
- Use Case: Monitor a front-door camera on a Mac mini by detecting people and cars in real time at 5-15 FPS without sending any footage to the cloud.
Quick Start
Run the deploy.sh script to install the Edge TPU drivers and Python environment, then ask the agent to start detecting people and cars on your camera stream.