跳到正文
Skillpedia
其他394k · #47

camsnap

它能做什么

它指导 AI 智能体使用 camsnap 工具,从网络摄像头和普通摄像头中捕捉图片和视频。它适合希望智能体查看摄像头或保存录像的人。

适用场景

  • ✓你想获取家中或办公室摄像头的快照的时候。
  • ✓需要获取你已设置好的摄像头的一段短视频的时候。
  • ✓想使用平移、俯仰或变焦控制来调整摄像头方向的时候。

技能链接

https://github.com/openclaw/openclaw/blob/main/skills/camsnap/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/openclaw/openclaw/blob/main/skills/camsnap/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请从厨房摄像头拍一张快照,并保存为 kitchen.jpg。”

每周 5 个新技能,1 分钟读完。

工作原理

技能使用 camsnap 工具,从已配置的摄像头或本地网络摄像头捕捉画面或片段。它也可以检查摄像头设置,并把可平移俯仰的摄像头移动到设定位置。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

camsnap

Use camsnap to grab snapshots, clips, or motion events from configured cameras.

Setup

  • Config file: ~/.config/camsnap/config.yaml
  • Add camera: camsnap add --name kitchen --host 192.168.0.10 --user user --pass pass

Common commands

  • Discover: camsnap discover --info
  • Snapshot: camsnap snap kitchen --out shot.jpg
  • Clip: camsnap clip kitchen --dur 5s --out clip.mp4
  • Motion watch: camsnap watch kitchen --threshold 0.2 --action '...'
  • Doctor: camsnap doctor --probe

Local webcams (macOS)

  • List devices: camsnap devices
  • Snapshot from a local camera: camsnap snap --device 0 --out webcam.jpg
  • PTZ position and ranges: camsnap ptz status --device 0
  • Move a gimbal camera: camsnap ptz goto --device 0 --pan 45 --tilt -18
  • Also camsnap ptz move (relative deltas) and camsnap ptz home.

Notes

  • Requires ffmpeg on PATH.
  • Prefer a short test capture before longer clips.
  • PTZ needs macOS Camera permission: these cameras only service UVC controls while streaming, so camsnap holds a capture session open for the operation.
  • Motion commands verify the settled position and exit non-zero if the camera did not reach it. On-camera AI framing can override manual positioning; disable tracking if moves keep missing.
常见问题

我需要额外的软件吗?

需要。该工具需要安装 ffmpeg,并且可以在系统路径中找到。

它能控制可以移动的摄像头吗?

可以。对于平移、俯仰和变焦摄像头,技能可以读取位置并移动摄像头。

为什么摄像头有时无法执行移动?

摄像头自带的追踪功能可能会覆盖手动定位,因此如果移动总是失败,技能会建议关闭追踪。

详情

作者的原始描述

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

repo: openclaw/openclaw

热度

GitHub 星标
394k
排名
#47
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能