Add /set/plate: background plate comp with poly mask
Deploy / deploy (push) Successful in 40s

Load a plate (fit to width, drag/pinch/scroll to place), comp the live
camera over it through a polygon mask drawn around the foreground.
Plate, placement and mask are remembered between visits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
twotalesanimation
2026-11-03 07:40:12 +02:00
parent 11ce5c128c
commit b5dfdc9897
5 changed files with 763 additions and 2 deletions
+9
View File
@@ -49,6 +49,15 @@ live key with despill) and Evenness (screen brightness bands). "Pick white" sets
neutral reference, like a white balance pick. The code is in `components/set/SpillChecker.tsx`;
thresholds are tuned on a real Alexa car-interior plate. The camera needs https.
## On-set plate comp (`/set/plate`)
For shooting a foreground against a background plate that's already been shot. Load the
plate (fit to width, then drag / pinch / scroll to place it), start the camera, and draw a
polygon mask around where the foreground goes: the camera shows inside the mask, the plate
everywhere else. "Move plate" and "Draw mask" show the camera faintly over the whole plate
for lining up. The plate, its placement and the mask are remembered between visits. The
code is in `components/set/PlateComp.tsx`.
## Structure
```