Sudoku Vision Solver

100% client-side: OpenCV.js + Tesseract.js + Dancing Links solver — your photos never leave your browser.

Capture
Detect
Review
Solving
Solved
1 · Capture

Tip: copy a screenshot of the puzzle, then press Ctrl+V (⌘+V on Mac) anywhere on this page.

Align Sudoku here
Starting camera…
Or try a sample / type the puzzle

No camera or photo handy? Load a known puzzle to explore the solver, or type or paste the puzzle as 81 characters below (use . or 0 for blanks). Nothing is read from your clipboard unless you paste it yourself.

81 characters: digits 1–9, with 0 or . for blanks. Spaces and line breaks are ignored.

How it works

  1. Web Worker loads OpenCV.js and runs grayscale + Gaussian blur + adaptive threshold.
  2. Largest 4-point contour is warped into a 450×450 top-down view.
  3. 81 cells are sliced (10% border trim) and recognized by Tesseract.js (digits 1–9 only).
  4. Editable grid lets you fix any misread digit before solving.
  5. Pick a solving algorithm and watch it work, step by step, with an augmented overlay option.