camera

Control the local computer's built-in camera for capturing photos and basic operations.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "camera" with this command: npx skills add dddjj0/camera-capture

Camera Control Skill

Control the local computer's built-in camera for capturing photos and basic operations.

When to Use

  • User wants to take a photo using the computer camera
  • User asks to capture an image from the webcam
  • User wants to check the camera view
  • Commands like: "拍照", "打开摄像头", "拍张照片", "camera", "webcam", "take a photo"

Tools Required

  • Python 3 with OpenCV (cv2)
  • Standard library only (no extra deps beyond opencv-python)

Usage

Take a Photo

Capture a single frame from the default camera:

python3 skills/camera/scripts/camera.py capture --output "~/.openclaw/workspace/captures/photo_$(date +%Y%m%d_%H%M%S).jpg"

Or use the wrapper for default location:

python3 skills/camera/scripts/capture.py

This saves to ~/.openclaw/workspace/captures/ with timestamp.

List Available Cameras

python3 skills/camera/scripts/camera.py list

Test Camera (preview window, auto-close after 3 seconds)

python3 skills/camera/scripts/camera.py preview --duration 3

Output

  • Photo path is printed to stdout
  • Use this path with the image tool to analyze the captured photo
  • Photos are saved to captures/ directory by default

Examples

User: "拍张照片" Action: Run capture script, then use image tool to show/analyze the photo.

User: "看看摄像头画面" Action: Run preview script for 3 seconds to verify camera works.

Notes

  • Default camera index is 0 (built-in webcam)
  • If you have multiple cameras, use --camera 1, --camera 2, etc.
  • On Windows, the script auto-detects and works with DirectShow backend
  • Captures directory is auto-created if it doesn't exist

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated