https://github.com/clementtsang/sudoview
A script that uses OpenCV and PyTesseract to solve images of Sudoku puzzles.
https://github.com/clementtsang/sudoview
backtracking cv opencv python sudoku
Last synced: about 2 months ago
JSON representation
A script that uses OpenCV and PyTesseract to solve images of Sudoku puzzles.
- Host: GitHub
- URL: https://github.com/clementtsang/sudoview
- Owner: ClementTsang
- License: gpl-3.0
- Created: 2018-05-16T20:35:55.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-25T14:35:45.000Z (about 8 years ago)
- Last Synced: 2025-07-03T07:09:35.241Z (12 months ago)
- Topics: backtracking, cv, opencv, python, sudoku
- Language: Python
- Homepage:
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## sudoview
A program that uses OpenCV and PyTesseract to solve Sudoku boards.
## Installation
Just clone the repository, and run sudoview.py. Requires the PyTesseract and OpenCV libraries. If you use pip:
```
pip install pillow
pip install pytesseract
pip install opencv-python
```
## Usage
Call the python script with the following:
```
python sudoview.py -i "IMAGE_PATH" -s/--solve [true/false]
```
The -s/--solve flag is optional, if you wanted to use this to somehow redirect the scanned grid to, say, a text file, and not run the backtrack solver.