2.9 KiB
2.9 KiB
2026-05-24 ProjectionMapping wuu Calibration Dialogue Summary
Project
Garage.
Machine
wuu, Windows, local ProjectionMapping work under C:\git.
User Goal
Run ProjectionMapping-webcam and step through projector calibration with screenshots at each stage.
Durable Context
- Active working copy:
C:\git\ProjectionMapping-webcam. - The copy is not a Git repository.
- App launched successfully with
run.bat. - Server was started in the app with localhost enabled on UDP
27015. - Two Optoma 1920x1080 displays were marked as local projectors; the BenQ primary monitor was left unmarked.
- Kinect 2.0 was used as the active RGB-D camera.
Show RGB overlayandView through Kinect RGBworked and allowed manual visual alignment in the main viewport.assets\models\screenMerc3.fbxwas used as the screen object and marked trackable.- Manual RGB alignment was used because depth correspondences remained
0. - A close manual transform for
screenMerc3was:
Position: -0.400, -0.690, -3.400
Rotation: 359.300, 276.000, 0.300
Scale: 0.970, 0.970, 0.970
Calibration Result
Project calibration patternschanged the physical projector images.- Pattern capture completed and set
Pattern captures = Ready. - Saved capture path:
C:\git\ProjectionMapping-webcam\calibration_temp\Sun_May_24_20.58.26_2026. - Two projector directories were present, each with 46
image*.pngfiles. - Contact-sheet inspection showed visible vertical and horizontal gray-code stripes, so the projected pattern/camera capture path was working.
- Solver failed for both projector IDs:
Could not choose a unique projector pose seed. Scores: 0, 0, 0, 0
- The app then crashed in
ucrtbase.dllwith exception0xc0000409.
Local Code Change
After the crash, C:\git\ProjectionMapping-webcam\src\calibration\calibration.cpp was patched locally to:
- log seed correspondence counts:
Projector '<id>' seed correspondences: decoded=<n>, on model=<n>
- skip seed/solver when fewer than 8 valid model/projector correspondences remain;
- log if calibration produces no valid results.
Release x64 rebuild succeeded after this change.
Next Actions
- Relaunch
C:\git\ProjectionMapping-webcam. - In
Projection Mapping > Local projectors, mark only one Optoma as projector. - Clear pattern captures.
- Capture patterns for that single projector.
- Run solver and inspect
decodedvson modelcorrespondence counts. - If one projector calibrates, repeat for the second.
- If
decodedis high buton modelis low, improve manual alignment or inspect camera/model coordinate assumptions.
Related Knowledge Updates
projects/garage/status.mdprojects/garage/repositories.mdprojects/garage/agent-log.mdlocations/wuu.mdproblems/2026-05-24-projectionmapping-stereo-top-bottom-calibration-failure.mdskills/projectionmapping-manual-kinect-calibration.md