← 返回
未分类 中文

terry-camsnap

Take camera snapshots and save them to disk. Use when the user asks to take a photo, capture an image from webcam, or take a snapshot.
拍摄摄像头快照并保存到磁盘。当用户请求拍照、从摄像头捕获图像或拍摄快照时使用。
terrycarter1985 terrycarter1985 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 261
下载
💾 0
安装
1
版本
#latest

概述

Take a snapshot from the default webcam using the camsnap utility.

Usage

/camsnap [output_path] [--preview] [--output-dir DIR]

If no output path is provided, the snapshot will be saved to the ./snapshots/ directory with a timestamp filename.

Steps

  1. Run the snapshot script:
  2. python3 ~/.openclaw/workspace/src/camsnap.py {{ $ARGUMENTS }}
    
  3. Confirm the snapshot was saved successfully and return the file path.

Notes

  • The script discards the first few warm-up frames to avoid underexposed captures.
  • Output paths are validated against path-traversal; only allowed directories are writable.
  • Use --preview only in environments with a display (headless servers will fail).

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 03:59 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Code Formatter

terrycarter1985
代码格式化最佳实践及常用语言(Python、JavaScript、JSON、Markdown 等)的快速参考,使用 Prettier、Black、ESLint 等工具。
★ 0 📥 920
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 231 📥 49,205
design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 435 📥 118,151