This project is a Python application that recognizes a Sudoku grid from a photo and solves it. It utilizes image processing techniques to extract the Sudoku puzzle from an image and then applies solving algorithms to find the solution.
sudoku-solver
├── src
│ ├── main.py # Entry point of the application
│ ├── solver.py # Contains the Solver class for solving Sudoku puzzles
│ ├── recognizer.py # Contains the Recognizer class for processing images
│ └── utils.py # Utility functions for image processing and Sudoku validation
├── requirements.txt # Lists the dependencies required for the project
└── README.md # Documentation for the project
To set up the project, you need to install the required dependencies. You can do this by running:
pip install -r requirements.txt
- Place the image of the Sudoku puzzle in an accessible location.
- Run the application using the following command:
python src/main.py
Replace image_path with the path to your Sudoku image.
The recognizer is currently not fully functional and requires further improvements.
If you would like to contribute to this project, feel free to fork the repository and submit a pull request. Any improvements or suggestions are welcome!