本文へ移動
cccskills
無料GitHub で公開

yolo-detection-2026-coral-tpu-macos

Google Coral Edge TPU — real-time object detection natively (macOS / Linux)

インストール方法を見る

含まれるファイル(53)

  • SKILL.md5.3 KB
  • _config.yml26 B
  • .gitignore1.3 KB
  • .travis.yml1.5 KB
  • CODE_OF_CONDUCT.md1.9 KB
  • config.yaml2.2 KB
  • CONTRIBUTING.md1.6 KB
  • Contributions.md1.0 KB
  • deploy-linux.sh7.5 KB
  • deploy-macos.sh7.1 KB
  • deploy.sh1.6 KB
  • docker_out.log8.7 KB
  • docker-compose.yml1.3 KB
  • docker/compile.sh2.7 KB
  • docker/docker-compose.yml1.4 KB
  • docker/Dockerfile3.2 KB
  • docker/README.md2.3 KB
  • driver/edgetpu.dll848.5 KB
  • driver/libusb-1.0.dll157.5 KB
  • driver/UsbDk_1.0.22_x64.msi6.1 MB
  • ext/lib/udev/rules.d/60-libedgetpu1-max.rules164 B
  • ext/usr/lib/x86_64-linux-gnu/libedgetpu.so.11.1 MB
  • ext/usr/lib/x86_64-linux-gnu/libedgetpu.so.1.01.1 MB
  • ext/usr/share/doc/libedgetpu1-max/changelog.gz484 B
  • ext/usr/share/doc/libedgetpu1-max/copyright220 B
  • ext/usr/share/lintian/overrides/libedgetpu1-max276 B
  • input.json100 B
  • lib/edgetpu.dll848.5 KB
  • lib/libedgetpu.so.11.1 MB
  • lib/libedgetpu1-max_16.0_amd64_0ac21f1924dd4b125d5cfc5f6d0e4a5e.deb378.9 KB
  • lib/libusb-1.0.dll155.0 KB
  • lib/local_deb/lib/udev/rules.d/60-libedgetpu1-max.rules164 B
  • lib/local_deb/usr/lib/x86_64-linux-gnu/libedgetpu.so.11.1 MB
  • lib/local_deb/usr/lib/x86_64-linux-gnu/libedgetpu.so.1.01.1 MB
  • lib/local_deb/usr/share/doc/libedgetpu1-max/changelog.gz484 B
  • lib/local_deb/usr/share/doc/libedgetpu1-max/copyright220 B
  • lib/local_deb/usr/share/lintian/overrides/libedgetpu1-max276 B
  • libedgetpu.deb378.9 KB
  • libedgetpu.so.11.1 MB
  • LICENSE1.0 KB
  • models/README.md1.2 KB
  • output.txt694 B
  • README.md4.2 KB
  • requirements.txt701 B
  • scripts/compile_model_colab.py3.1 KB
  • scripts/compile_model.py5.2 KB
  • scripts/detect.py19.6 KB
  • scripts/detect.py.bak24.4 KB
  • scripts/install_pycoral.py2.3 KB
  • scripts/tpu_probe.py3.6 KB
  • skills.json8.4 KB
  • test2.jpg97.3 KB
  • wsl_test.py560 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Coral TPU Object Detection

Real-time object detection natively utilizing the Google Coral Edge TPU accelerator on your local hardware. Detects 80 COCO classes (person, car, dog, cat, etc.) with ~4ms inference on 320x320 input.

Requirements

  • Python 3.9–3.13

How It Works

┌─────────────────────────────────────────────────────┐
│ Host (Aegis-AI)                                     │
│   frame.jpg → /tmp/aegis_detection/                 │
│   stdin  ──→ ┌──────────────────────────────┐       │
│              │ Native Python Environment     │       │
│              │   detect.py                   │       │
│              │   ├─ loads _edgetpu.tflite     │       │
│              │   ├─ reads frame from disk     │       │
│              │   └─ runs inference on TPU    │       │
│   stdout ←── │   → JSONL detections          │       │
│              └──────────────────────────────┘       │
│   USB ──→ Native System USB / edgetpu drivers       │
└─────────────────────────────────────────────────────┘
  1. Aegis writes camera frame JPEG to shared /tmp/aegis_detection/ workspace
  2. Sends frame event via stdin JSONL to the local Python instance
  3. detect.py invokes PyCoral and executes natively on the mapped USB Edge TPU
  4. Returns detections event via stdout JSONL

Platform Setup

Linux

# Uses the official apt-get google-coral packages natively
./deploy.sh

macOS

# Downloads and installs the libedgetpu OS payload framework inline
./deploy.sh

Important Deployment Notice: The updated deploy.sh script will natively halt execution and prompt you securely for your OS sudo password to securely register the USB drivers (libedgetpu) system-wide. If you refuse the prompt, it gracefully outputs the exact terminal instructions for you to configure it manually.

Performance

Input SizeInferenceOn-chipNotes
320x320~4ms100%Fully on TPU, best for real-time
640x640~20msPartialSome 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.

Protocol

Same JSONL as yolo-detection-2026:

Skill → Aegis (stdout)

{"event": "ready", "model": "yolo26n_edgetpu", "device": "coral", "format": "edgetpu_tflite", "tpu_count": 1, "classes": 80}
{"event": "detections", "frame_id": 42, "camera_id": "front_door", "objects": [{"class": "person", "confidence": 0.85, "bbox": [100, 50, 300, 400]}]}
{"event": "perf_stats", "total_frames": 50, "timings_ms": {"inference": {"avg": 4.1, "p50": 3.9, "p95": 5.2}}}

Bounding Box Format

[x_min, y_min, x_max, y_max] — pixel coordinates (xyxy).

Installation

Linux / macOS

./deploy.sh

The deployer builds the local Python virtual environment and installs the Edge TPU runtime. No Docker required.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Dataset annotation management — COCO labels, sequences, export, and Kaggle upload

日本語の概要は準備中です。原文の説明を表示しています。

SharpAI/DeepCamera3,0932026年9月17日 更新

Eufy camera integration — local RTSP streaming and event clips

日本語の概要は準備中です。原文の説明を表示しています。

SharpAI/DeepCamera3,0932026年9月17日 更新

Reolink camera integration — RTSP and HTTP API

日本語の概要は準備中です。原文の説明を表示しています。

SharpAI/DeepCamera3,0932026年9月17日 更新

TP-Link Tapo camera integration — RTSP streaming and ONVIF

日本語の概要は準備中です。原文の説明を表示しています。

SharpAI/DeepCamera3,0932026年9月17日 更新

LINE messaging channel for Clawdbot agent

日本語の概要は準備中です。原文の説明を表示しています。

SharpAI/DeepCamera3,0932026年9月17日 更新

Matrix/Element messaging channel for Clawdbot agent

日本語の概要は準備中です。原文の説明を表示しています。

SharpAI/DeepCamera3,0932026年9月17日 更新

SharpAI のスキルをすべて見る

このスキルの問題を報告する