Auto-digitize output is off-center, single-color white blob, super-linear scaling — engine unusable for any realistic input #40
Labels
No labels
blocked:needs-attention
blocked:needs-decision
bug
feature-request
in-progress
needs-decompose
quickfix
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/easystitch-service#40
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?
Bug: /v1/digitize output is off-center and produces useless "white noise" stitch patterns at non-trivial sizes
Reproduction (verified 2026-09-25)
User-driven bughunt: uploaded a multi-color image via the front-end (ThreadCraft). The pipeline responded with HTTP 200 and stitched something, but the result was:
Evidence (API-level, this session)
Same engine via direct API call with a 4-color quadrant test pattern (200x200):
Scaling problems
The 100x100 simple_square fixture runs in 49ms and produces 4,178 stitches. The 200x200 4-color fixture takes 9.5 seconds and produces 628,500 stitches. That's:
This is super-linear scaling that makes the engine unusable for any input larger than a tiny thumbnail. A 1000x1000 image would take hours and produce tens of millions of stitches — far beyond any real embroidery machine's tolerance.
Off-center / oddball pattern
The output is described by the user as "off-center" and "oddball." Possible causes (not verified):
Severity
Critical. This is the core product. Today the digitizer:
A user-facing copy of "auto-digitize your image" is a lie today. The engine is not production-ready for any realistic input.
Recommended fix (in priority order)
Labels
Filed 2026-09-25 by user-driven bughunt session. User's framing: "auto-stitch produced nothing but white stitches in an oddball pattern... not very useful at all... it's all off-center... so it doesn't seem to scale very well... the color decomposition fails... otherwise... no good."