structured-light-procam-calibration

Calibrate projector-camera systems using Gray-code structured light for depth-map generation.

8|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/shorties/ProjectionMapAnything --skill structured-light-procam-calibration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: structured-light-procam-calibration
Source: https://github.com/shorties/ProjectionMapAnything/tree/main/.claude/skills/structured-light
Command: npx skills add https://github.com/shorties/ProjectionMapAnything --skill structured-light-procam-calibration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Calibrating a projector-camera setup to project accurately onto real-world surfaces is complex. This guide covers structured light calibration (Gray code), deriving depth maps from the projector's perspective, and projection-mapping techniques to align visuals with room geometry, enabling effects like wobble or shockwave in mapped spaces.

Core Features & Use Cases

  • Gray-code structured-light calibration to recover projector intrinsics and pose relative to the camera.
  • Build projector-space depth maps and RGB textures from room geometry for accurate projection mapping.
  • Projection-mapped visuals for room-scale effects (e.g., wobble/shockwave) and RoomAlive/IllumiRoom-style experiences.

Quick Start

Use the structured-light calibration workflow to compute the projector’s intrinsics and extrinsics and generate a projector-view (depth + RGB) ready for real-time projection mapping.

Frequently Asked Questions about structured-light-procam-calibration

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

FAQPage Schema
How do I calibrate a projector-camera system for room-scale projection mapping?

You can calibrate a projector-camera system by using Gray-code structured light to recover projector intrinsics and pose, then generating a projector-view depth map for real-time projection mapping on arbitrary surfaces.

What is Gray-code structured light and how does it work for projector calibration?

Gray-code structured light calibration projects binary patterns to recover projector intrinsics and extrinsics relative to a camera, using RANSAC and Levenberg–Marquardt optimization to estimate geometry.

How do I generate a depth map from the projector's perspective for projection mapping?

To generate a projector-space depth map, you calibrate the projector-camera system with structured light, then derive depth and register RGB textures from the room geometry to align projected visuals.

Can I use structured light calibration to create RoomAlive or IllumiRoom-style effects?

Yes, structured light calibration recovers projector geometry and generates depth maps, enabling room-scale projection-mapped visuals like wobble or shockwave effects for RoomAlive-style experiences.

Do I need RANSAC and Levenberg–Marquardt optimization for projector-camera calibration?

RANSAC and Levenberg–Marquardt optimization are required for intrinsic and extrtrinsic estimation during structured light calibration, ensuring accurate geometry alignment for projection mapping.

What's the best way to align projector visuals with arbitrary room surfaces?

The best way to align visuals with arbitrary surfaces is structured light calibration to build a projector-view depth map, enabling accurate projection mapping that registers depth and color for real-time effects.