Skip to content
Back to skills

Yolo Detection 2026 Coral Tpu Win Wsl

ASecurity

Google Coral Edge TPU — real-time object detection natively via Windows WSL

  • 3,072 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 26, 2026
ai-agentspythongoperformance

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add SharpAI/DeepCamera --skill yolo-detection-2026-coral-tpu-win-wsl --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Yolo Detection 2026 Coral Tpu Win Wsl?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Yolo Detection 2026 Coral Tpu Win Wsl
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sharpai-yolo-detection-2026-coral-tpu-win-wsl/badge)](https://www.skillsdirectory.com/skills/sharpai-yolo-detection-2026-coral-tpu-win-wsl)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: yolo-detection-2026-coral-tpu-win-wsl
description: "Google Coral Edge TPU — real-time object detection natively via Windows WSL"
version: 1.0.0
icon: assets/icon.png
entry: scripts/wsl_wrapper.cjs
deploy:
  windows: deploy.bat
runtime: wsl-python

requirements:
  platforms: ["windows"]



parameters:
  - name: auto_start
    label: "Auto Start"
    type: boolean
    default: false
    description: "Start this skill automatically when Aegis launches"
    group: Lifecycle

  - name: confidence
    label: "Confidence Threshold"
    type: number
    min: 0.1
    max: 1.0
    default: 0.5
    description: "Minimum detection confidence — lower than GPU models due to INT8 quantization"
    group: Model

  - name: classes
    label: "Detect Classes"
    type: string
    default: "person,car,dog,cat"
    description: "Comma-separated COCO class names (80 classes available)"
    group: Model

  - name: fps
    label: "Processing FPS"
    type: select
    options: [0.2, 0.5, 1, 3, 5, 15]
    default: 5
    description: "Frames per second — Edge TPU handles 15+ FPS easily"
    group: Performance

  - name: input_size
    label: "Input Resolution"
    type: select
    options: [320, 640]
    default: 320
    description: "320 fits fully on TPU (~4ms), 640 partially on CPU (~20ms)"
    group: Performance

  - name: tpu_device
    label: "TPU Device"
    type: select
    options: ["auto", "0", "1", "2", "3"]
    default: "auto"
    description: "Which Edge TPU to use — auto selects first available"
    group: Performance

  - name: clock_speed
    label: "TPU Clock Speed"
    type: select
    options: ["standard", "max"]
    default: "standard"
    description: "Max is faster but runs hotter — needs active cooling for sustained use"
    group: Performance

capabilities:
  live_detection:
    script: scripts/detect.py
    description: "Real-time object detection on live camera frames via Edge TPU inside WSL"

category: detection
mutex: detection
---

# 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
- `usbipd-win` installed on the Windows host

## 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                  │
└─────────────────────────────────────────────────────┘
```

1. Aegis writes camera frame JPEG to shared `/tmp/aegis_detection/` workspace
2. Sends `frame` event via stdin JSONL to the WSL Python instance
3. `detect.py` invokes PyCoral and executes natively on the mapped USB Edge TPU inside Linux
4. Returns `detections` event via stdout JSONL back to Windows Host

## 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:
1. Verify `usbipd` is installed and bind the `18d1:9302` and `1a6e:089a` Edge TPU hardware IDs.
2. Setup a Python virtual environment exclusively within WSL.
3. Install the Edge TPU libraries and dependencies within the WSL boundary.
4. Auto-attach the device using `usbipd` seamlessly during invocation.

Files in this skill

  • .gitignore1.3 KB
  • .travis.yml1.5 KB
  • CODE_OF_CONDUCT.md1.9 KB
  • CONTRIBUTING.md1.6 KB
  • Contributions.md1 KB
  • LICENSE1 KB
  • README.md4.2 KB
  • SKILL.md4.7 KB
  • _config.yml26 B
  • config.yaml2.2 KB
  • deploy.bat3.7 KB
  • docker-compose.yml1.3 KB
  • docker/Dockerfile3.2 KB
  • docker/README.md2.3 KB
  • docker/compile.sh2.7 KB
  • docker/docker-compose.yml1.4 KB
  • docker_out.log8.7 KB
  • input.json100 B
  • install_usbipd.bat203 B
  • install_wsl.bat163 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.