[object Object]

← back to Dw Photo Capture

batch mode: draw the light-reference band live during shooting too

39ffa6e06656632750a53f579c5d189c89cb1e92 · 2026-09-18 10:37:01 -0700 · Steve Abrams

Cody's remaining caveat: CAL_REF was shown only at calibration, so nothing helped
the operator keep the drift-reference strip clear mid-batch. Draw it live in the
shoot overlay (mirrors the calibration view) so the product-independent reference
stays a visible guardrail, not an unstated assumption.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uns3k4K15WBcFJNr3GcUd3

Files touched

Diff

commit 39ffa6e06656632750a53f579c5d189c89cb1e92
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Fri Sep 18 10:37:01 2026 -0700

    batch mode: draw the light-reference band live during shooting too
    
    Cody's remaining caveat: CAL_REF was shown only at calibration, so nothing helped
    the operator keep the drift-reference strip clear mid-batch. Draw it live in the
    shoot overlay (mirrors the calibration view) so the product-independent reference
    stays a visible guardrail, not an unstated assumption.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01Uns3k4K15WBcFJNr3GcUd3
---
 public/batch.html | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/public/batch.html b/public/batch.html
index 3840cf1..0129262 100644
--- a/public/batch.html
+++ b/public/batch.html
@@ -370,6 +370,10 @@ function drawShootOverlayLoop(){
   const c=cnv.getContext('2d'); c.clearRect(0,0,cnv.width,cnv.height);
   const r=CAL_TARGET; c.strokeStyle=getCss('--gold'); c.lineWidth=2; c.setLineDash([6,5]);
   c.strokeRect(r.x*cnv.width,r.y*cnv.height,r.w*cnv.width,r.h*cnv.height);
+  // fixed light-reference band — the drift signal reads here, so the operator must keep it clear
+  c.strokeStyle='#4a90d9'; c.lineWidth=1; c.setLineDash([4,4]);
+  c.strokeRect(CAL_REF.x*cnv.width,CAL_REF.y*cnv.height,CAL_REF.w*cnv.width,CAL_REF.h*cnv.height);
+  c.fillStyle='#4a90d9'; c.font='600 10px ui-monospace,monospace'; c.fillText('light ref — keep clear', 6, Math.max(12,CAL_REF.h*cnv.height-4));
   requestAnimationFrame(drawShootOverlayLoop);
 }
 

← 02ce83c batch mode: fix gate + queue bugs from contrarian review  ·  back to Dw Photo Capture  ·  auto-data-snapshot: 2026-09-18T11:01:55 (1 data files) — dat e43af57 →