2.1 KiB
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\ProjectionMappingis the experimental working tree with many Kinect, GUI, network, and calibration changes.C:\git\ProjectionMapping-masteris a clean GitHub source snapshot intended as the next baseline.- Both folders now have root
AGENTS.mdhandoff 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.0is connected towuu. - 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/bottommode while the calibration code assumes full-frame projector output. - Pattern capture directories under
calibration_tempshould 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\ProjectionMappingas reference material, not clean baseline. - Start from
C:\git\ProjectionMapping-masterfor 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.