- Work in progress..
Implemented a Sudoku solver using python and openCV. Used MNIST handwritten data to train a neural network to predict digits.
-
Preprocess the image:
- Apply Gaussian blur
- Apply adaptive threshold
- Warped the image
-
Used contours to detect the grid.
-
Used window sliding technique to pick the image in each block.
-
Used the trained model to predict the digit and stored it in an array.
-
Solved the sudoku using backtracing.
Work more on pre-processing of image to make even less clearer sudoku pics work fine. For now, there might be some issues in reading low quality pics.