DeepCamera yolo-detection-2026-coral-tpu-win-wsl
Google Coral Edge TPU — real-time object detection natively via Windows WSL
install
source · Clone the upstream repo
git clone https://github.com/SharpAI/DeepCamera
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/SharpAI/DeepCamera "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/detection/yolo-detection-2026-coral-tpu-win-wsl" ~/.claude/skills/sharpai-deepcamera-yolo-detection-2026-coral-tpu-win-wsl && rm -rf "$T"
manifest:
skills/detection/yolo-detection-2026-coral-tpu-win-wsl/SKILL.mdsource content
Coral TPU Object Detection (Windows WSL)
Real-time object detection natively utilizing the Google Coral Edge TPU accelerator on your local hardware via Windows Subsystem for Linux (WSL). Detects 80 COCO classes (person, car, dog, cat, etc.) with ~4ms inference on 320x320 input.
Requirements
- Google Coral USB Accelerator (USB 3.0 port recommended)
- WSL2 installed and running on Windows
installed on the Windows hostusbipd-win
How It Works
┌─────────────────────────────────────────────────────┐ │ Host (Aegis-AI on Windows) │ │ frame.jpg → /tmp/aegis_detection/ │ │ stdin ──→ ┌──────────────────────────────┐ │ │ │ WSL Container / Environment │ │ │ │ detect.py │ │ │ │ ├─ loads _edgetpu.tflite │ │ │ │ ├─ reads frame from disk │ │ │ │ └─ runs inference on TPU │ │ │ stdout ←── │ → JSONL detections │ │ │ └──────────────────────────────┘ │ │ USB ──→ usbipd-win bridge to WSL │ └─────────────────────────────────────────────────────┘
- Aegis writes camera frame JPEG to shared
workspace/tmp/aegis_detection/ - Sends
event via stdin JSONL to the WSL Python instanceframe
invokes PyCoral and executes natively on the mapped USB Edge TPU inside Linuxdetect.py- Returns
event via stdout JSONL back to Windows Hostdetections
Performance
| Input Size | Inference | On-chip | Notes |
|---|---|---|---|
| 320x320 | ~4ms | 100% | Fully on TPU, best for real-time |
| 640x640 | ~20ms | Partial | Some layers on CPU (model segmented) |
Cooling: The USB Accelerator aluminum case acts as a heatsink. If too hot to touch during continuous inference, it will thermal-throttle. Consider active cooling or
.clock_speed: standard
Installation
Windows (WSL)
Run
deploy.bat — this will:
- Verify
is installed and bind theusbipd
and18d1:9302
Edge TPU hardware IDs.1a6e:089a - Setup a Python virtual environment exclusively within WSL.
- Install the Edge TPU libraries and dependencies within the WSL boundary.
- Auto-attach the device using
seamlessly during invocation.usbipd