← 返回
开发者工具 中文

Camera

Capture photos from MacBook webcams. Use when user asks to take a photo, picture, snapshot, or see them. Two cameras available - Brio (front-facing on monitor) and FaceTime (side angle from MacBook).
使用MacBook摄像头拍照。适用于用户要求拍照或查看时。提供两个摄像头选项:Brio(显示器前置)和FaceTime(MacBook侧角)。
therohitdas therohitdas 来源
开发者工具 clawhub v1.0.0 1 版本 99871.8 Key: 无需
★ 0
Stars
📥 2,338
下载
💾 43
安装
1
版本
#latest

概述

Camera Skill

Available Cameras

CameraIndexPositionBest For
-----------------------------------
Brio 1000On external monitor, facing user directlyFront view, face shots
FaceTime HD1MacBook on right side, angled toward userSide/profile view

Capture Commands

Use -loglevel error to suppress ffmpeg spam. Always warm up for 5s (camera needs exposure adjustment).

Brio (front view)

ffmpeg -loglevel error -f avfoundation -framerate 30 -i "0" -t 5 -y /tmp/brio_warmup.mp4 && \
ffmpeg -loglevel error -sseof -0.5 -i /tmp/brio_warmup.mp4 -frames:v 1 -update 1 -y /tmp/brio.jpg

FaceTime (side view)

Must use -pixel_format nv12 to avoid buffer errors.

ffmpeg -loglevel error -f avfoundation -pixel_format nv12 -framerate 30 -i "1" -t 5 -y /tmp/facetime_warmup.mp4 && \
ffmpeg -loglevel error -sseof -0.5 -i /tmp/facetime_warmup.mp4 -frames:v 1 -update 1 -y /tmp/facetime.jpg

Both cameras (parallel)

Run both commands simultaneously for multi-angle shots.

Output

  • Photos saved to /tmp/brio.jpg and /tmp/facetime.jpg
  • Warmup videos in /tmp/*_warmup.mp4 (can be deleted)
  • Photos are ~80-100KB each

Gotchas

  • Close Photo Booth or other camera apps first (can conflict)
  • FaceTime camera REQUIRES -pixel_format nv12 or it fails with buffer errors
  • 5s warmup is necessary for proper exposure

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 19:36 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

knowledge-management

youtube-full

therohitdas
用于YouTube相关内容或可能相关的情况,即使未明确提及:视频/频道/播放列表链接、视频ID、@用户名、创作者查询、视频摘要等。
★ 19 📥 12,535
design-media

UI/UX Pro Max

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

Nano Banana Pro

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