api-depth

Provide real-time per-pixel depth frames from Spectacles via DepthModule.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provide real-time depth frames from Spectacles to enable depth-based AR placement, occlusion, and spatial understanding.

Core Features & Use Cases

  • Real-time per-pixel depth values from the DepthModule.
  • Back-projection of depth data to 3D world space using camera intrinsics.
  • Use cases include AR placement, scene occlusion, and spatial mapping in Lens Studio.

Quick Start

Initialize the DepthModule and start a depth frame session to access per-pixel depth data in world space.

Frequently Asked Questions about api-depth

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

FAQPage Schema
How do I access real-time depth data for AR occlusion in Lens Studio?ā–¼

Real-time depth data for AR occlusion is provided through per-pixel depth frames from the DepthModule. You can use this data to handle scene occlusion and place AR objects accurately in Lens Studio projects.

Can I convert depth frames to 3D world space using camera intrinsics?ā–¼

Yes, you can convert depth frames to 3D world space by back-projecting per-pixel depth values using camera intrinsics. This enables accurate spatial mapping and real-time object placement in your AR scene.

How do I start a depth frame session for spatial mapping on Spectacles?ā–¼

To start a depth frame session for spatial mapping on Spectacles, initialize the DepthModule. This exposes DepthFrameData, providing the real-time depth values needed for environmental understanding.

Do I need camera access to use the depth module?ā–¼

Yes, camera access is required to use the depth module. Because the feature is experimental, accessing real-time per-pixel depth data and camera intrinsics depends directly on camera availability.

What are the limitations of using real-time depth data for AR placement?ā–¼

Limitations of using real-time depth data include its experimental status and the requirement for camera access. It provides per-pixel depth and back-projection to world space, which may have constraints in complex spatial mapping environments.