/SudokuSolver

Using OpenCV and Deep Learning to solve sudoku puzzles from photos.

Primary LanguagePythonMIT LicenseMIT

Sudoku Solver

In this project, a model for digit recognition is trained using Deep Learning, and an image of a sudoku puzzle is processed using OpenCV to separate out each cell for prediction. A backtracking approach is then used to solve the extracted values. The user receives the solution mapped on an image of a sudoku template.

Installation

Go the project directory and run the command to install all the required packages. This might take some time.

pip3 install -r requirements.txt

Running

Go to the directory, and run the command:

$ python3 app.py

Follow the instructions in the website.