This repository has been archived on 2026-07-09. You can view files and clone it, but cannot push or open issues or pull requests.
agent-knowledge-base-archived/dialog-summaries/2026-05-24-wuu-projectionmapping-kinect-calibration.md

2.1 KiB

2026-05-24 - wuu ProjectionMapping Kinect And Calibration Context

Project

garage

Machine

wuu

Summary

Before connecting this agent to agent-knowledge-base, the user and agent worked in C:\git\ProjectionMapping on a DirectX12 projection mapping tool. The session focused on building/running the app on Windows, adding Kinect 2.0 camera support, adding GUI controls and a Calibration Wizard, trying to calibrate projectors against a curved screen object, and then deciding to restart from a clean project with a normal USB webcam.

Durable Context

  • C:\git\ProjectionMapping is the experimental working tree with many Kinect, GUI, network, and calibration changes.
  • C:\git\ProjectionMapping-master is a clean GitHub source snapshot intended as the next baseline.
  • Both folders now have root AGENTS.md handoff files.
  • The working Release build command uses Visual Studio MSBuild with /p:PlatformToolset=v143.
  • The Kinect path became partially functional but is not trusted for calibration.
  • A USB capture device AV TO USB2.0 is connected to wuu.
  • User wants the next pass to rebuild around a normal webcam rather than continue through Kinect depth.

Important Findings

  • ProjectionMapping launch needed DLL/runtime and working-directory fixes.
  • Calibration attempts failed with:
    Could not choose a unique projector pose seed. Scores: 0, 0, 0, 0
    
  • The likely cause is that projectors were running in stereo top/bottom mode while the calibration code assumes full-frame projector output.
  • Pattern capture directories under calibration_temp should be inspected before solver runs; if first frames are nearly identical, gray-code decoding will fail regardless of solver changes.

Next Actions

  • Treat C:\git\ProjectionMapping as reference material, not clean baseline.
  • Start from C:\git\ProjectionMapping-master for a USB webcam/manual calibration pass.
  • Reuse only small verified fixes from the experimental repo: Windows launch/build fixes, network Stop/IP/localhost UI, capture sorting, Ceres lifetime/crash fixes, and a simplified Calibration Wizard.
  • Avoid blindly carrying over Kinect depth assumptions.