Camera YOLO Operator | 摄像头 YOLO 操控者
CLAWHUB · Unverified
Webcam YOLO and depth detection. 摄像头 YOLO 目标检测与 DA3Metric 深度估计;模型放 modules 缓存,输出放 projects。 Skill: Camera YOLO Operator | 摄像头 YOLO 操控者 Owner: moroiser Summary: Webcam YOLO and depth detection. 摄像头 YOLO 目标检测与 DA3Metric 深度估计;模型放 modules 缓存,输出放 projects。 Tags: latest:1.3.0 Version history: v1.3.0 | 2026-04-30T06:53:09.029Z | user 1. Standardize model and output paths: models now live under ~/.cache/huggingface/modules/camera-yolo-operator, outputs under ~/.openclaw/workspace/projects/camera-yolo-operator, and
- 62
- Rank
- 84
- Safety
- 1.1k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 11, 2026
- Adoption signal
- 1.1K downloadsadoption · Oct 11, 2026
- Latest release
- 1.3.0release · Apr 30, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.3.0release
1. Standardize model and output paths: models now live under ~/.cache/huggingface/modules/camera-yolo-operator, outputs under ~/.openclaw/workspace/projects/camera-yolo-operator, and the skill folder stays code-only. 统一模型与输出路径:模型放 modules 缓存,运行结果放 projects,技能文件夹仅保留代码。 2. Refresh the bilingual ClawHub Summary and default script paths for cleaner publishing and runtime behavior. 更新双语 ClawHub Summary 与脚本默认路径,提升发布与运行目录规范性。
Observed Apr 30, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s1708w2t7w31qf7b0gsy7kamnx83gqa6:camera-yolo-operator- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-moroiser-camera-yolo-operator/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
56,963 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: Camera YOLO Operator | 摄像头 YOLO 操控者
description: Webcam YOLO and depth detection. 摄像头 YOLO 目标检测与 DA3Metric 深度估计;模型放 modules 缓存,输出放 projects。
---
# Camera YOLO Operator | 摄像头 YOLO 操控者 🐾
操作本地摄像头,运行 YOLO 目标检测和 DA3Metric 深度估计。
---
## 目录
1. [概述](#概述)
2. [快速开始](#快速开始)
3. [运行模式](#运行模式)
4. [模型管理](#模型管理)
5. [输出目录](#输出目录)
6. [深度校正](#深度校正)
7. [环境变量](#环境变量)
8. [故障排查](#故障排查)
---
## 概述
### 平台支持
| 平台 | 摄像头后端 | GPU |
|------|-----------|-----|
| Linux | V4L2 | NVIDIA CUDA |
| Windows | DirectShow | NVIDIA CUDA |
| macOS | AVFoundation | Apple MPS / CPU |
### 模型
- **YOLO26s 系列**: 目标检测、分割、姿态、旋转框、分类
- **DA3Metric-Large**: HuggingFace 深度估计模型,首次运行自动下载
---
## 快速开始
### 1. 安装依赖
```bash
cd ~/.openclaw/workspace/skills/camera-yolo-operator
pip install -r requirements.txt
```
### 2. 下载 YOLO 模型
```bash
bash scripts/download_models.sh
```
### 3. 运行
```bash
# 测试摄像头
python3 scripts/capture_webcam.py --count 3
# YOLO 检测
python3 scripts/yolo_detection.py --seconds 30
# 深度距离检测
python3 scripts/yolo_depth_distance.py --seconds 30
```
---
## 运行模式
### 模式一: 纯摄像头抓拍
不运行任何 AI 模型,只抓拍图片。用于测试摄像头是否正常工作。
```bash
python3 scripts/capture_webcam.py \
--count 3 \
--interval 0.5 \
--camera-index 0
```
**参数说明**:
- `--count`: 抓拍数量(默认 3)
- `--interval`: 每次抓拍间隔秒数(默认 0.5)
- `--camera-index`: 摄像头索引(默认 0)
- `--warmup`: 预热帧数(默认 5)
---
### 模式二: YOLO 纯检测
使用 YOLO 进行目标检测,可选多种模型(检测/分割/姿态等)。
```bash
python3 scripts/yolo_detection.py \
--seconds 30 \
--save-every 10 \
--max-saves 3 \
--yolo-model yolo26s.pt \
--conf 0.5
```
**参数说明**:
- `--seconds`: 运行时间(默认 30)
- `--save-every`: 每隔多少秒保存一张(默认 10)
- `--max-saves`: 最大保存数量(默认 3)
- `--yolo-model`: YOLO 模型路径或名称
- `--conf`: 置信度阈值(默认 0.5)
- `--device`: 设备,"0"=GPU,"cpu"=CPU(默认 "0")
**可用 YOLO 模型**:
| 模型 | 用途 | 命令示例 |
|------|------|---------|
| `yolo26s.pt` | 目标检测(默认) | `--yolo-model yolo26s.pt` |
| `yolo26s-seg.pt` | 实例分割 | `--yolo-model yolo26s-seg.pt` |
| `yolo26s-pose.pt` | 姿态估计 | `--yolo-model yolo26s-pose.pt` |
| `yolo26s-obb.pt` | 旋转框检测 | `--yolo-model yolo26s-obb.pt` |
| `yolo26s-cls.pt` | 图像分类 | `--yolo-model yolo26s-cls.pt` |
---
### 模式三: YOLO 检测 + 深度距离叠加
将 YOLO 检测框与 DA3Metric 深度图融合,在每个检测框上标注物体类别、置信度和到摄像头的距离(米)。
```bash
python3 scripts/yolo_depth_distance.py \
--seconds 30 \
--save-every 5 \
--max-saves 6 \
--yolo-model yolo26s.pt \
--depth-scale 1.0 \
--output-dir ~/.openclaw/workspace/projects/camera-yolo-operator/depth_distance
```
**参数说明**:
- `--depth-scale`: 深度校正系数(详见下文)
- `--depth-model`: 深度模型,默认 `depth-anything/DA3Metric-Large`
- `--device`: 深度模型运行设备(默认 `cuda:0`)
**输出内容**:
- 绿色检测框 + 标签格式:`{类别} {置信度} | {距离}m`
- 背景叠加伪彩色深度图(INFERNO 配色,暖色=近,冷色=远)
---
### 模式四: 通用目标轨迹跟踪
使用 YOLO 检测任意目标 + ByteTrack 分配持续 ID + Supervision 绘制轨迹线。行人、车辆、鸟类——只要 YOLO 能检测的类别都能跟踪。统计输出为**独立目标数量**(去重后的车辆数、行人数),而非帧次出现次数。
```bash
# 摄像头实时检测(默认纯检测,画框不画轨迹)
python3 scripts/yolo_pedestrian_tracker.py --source 0 --seconds 30
# 摄像头实时跟踪(开启轨迹线)
python3 scripts/yolo_pedestrian_tracker.py --sou_meta.json
{
"ownerId": "kn75k53tcdhqwka2fra5x817p9821zpb",
"slug": "camera-yolo-operator",
"version": "1.3.0",
"publishedAt": 1777531989029
}references/deployment.md
# YOLO Skill 部署指南
本文档说明如何在全新机器上部署 YOLO Skill,实现零配置或最小配置运行。
---
## 目录
1. [系统要求](#系统要求)
2. [快速部署](#快速部署)
3. [手动部署步骤](#手动部署步骤)
4. [模型下载](#模型下载)
5. [常见问题](#常见问题)
6. [平台特定说明](#平台特定说明)
---
## 系统要求
### 硬件
- **摄像头**: 内置或外置 USB 摄像头
- **GPU**: NVIDIA GPU(推荐,CUDA 加速)
- 如无 GPU,脚本会自动降级到 CPU(速度较慢)
- **内存**: 8GB+ RAM
### 软件
- **Python**: 3.8+
- **CUDA**: 11.8+ (GPU 加速)
- **操作系统**: Linux / Windows / macOS
---
## 快速部署
### Linux / macOS
```bash
# 1. 进入 skill 目录
cd ~/.openclaw/workspace/skills/camera-yolo-operator
# 2. 安装依赖
pip install -r requirements.txt
# 3. 下载模型
bash scripts/download_models.sh
# 4. 运行测试
python3 scripts/capture_webcam.py # 测试摄像头
python3 scripts/yolo_detection.py # 测试 YOLO 检测
```
### Windows
```powershell
# 1. 进入 skill 目录
cd $env:USERPROFILE\.openclaw\workspace\skills\camera-yolo-operator
# 2. 安装依赖
pip install -r requirements.txt
# 3. 下载模型(使用 Python 下载)
python scripts\download_models.py
# 4. 运行测试
python scripts/capture_webcam.py
```
---
## 手动部署步骤
### Step 1: 创建工作区目录
```bash
mkdir -p ~/.openclaw/workspace/yolo
mkdir -p ~/.openclaw/workspace/projects/yolo/captures
mkdir -p ~/.openclaw/workspace/projects/yolo/detection
mkdir -p ~/.openclaw/workspace/projects/yolo/depth_distance
```
### Step 2: 安装 Python 依赖
```bash
pip install ultralytics torch torchvision --index-url https://download.pytorch.org/whl/cu121
pip install depth-anything-3
pip install opencv-python numpy
```
### Step 3: 下载 YOLO 模型
从 [Ultralytics](https://docs.ultralytics.com/models/yolo11) 下载以下模型到 `~/.openclaw/workspace/yolo/`:
| 模型文件 | 用途 |
|---------|------|
| `yolo26s.pt` | 目标检测(默认)|
| `yolo26s-seg.pt` | 实例分割 |
| `yolo26s-pose.pt` | 姿态估计 |
| `yolo26s-obb.pt` | 旋转框检测 |
| `yolo26s-cls.pt` | 图像分类 |
或使用命令行:
```bash
python3 -c "from ultralytics import YOLO; YOLO('yolo26s.pt')"
```
### Step 4: 验证安装
```bash
# 测试摄像头
python3 scripts/capture_webcam.py --count 3
# 测试 YOLO
python3 scripts/yolo_detection.py --seconds 10
# 测试深度检测
python3 scripts/yolo_depth_distance.py --seconds 10
```
---
## 模型下载
### 方式一: 自动下载脚本
```bash
cd skills/camera-yolo-operator
bash scripts/download_models.sh
```
### 方式二: 手动下载
从以下来源下载:
1. **Ultralytics 官方**: https://docs.ultralytics.com/models/yolo11
2. **HuggingFace**: https://huggingface.co/ultralytics/ (如可用)
### 方式三: Python 下载
```python
from ultralytics import YOLO
model = YOLO('yolo26s.pt') # 自动下载
```
---
## 常见问题
### Q: HuggingFace 模型下载失败
**原因**: 网络问题或代理干扰
**解决方案**:
1. 清除代理:
```bash
unset all_proxy ALL_PROXY http_proxy https_proxy HTTP_PROXY HTTPS_PROXY
```
2. 使用镜像:
```bash
export HF_ENDPOINT=https://hf-mirror.com
```
3. 或手动下载 DA3Metric-Large:
```bash
git clone https://huggingface.co/depth-anything/DA3Metric-Large ~/.cache/huggingface/modules/depth_anything_3/ddp/
```
### Q: 摄像头无法打开
**解决方案**:
1. 检查摄像头是否被其他应用占用
2. 尝试不同的 camera index:
```bash
python3 scripts/capture_webcam.py --camera-index 0
python3 scripts/capture_webcam.py --camera-index 1
```
3. Linux: 检查设备权限:
```bash
ls -la /dev/video*
# 如果权限不够:
sudo chmod 666 references/platform.md
# Platform Notes ## Tested environments ### Windows - OS: Windows 11 - GPU: NVIDIA GeForce GTX 1060 6GB - OpenClaw install mode: installed directly on Windows - Camera backend: DirectShow ### Linux - OS: Linux (generic) - GPU: varies - OpenClaw install mode: installed directly on Linux - Camera backend: V4L2 ## Model location Store the YOLO model in `workspace/assets/yolo/` or configure the path in `TOOLS.md`. ## Camera device detection ### Linux Check available camera devices: ```bash ls /dev/video* ``` Typical laptop webcam appears as `/dev/video0` or `/dev/video1`. Make sure the user has read access to the device, or add the user to the `video` group. ### Windows Camera index `0` is typically the built-in notebook webcam. If multiple cameras exist, test indices starting from `0`. ## Maintenance notes If the webcam index changes or multiple cameras appear, test camera indices manually. If the GPU stack changes, verify: - `torch.cuda.is_available()` - model inference still works - saved images still land under `workspace/tmp/` ## Suggested output folders - Raw webcam captures: `workspace/tmp/camshots/` - Annotated YOLO captures: `workspace/tmp/yolo-captures/`
skill-card.md
## Description: Webcam YOLO and depth detection. 摄像头 YOLO 目标检测与 DA3Metric 深度估计;模型放 modules 缓存,输出放 projects。 This skill is ready for commercial/non-commercial use. ## Publisher: [moroiser](https://clawhub.ai/user/moroiser) ### License/Terms of Use: MIT-0 ## Use Case: Developers and operators use this skill to run local webcam capture, YOLO object detection, YOLO plus DA3Metric depth overlays, and object tracking workflows. It helps test camera access, download required models, configure runtime paths, and save annotated images or videos under a workspace project directory. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The skill uses local camera input and can save raw or annotated visual media to disk. Mitigation: Run it only where camera capture is expected, review the configured output directory, and delete captured media when it is no longer needed. Risk: The documented Linux troubleshooting path can weaken webcam permissions with chmod 666. Mitigation: Use video-group membership or per-user ACL access instead of world-writable device permissions. Risk: The skill downloads or loads external YOLO and DA3Metric model assets. Mitigation: Review model sources, pin dependency and model versions where possible, and run the skill in a virtual environment. ## Reference(s): - [Deployment Guide](references/deployment.md) - [Platform Notes](references/platform.md) - [DA3Metric-Large model](https://huggingface.co/depth-anything/DA3Metric-Large) - [Ultralytics YOLO models](https://docs.ultralytics.com/models/yolo11) - [Ultralytics on Hugging Face](https://huggingface.co/ultralytics/) ## Skill Output: **Output Type(s):** [text, markdown, code, shell commands, configuration, guidance] **Output Format:** [Markdown guidance with inline shell and Python commands; runtime scripts can save JPEG images, annotated video, and console status text.] **Output Parameters:** [1D] **Other Properties Related to Output:** [Runtime outputs may include local camera captures, annotated detection images, depth overlay images, annotated videos, and object-count summaries.] ## Skill Version(s): 1.3.0 (source: server release evidence and artifact metadata) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-moroiser-camera-yolo-operator. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about Camera YOLO Operator | 摄像头 YOLO 操控者. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-moroiser-camera-yolo-operator, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/moroiser/skills/camera-yolo-operator",
"sourceUrl": "https://clawhub.ai/moroiser/skills/camera-yolo-operator",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T06:27:57.711Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-moroiser-camera-yolo-operator/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-moroiser-camera-yolo-operator/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T06:27:57.711Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.1K downloads",
"href": "https://clawhub.ai/moroiser/camera-yolo-operator",
"sourceUrl": "https://clawhub.ai/moroiser/camera-yolo-operator",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T06:27:57.711Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.3.0",
"href": "https://clawhub.ai/moroiser/camera-yolo-operator",
"sourceUrl": "https://clawhub.ai/moroiser/camera-yolo-operator",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-30T06:53:09.029Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-moroiser-camera-yolo-operator/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-moroiser-camera-yolo-operator/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.3.0",
"description": "1. Standardize model and output paths: models now live under ~/.cache/huggingface/modules/camera-yolo-operator, outputs under ~/.openclaw/workspace/projects/camera-yolo-operator, and the skill folder stays code-only. 统一模型与输出路径:模型放 modules 缓存,运行结果放 projects,技能文件夹仅保留代码。 2. Refresh the bilingual ClawHub Summary and default script paths for cleaner publishing and runtime behavior. 更新双语 ClawHub Summary 与脚本默认路径,提升发布与运行目录规范性。",
"href": "https://clawhub.ai/moroiser/camera-yolo-operator",
"sourceUrl": "https://clawhub.ai/moroiser/camera-yolo-operator",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-30T06:53:09.029Z",
"isPublic": true
}
]
}Record generated Nov 23, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-moroiser-camera-yolo-operator/run-check
