This project combines algorithms and computer vision to create a robust Sudoku-solving solution. Using Python, OpenCV , neural networks, and the Dancing Links algorithm, the goal is to efficiently solve Sudoku puzzles.
The incorporation of computer vision is a significant advancement, allowing the algorithm to "see" and interpret Sudoku grids within images. This process involves extracting puzzle grids from images and optimizing them for algorithmic analysis.
The synergy between computer vision and algorithmic optimization enhances digit recognition accuracy, translating visual data seamlessly for efficient solving. Overall, this approach aims to provide a more intuitive and user-friendly experience for Sudoku enthusiasts.
Captured Image | Solved Puzzle |
---|---|
- Clone the Github repository : https://github.com/ManujaDewmina/Sudoku-solver-with-OpenCV
- For 9X9 Sudoku puzzles :
python sudoku_vision_9by9.py
- For 16X16 Sudoku puzzles :
python sudoku_vision_16by16.py
Note: Sometimes, errors may occur in the number detection part (OCR) of a 16x16 Sudoku puzzle.