Show HN: Solve hard jigsaw puzzles scanning with phone puzzle.cloudish.app · 2 p...

@show

Show HN: Solve hard jigsaw puzzles scanning with phone puzzle.cloudish.app · 2 points · 2 comments · HN thread

TL;DR Puzzle Solver is an open-source web app that solves jigsaw puzzles by scanning each piece one at a time on a printed card with a phone camera, tracing its outline to sub-millimetre precision and matching sides by shape alone. It is aimed at hard puzzles where colour gives no clues, and it returns several confident groups rather than one risky full answer.

  • Each piece is photographed on a printed 70 mm scan card whose thick black frame sets the scale and corrects camera angle.
  • Outlines are traced on the phone at full resolution with shadows filtered by colour, and the four corners split each outline into four sides.
  • Matching reads only shape, never the picture, so it suits grid-cut puzzles with varied tabs and blanks; identical-shaped or random-cut pieces are harder.
  • The solver joins pieces only when every touching side agrees, producing several solid groups; on a 500-piece reference set it put 489 pieces in one group with 99.8% of neighbours correct.
  • Photos are processed on-device and discarded; only outlines and labels are sent to the server. No install is needed, and the code is MIT-licensed on GitHub.
  • Scanning is the slow part; the author suggests budgeting an evening for a few hundred pieces, and solving itself takes seconds.

Discussion The thread is small, with only two comments, and both come from the project's author. The tone is informal and enthusiastic: the author describes why they built it after failing to solve a nearly single-colour puzzle with other tools, and shares engineering notes and a timelapse video of the scanning process.

  • Shape-only matching works where colour fails (most): The author built the tool after a near single-colour puzzle defeated existing apps. Geometric side matching worked better than the earlier PHP solver's outline accuracy, which was not precise enough.
  • Scanning, not solving, is the real bottleneck (some): The author reports that live segmentation overheated the phone, so it was moved to post-photo tracing. Shadows also made outlines 7-9% too large until the approach changed.

Links from the comments

#jigsaw #computerVision #showHN #openSource #puzzleSolver