跳到正文
cccskills
免费在 GitHub 公开

yolo-detection-2026

YOLO 2026 — state-of-the-art real-time object detection

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

查看安装方法

包含的文件(14)

  • SKILL.md6.0 KB
  • config.yaml2.0 KB
  • deploy.bat9.3 KB
  • deploy.sh9.7 KB
  • requirements_cpu.txt266 B
  • requirements_cuda.txt273 B
  • requirements_intel.txt228 B
  • requirements_mps.txt327 B
  • requirements_rocm.txt479 B
  • requirements.txt420 B
  • scripts/detect.py13.8 KB
  • scripts/env_config.py36.7 KB
  • yolo26n_names.json1.5 KB
  • yolo26n.onnx9.4 MB

SKILL.md(原文)

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

YOLO 2026 Object Detection

Real-time object detection using the latest YOLO 2026 models. Detects 80+ COCO object classes including people, vehicles, animals, and everyday objects. Outputs bounding boxes with labels and confidence scores.

Model Sizes

SizeSpeedAccuracyBest For
nanoFastestGoodReal-time on CPU, edge devices
smallFastBetterBalanced speed/accuracy
mediumModerateHighAccuracy-focused deployments
largeSlowerHighestMaximum detection quality

Hardware Acceleration

The skill uses env_config.py to automatically detect hardware and convert the model to the fastest format for your platform. Conversion happens once during deployment and is cached.

PlatformBackendOptimized FormatCompute UnitsExpected Speedup
NVIDIA GPUCUDATensorRT .engineGPU~3-5x
Apple Silicon (M1+)MPSCoreML .mlpackageNeural Engine (NPU)~2x
Intel CPU/GPU/NPUOpenVINOOpenVINO IR .xmlCPU/GPU/NPU~2-3x
AMD GPUROCmONNX RuntimeGPU~1.5-2x
CPU (any)CPUONNX RuntimeCPU~1.5x

Apple Silicon Note: Detection defaults to cpu_and_ne (CPU + Neural Engine), keeping the GPU free for LLM/VLM inference. Set compute_units: all to include GPU if not running local LLM.

How It Works

  1. deploy.sh detects your hardware via env_config.HardwareEnv.detect()
  2. Installs the matching requirements_{backend}.txt (e.g. CUDA → includes tensorrt)
  3. Pre-converts the default model to the optimal format
  4. At runtime, detect.py loads the cached optimized model automatically
  5. Falls back to PyTorch if optimization fails

Set use_optimized: false to disable auto-conversion and use raw PyTorch.

Auto Start

Set auto_start: true in the skill config to start detection automatically when Aegis launches. The skill will begin processing frames from the selected camera immediately.

auto_start: true
model_size: nano
fps: 5

Performance Monitoring

The skill emits perf_stats events every 50 frames with aggregate timing:

{"event": "perf_stats", "total_frames": 50, "timings_ms": {
  "inference": {"avg": 3.4, "p50": 3.2, "p95": 5.1},
  "postprocess": {"avg": 0.15, "p50": 0.12, "p95": 0.31},
  "total": {"avg": 3.6, "p50": 3.4, "p95": 5.5}
}}

Protocol

Communicates via JSON lines over stdin/stdout.

Aegis → Skill (stdin)

{"event": "frame", "frame_id": 42, "camera_id": "front_door", "timestamp": "...", "frame_path": "/tmp/aegis_detection/frame_front_door.jpg", "width": 1920, "height": 1080}

Skill → Aegis (stdout)

{"event": "ready", "model": "yolo2026n", "device": "mps", "backend": "mps", "format": "coreml", "gpu": "Apple M3", "classes": 80, "fps": 5}
{"event": "detections", "frame_id": 42, "camera_id": "front_door", "timestamp": "...", "objects": [
  {"class": "person", "confidence": 0.92, "bbox": [100, 50, 300, 400]}
]}
{"event": "perf_stats", "total_frames": 50, "timings_ms": {"inference": {"avg": 3.4}}}
{"event": "error", "message": "...", "retriable": true}

Bounding Box Format

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

Stop Command

{"command": "stop"}

Installation

The deploy.sh bootstrapper handles everything — Python environment, GPU backend detection, dependency installation, and model optimization. No manual setup required.

./deploy.sh

Requirements Files

FileBackendKey Deps
requirements_cuda.txtNVIDIAtorch (cu124), tensorrt
requirements_mps.txtAppletorch, coremltools
requirements_intel.txtInteltorch, openvino
requirements_rocm.txtAMDtorch (rocm6.2), onnxruntime-rocm
requirements_cpu.txtCPUtorch (cpu), onnxruntime

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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 的全部技能

报告此技能的问题