跳到正文
cccskills
免费在 GitHub 公开

yolo-detection-2026-openvino

OpenVINO — real-time object detection via Docker (NCS2, Intel GPU, CPU)

中文简介正在准备中。当前显示原文说明。

集成工具Docker
查看安装方法

包含的文件(12)

  • SKILL.md5.6 KB
  • config.yaml2.0 KB
  • deploy.bat3.2 KB
  • deploy.sh5.7 KB
  • docker-compose.yml975 B
  • Dockerfile1.9 KB
  • models/README.md540 B
  • requirements.txt228 B
  • scripts/compile_model_colab.py3.0 KB
  • scripts/compile_model.py3.9 KB
  • scripts/detect.py10.7 KB
  • scripts/device_probe.py2.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

OpenVINO Object Detection

Real-time object detection using Intel OpenVINO runtime. Runs inside Docker for cross-platform support. Supports Intel NCS2 USB stick, Intel integrated GPU, Intel Arc discrete GPU, and any x86_64 CPU.

Requirements

  • Docker Desktop 4.35+ (all platforms)
  • Optional hardware: Intel NCS2 USB, Intel iGPU, Intel Arc GPU
  • Falls back to CPU if no accelerator present

How It Works

┌─────────────────────────────────────────────────────┐
│ Host (Aegis-AI)                                     │
│   frame.jpg → /tmp/aegis_detection/                 │
│   stdin  ──→ ┌──────────────────────────────┐       │
│              │ Docker Container              │       │
│              │   detect.py                   │       │
│              │   ├─ loads OpenVINO IR model   │       │
│              │   ├─ reads frame from volume   │       │
│              │   └─ runs inference on device  │       │
│   stdout ←── │   → JSONL detections          │       │
│              └──────────────────────────────┘       │
│   USB ──→ /dev/bus/usb (NCS2)                       │
│   DRI ──→ /dev/dri (Intel GPU)                      │
└─────────────────────────────────────────────────────┘
  1. Aegis writes camera frame JPEG to shared /tmp/aegis_detection/ volume
  2. Sends frame event via stdin JSONL to Docker container
  3. detect.py reads frame, runs inference via OpenVINO
  4. Returns detections event via stdout JSONL
  5. Same protocol as yolo-detection-2026 — Aegis sees no difference

Platform Setup

Linux

# Intel GPU and NCS2 auto-detected via /dev/dri and /dev/bus/usb
# Docker uses --device flags for direct device access
./deploy.sh

macOS (Docker Desktop 4.35+)

# Docker Desktop USB/IP handles NCS2 passthrough
# CPU fallback always available
./deploy.sh

Windows

# Docker Desktop 4.35+ with USB/IP support
# Or WSL2 backend with usbipd-win for NCS2
.\deploy.bat

Model

Ships without a pre-compiled model by default. On first run, detect.py will auto-download yolo26n.pt and export to OpenVINO IR format. To pre-export:

# Runs on any platform (unlike Edge TPU compilation)
python scripts/compile_model.py --model yolo26n --size 640 --precision FP16

Supported Devices

DeviceFlagPrecision~Speed
Intel NCS2MYRIADFP16~15ms
Intel iGPUGPUFP16/INT8~8ms
Intel ArcGPUFP16/INT8~4ms
Any CPUCPUFP32/INT8~25ms
AutoAUTOBestAuto

Protocol

Same JSONL as yolo-detection-2026:

Skill → Aegis (stdout)

{"event": "ready", "model": "yolo26n_openvino", "device": "GPU", "format": "openvino_ir", "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": 8.1, "p50": 7.9, "p95": 10.2}}}

Bounding Box Format

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

Installation

./deploy.sh

The deployer builds the Docker image locally, probes for OpenVINO devices, and sets the runtime command. No packages pulled from external registries beyond Docker base images and pip dependencies.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

Eufy camera integration — local RTSP streaming and event clips

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

Reolink camera integration — RTSP and HTTP API

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

TP-Link Tapo camera integration — RTSP streaming and ONVIF

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

LINE messaging channel for Clawdbot agent

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

Matrix/Element messaging channel for Clawdbot agent

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

查看 SharpAI 的全部技能

报告此技能的问题