A simple tool to solve Sudoku puzzles from images (e.g. downloaded from sudoku.com) using OCR and computer vision.
- Visit sudoku.com.
- Download or screenshot a Sudoku puzzle.
- Save the image to the
images/
folder.
- Open the
sudokuSolver.ipynb
notebook. - Change the variable
image_path
to the name/path of your image in theimages/
folder. - Run all cells to see the solved Sudoku.
-
The OCR model used is EasyOCR.
-
Accuracy may vary. To experiment with different settings or models, locate this line in the notebook:
reader = easyocr.Reader(['en'], gpu=False)