https://github.com/lucascompython/sudoku
Sudoku Solver for sudoku.com
https://github.com/lucascompython/sudoku
ocr sudoku sudoku-solver
Last synced: 9 months ago
JSON representation
Sudoku Solver for sudoku.com
- Host: GitHub
- URL: https://github.com/lucascompython/sudoku
- Owner: lucascompython
- License: gpl-3.0
- Created: 2024-03-21T20:31:37.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-22T23:34:00.000Z (about 2 years ago)
- Last Synced: 2025-01-05T09:28:13.098Z (about 1 year ago)
- Topics: ocr, sudoku, sudoku-solver
- Language: Python
- Homepage:
- Size: 10.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sudoku Solver for [sudoku.com](https://sudoku.com)
## Demo
https://github.com/lucascompython/sudoku/assets/77930083/b4e65368-754c-40fc-a2dd-c6a430e421e1
## How does it work?
1. Take a screenshot of the sudoku board
2. Find the sudoku board in the screenshot
3. Extract the numbers from the board
4. Solve the sudoku
5. Type the solution into the board
## Build
```bash
git clone https://github.com/lucascompython/sudoku
cd sudoku
# Install uv https://github.com/astral-sh/uv
# Create and activate a virtual environment
uv venv
source .venv/bin/activate
# Or
.\.venv\Scripts\Activate.ps1
# Install dependencies
uv pip sync requirements.txt
# Run
./develop.sh
# Or
./develop.ps1
# Adjust the screen capture area if needed
```