From f63f95a730850c4eb55e301141ad2fd242ed7f49 Mon Sep 17 00:00:00 2001 From: Ty Date: Fri, 11 Sep 2026 14:05:24 +0000 Subject: [PATCH] docs: state mask as background removal --- docs/CAPTURE.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/CAPTURE.md b/docs/CAPTURE.md index 9a2343d..491b769 100644 --- a/docs/CAPTURE.md +++ b/docs/CAPTURE.md @@ -5,12 +5,12 @@ Runs in the browser on phone and PC. ## Flow 1. User adds one slab photo. First photo is top-down, lens parallel to the face. -2. App draws a mask overlay on the source photo. Controls: sheet Auto / Green / Black, one sensitivity slider. Overlay updates as the slider moves. -3. User adjusts until the mask edge sits on the slab, then approves the mask. +2. App removes the background and shows a mask overlay on the source photo: slab pixels vs removed pixels. Controls: sheet Auto / Green / Black, one sensitivity slider. Overlay updates as the slider moves. +3. User adjusts until only the slab remains, then approves the mask. That approved mask is the slab footprint for every later step. 4. App draws the minimum-area bounding rectangle of the mask and the length axis on the long side of that rectangle. User rotates the axis if it does not follow the slab length, then approves the axis. 5. User enters length `L` in inches (1/8 in steps) and thickness (1/8 in steps). 6. App sets `scale = longest_axis_px / L`. -7. App computes widths, sqft, and bdft, and writes the inventory PNG. +7. App computes widths, sqft, and bdft from the mask, and writes the inventory PNG with the background gone. 8. User sees the PNG and the numbers. ## Measurements @@ -21,4 +21,4 @@ Runs in the browser on phone and PC. ## Inventory PNG -Transparent, 3:4, slab centered, 80% fill at extremes. Shorter side at least 1600px when the source allows. Source below that floor requires a new photo. +Transparent (background removed), 3:4, slab centered, 80% fill at extremes. Shorter side at least 1600px when the source allows. Source below that floor requires a new photo.