1palermo / Sudomitra

https://sudomitra.vercel.app
1 stars 1 forks source link

Sudoku Solver

This project aims to create a Sudoku solver that can take an image of an unsolved Sudoku puzzle and provide the solved solutions.

Table of Contents

Introduction

The Sudoku Solver is built using advanced image processing techniques and machine learning algorithms. It can accurately detect and extract the Sudoku grid from an image, and then solve the puzzle using a backtracking algorithm.

Installation

To install and run the Sudoku Solver, follow these steps:

  1. Clone the repository: git clone https://github.com/your-username/sudoku-solver.git
  2. Install the required dependencies: pip install -r requirements.txt
  3. Run the solver: python solver.py

Usage

To use the Sudoku Solver, simply provide an image of an unsolved Sudoku puzzle as input. The solver will process the image and display the solved solution.

from solver import solve_sudoku

image_path = "path/to/unsolved_sudoku.jpg"
solution = solve_sudoku(image_path)

print(solution)

Contributing

Contributions are welcome! If you have any ideas or improvements, please submit a pull request. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License.