Skip to content

A personal project that solves Sudoku puzzles from images. It combines a grid recognizer and a solver to automatically detect and solve Sudoku puzzles.

Notifications You must be signed in to change notification settings

dnsfran/Sudoku-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku Solver

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.

Project Structure

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

Installation

To set up the project, you need to install the required dependencies. You can do this by running:

pip install -r requirements.txt

Usage

  1. Place the image of the Sudoku puzzle in an accessible location.
  2. Run the application using the following command:
python src/main.py 

Replace image_path with the path to your Sudoku image.

Note

The recognizer is currently not fully functional and requires further improvements.

Contributing

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!

About

A personal project that solves Sudoku puzzles from images. It combines a grid recognizer and a solver to automatically detect and solve Sudoku puzzles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages