Sudoku Solver AR is an augmented reality Sudoku solver. It captures video using a camera, finds Sudoku puzzles in the photo, and then displays answers to those puzzles in such a way that they look like they are part of the original scene.
- Tensoflow
- OpenCv
- Python
- Input the Sudoku image.
- Apply thresholding to image.
- Select the biggest contour with four corners and perform perspective transform.
- Divide the wrapped image into 81 cells, extract each cell in the warped image and chop it borders as it may contain some white pixels.
- Predict the number on cell using Neural Network, trained on MNIST and Chars74k dataset, generate sudoku board and solve with py-sudoku library.
python3 main.py
-
Automatically Detects Sudoku Block
-
Fast Prediction
-
Detect multiple sudoku board in a frame
-
Add rotation robustness