Repository navigation
plan: 32-photo-trace-ai — optional AI silhouettes for photo cutouts + PoC - #4
Merged
Merged
Conversation
…stays baseline, v1.3.0) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… gain) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…yReNet Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…tcome Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ommit-36705c # Conflicts: # openspec/ROADMAP.md
…plan updated Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…k tuning requirement Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…C reference); mask tuning makes them sufficient Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ults Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…age, v1.4.0); poc: whole-image mode Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…oc: depth models and cat sample Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…with crop and whole-frame plaque; poc: shape combiner, experiment images Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…del, detail, mix, 3D relief); cutout PoC moved to cutout.html Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…etail), backends per model from measurements Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…nal smoothing, bilinear nodes) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… presets, working raster size Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ult resolution Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… contrast, solo layer view, whole-animal preset with less detail Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ine requirement and task Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…use the cutout outline smoothing Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…awing preset auto-applied; plan 34 updated Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…soft engrave threshold, auto-preset checkbox Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…r outline, bin fit, compare) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…oughness metric); plan 32: smooth outline requirement and task Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…no grid ribbing Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…(shared outline stage, v1.6.0) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…lts tolerance 0.25 / step 1 mm; plan 35 updated Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… silent download, disabled run without a model, AI activity line and full log (32, 33, 34) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…eport AI events to it, model manager links to the log; versions shifted (32 1.4.0 … 35 1.7.0) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…d art, Rack cards at 1 U, margin check; v1.7.1) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…and AI runs, diagnostics mode, no FPS; v1.8.0) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…s, model summary, consent-based export, log and undo; v1.9.0) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…g, slope limit and final smoothing, subject presets incl. Drawing/logo, Advanced outline group); 35 now depends on 34 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…nity blue, Keychain green, Rack yellow; interface colours unchanged) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
32-photo-trace-ai(planning only, no app code) and its row inopenspec/ROADMAP.md. Target version 1.3.0, depends on 25a and 29.poc/ai/(npm run poc:ai, not part of the app) that runs background-removal models on the straightened sheet in the browser (ONNX Runtime Web) and compares them with the classic segmenter. Results:poc/ai/FINDINGS.md. Addsonnxruntime-webas a dev dependency.Why
The colour segmenter for photo cutouts is a set of heuristics with known weak spots. A neural engine, run in the browser, is added as an alternative. The classic path stays the default and is the baseline.
Plan highlights
Segmentation, so everything downstream is shared.segment.ts,colour.ts,outline.tsstay untouched (guarded by a frozen-output test).PoC findings so far (owner's photos, one thread)
std::bad_allocon both backends: dropped.For reviewers
Open questions are in design.md: huggingface.co vs self-hosted weights, minimum target device. Click-to-select (SAM) is deliberately out of scope.
🤖 Generated with Claude Code