Camera-Assisted Projection Mapping.
Build a projection map and fit video to a surface with camera guidance.
What it does.
Camera-Assisted Projection Mapping uses a camera to see where projected light lands, traces the surfaces it covers, and builds a reusable map with separate editable surfaces and masks.
It can fit existing videos to a new map and checks the result through the projector and show player, such as Falcon Player with xLights sequences.
SKILL.md.
SKILL.md
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465---name: camera-assisted-mappingdescription: Build and update projection maps using a camera, projector test patterns, and existing artwork. Use for house, facade, stage, or object projection mapping; tracing surfaces; closing outlines; creating layered masks; fitting old videos to a new map; checking projector resolution and color; and delivering mapped video through a show player such as Falcon Player with xLights sequences.---
# Camera-Assisted Projection Mapping
Use a camera to see where projected light lands, trace the surfaces it covers, and fit video to those surfaces. Build a reusable projection template with separate editable surfaces and masks. Recover an existing map when one is available, and check the result through the projector and player used for the show.
The camera observes the projection; the map belongs in projector pixels. Match known projected points to their locations in the camera image before transferring a camera trace into the projection canvas. Check additional landmarks that were not used to fit the transform.
Use the user's existing files, editing applications, camera access, and player controls. Inspect their current project before choosing how to change it.
## Establish the task and recover the inputs
Identify the surfaces to project onto, the requested map or video, the final player-to-projector connection, and what the user has already authorized. Separate offline authoring from live illumination, camera movement, deployment, and publication. Continue authorized work without asking again; request only missing information that changes the next action. A request to prepare a map is not authority to turn on equipment, interrupt an audience, reset a device, or publish camera footage.
Search the supplied locations, mounted storage, native project references, and existing manifests for source artwork, masks, footage, and previous versions. Inspect promising candidates rather than reporting filename matches as equivalent assets. Record unavailable locations as unsearched. Preserve originals; work in a named derived version. Read [capture-and-discovery.md](references/capture-and-discovery.md) for asset recovery, camera access, and visual identification.
Record the working coordinate systems before transforming anything:
- Source artwork or old map: dimensions, pixel aspect, origin, layer/surface identities.- Projection canvas and projector: actual input resolution/refresh, aspect, scaling/crop, geometric correction, lens settings, and physical position.- Camera evidence: delivered image dimensions, pose/zoom/crop, capture time, and which surfaces are visible.
Record camera megapixels, desktop scaling, EDID preferences, native panel resolution, pixel-shift modes, encoded video size, and actual input timing separately. When a separate player drives the output, inspect that path rather than configuring an unrelated laptop display.
## Observe, identify, and calibrate
**Use a camera to observe and check the projection.** Obtain and actually inspect images from the user's available camera before identifying current surface boundaries, fitting projector alignment, or declaring physical success. Retrieve frames through an available camera API, stream, capture utility, or native/browser application; use fresh user-supplied camera photographs when direct access is unavailable. Merely finding a device or successfully issuing a command does not satisfy this step. Read [capture-and-discovery.md](references/capture-and-discovery.md) for capture and inspection instructions.
Before live projection mapping, obtain a fresh view with adequate target coverage and verify that it advances. Use a user-guided observation when requested and label its provenance. If camera access is missing, try supported existing access methods, then ask for the specific missing connection or capture while continuing useful offline preparation. Label that output as an offline draft with physical fit unverified. Existing artwork, a generated scene, control acknowledgments, and an output preview do not substitute for current camera evidence. An explicitly offline resize can use an accepted existing map without a new capture; it does not establish a new physical alignment result.
Assign stable surface IDs and resolve ambiguous directions with an annotated view or a specific landmark. Trace structural boundaries from multiple lighting views when needed; shadows, glare, roof-tile shadows, and projected edges can resemble architecture. Zoom for inspection, then reacquire the calibration view if camera geometry changed.
Establish projector coordinates with a known pattern sent through the actual show player: border/corners plus uniquely identifiable points, not an ambiguous repeating grid alone. Capture a baseline and the illuminated pattern. Verify the projected frame is fullscreen and uncropped before fitting it. A plain white frame can reveal coverage and help with tracing, but it does not identify projector coordinates at each edge.
For each appropriate plane, fit a transform using well-distributed correspondences and check independent points excluded from fitting. Use multiple planes or a mesh for depth changes, corners, and curved surfaces. Document residuals, unresolved regions, and a tolerance suited to the task. A camera photo alone does not identify projector pixels; illumination shows some coverage but does not establish the coordinate transform. Metric dimensions additionally require known scale.
Read [geometry-and-masks.md](references/geometry-and-masks.md) before fitting, tracing, closing gaps, or changing resolution. Keep measured alignment distinct from a visually plausible draft.
## Build the masks and fit the videos
Follow the user's existing authoring workflow. Inspect a Digital Press Works trace, Photoshop layer stack, or After Effects composition when those are the supplied sources. Keep roof sections, trim, garage doors, column faces, and driveway regions separately editable where the project uses them. Preserve layer names and the distinction between a reference drawing, a blocking mask, and projected artwork.
Match the existing workflow's mask semantics. Black overlays with transparent openings are a valid compositing technique. Determine alpha, luma, inversion, and layer usage from the actual files and project; verify with a colored backing layer. Keep the tracing/reference image separate from the final video unless it is intentionally visible.
Choose the smallest transform that fits the measured change: translation, uniform scaling, affine/projective transform, separate surface warps, or a mesh. A larger canvas alone does not require a new trace. A new optical pose or changed aspect/crop can require new calibration even when pixel dimensions are unchanged.
Prefer the user's editable application/project for preserving layer structure and reusable compositions. Verify access through available native scripting or UI; lack of a dedicated connector does not establish that an application is unusable. If only flattened media exists, identify its baked surface warps and remap corresponding regions once. Explain unrecoverable clipped content rather than inventing it.
Convert a representative excerpt before a batch. Preserve frame timing, intended audio, color interpretation, and surface identity. Inspect seams, spill, clipped glows, and dark/light areas. For resizing, export checks, color diagnosis, and player integration, read [media-and-verification.md](references/media-and-verification.md).
## Check the projection and deliver the template
Use one live operator when work is parallel. Other agents can recover assets, research exact equipment, analyze captures, or prepare isolated exports. Give them disjoint ownership; avoid competing control of the same camera, application, player, or projector.
Verify the scope requested: local file inspection for an offline deliverable; fresh physical observation through the final player for an alignment claim. Record camera/projector movement and invalidate only the transforms it affects. Keep the current requested playback/light state and an explicit restoration plan for each temporary live test.
For a reusable template, deliver named editable surfaces, masks in the user's compositing convention, canvas/pixel-aspect metadata, transforms and their direction, calibration captures, saved projector/camera point pairs with surface and capture IDs, validation results, and an example composite. For video delivery, also include source-to-output and sequence/media associations. Store project-specific state in the project; [mapping-session.json](assets/mapping-session.json) is an optional starting structure, not a demand to fill irrelevant fields.
Report separately: **authored, locally checked, uploaded, played, physically aligned, and visually accepted**. State the evidence for each status claimed and the next missing observation. A successful export, upload, input-resolution readback, or autoexposed camera image alone does not prove the final result.
Keep private footage, location details, device addresses, credentials, and personal paths out of reusable skills and public examples.