Decompose: Implement real auto-digitize engine — Phase 1: Image Ingestion & Color Quantization #6
Labels
No labels
blocked:commit-ready-failed
blocked:gate-fetch
blocked:gate-lint
blocked:gate-plan
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:needs-human
blocked:no-changes
blocked:verify-failed
bug
deferred
feature-request
in-progress
needs-decompose
needs-triage
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/Kimi_Agent_Brother_10_Digitizing_App#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
⚠️ Re-scoped — blocked on #11
~/Projects/easystitch/src/raster/color_quantizer.py~/Projects/easystitch/src/raster/image_processor.py~/Projects/easystitch/src/raster/raster_converter.pyNew scope (post #11)
Replace the in-app color quantization with a call to the EasyStitch
service:
autoDigitizetool activation, take the Fabric.js canvas state(or the original uploaded raster), convert to a base64 PNG, and
POSTtohttp://<service>/v1/digitizewith the user's settings.regions[]andstitchObjects[]from the response.(semi-transparent fill, no stroke) for visual feedback.
stitchObjectsstate slot(already exists in
useWorkspace.ts).Python service.
Acceptance: clicking the auto-digitize tool on a test image produces
a region overlay + stored stitch objects within 2 seconds end-to-end
on the dev box.
Blocked on #11 (Stand up EasyStitch as an HTTP service for ThreadCraft).
This work has been re-scoped — see the updated body. The reframe replaces
"implement from scratch" with "call the EasyStitch service and render the
result." #11 must complete first; once the service exposes
/v1/digitizeand/v1/export, this work becomes a thin client + canvas rendering job.cc: #11
Blocked-on update
This issue is blocked on easystitch-service#1 ("FastAPI wrapper exposing easystitch pipeline as HTTP service").
Why: the /v1/digitize endpoint is implemented in this issue.
The parent ticket [Kimi_Agent_Brother_10_Digitizing_App#11] is the integration contract. The actual implementation lives in Mark/easystitch-service. When easystitch-service#1 closes, this issue can move forward.
There is also a frontend-side wiring issue: [Mark/easystitch-service#3] ("TypeScript client wrapper + vite dev proxy") — that one will be mirrored into the ThreadCraft repo as a frontend sub-issue when it's ready to dispatch.