api-camera

Access live camera frames, still images, and intrinsics via Lens Studio CameraModule.

Updated Jun 24, 2026
One-click install
npx skills add https://github.com/specs-devs/agentic-tools --skill api-camera
Or copy as Structured Prompt for Agentā–¼
Please help me install this Agent Skill.
Skill: api-camera
Source: https://github.com/specs-devs/agentic-tools/tree/main/skills/api-camera
Command: npx skills add https://github.com/specs-devs/agentic-tools --skill api-camera

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides programmatic access to live camera frames, still image capture, and camera intrinsics from Spectacles to enable AR overlays and real-time computer-vision workflows.

Core Features & Use Cases

  • Continuous camera frame stream suitable for ML input and real-time AR
  • On-demand still image capture with timestamped results
  • Access to camera intrinsics, projection and unprojection helpers for 3D↔2D mapping
  • Camera selection via CameraModule.CameraId presets (Default_Color, Left_Color, Right_Color)
  • Use Case: integrate with ML models or RSG pipelines to annotate scenes or drive overlays in Lens Studio

Quick Start

Create a CameraModule instance and subscribe to onNewFrame to feed frames into your AR or ML workflow.

Frequently Asked Questions about api-camera

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I stream live camera frames in Lens Studio for AR and computer vision?ā–¼

To stream live camera frames in Lens Studio, create a CameraModule instance and subscribe to the onNewFrame event. This provides continuous frame streaming from Spectacles, suitable for real-time AR overlays and ML input workflows.

What are camera intrinsics used for in AR and computer vision applications?ā–¼

Camera intrinsics are used for 3D-to-2D mapping and projection/unprojection in real-time AR applications. They provide the necessary parameters to accurately map 3D virtual objects onto 2D camera frames within Lens Studio.

Does this camera frame API work with Spectacles and Lens Studio v5.x?ā–¼

Yes, the CameraModule API requires Lens Studio v5.x or newer and is designed to provide programmatic access to live camera frames, still image capture, and camera intrinsics specifically from Spectacles hardware.

Can I capture still images and select specific camera views in Lens Studio?ā–¼

Yes, you can capture on-demand still images with timestamped results using the CameraModule. Camera selection is supported via CameraId presets including Default_Color, Left_Color, and Right_Color.

How do I feed camera frames into an ML model or RSG pipeline in Lens Studio?ā–¼

Feed camera frames into ML models or RSG pipelines by subscribing to the CameraModule's onNewFrame event. This streams continuous live frame data directly into your AR or computer-vision workflow for scene annotation.