Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahsankamal/sudokuimagesolver
https://github.com/ahsankamal/sudokuimagesolver
image-processing sudoku swing-gui tesseract-ocr
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ahsankamal/sudokuimagesolver
- Owner: ahsankamal
- Created: 2016-01-15T11:33:15.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-16T12:19:38.000Z (almost 9 years ago)
- Last Synced: 2023-03-01T10:26:41.003Z (almost 2 years ago)
- Topics: image-processing, sudoku, swing-gui, tesseract-ocr
- Language: Java
- Size: 25.5 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SudokuImageSolver
# Step1
![Alt text](/screenshots/step1.png?raw=true "")# Step2
![Alt text](/screenshots/step2.png?raw=true "")# Step3
![Alt text](/screenshots/step3.png?raw=true "")# Step4
![Alt text](/screenshots/step4.png?raw=true "")# Step5
![Alt text](/screenshots/step5.png?raw=true "")# Dependencies
Tess4J (A Java JNA wrapper for Tesseract OCR API)
Java SE Development Kit 8First of all setup the development environment.
http://tess4j.sourceforge.net/tutorial/Download Tess4j (http://sourceforge.net/projects/tess4j/).
Then Add these jar files to the classpath.
jai_imageio.jar,
jna.jar,
commons-io-2.4.jar,
tess4j.jar.
Try to run this sample code
(http://tess4j.sourceforge.net/codesample.html).
Make sure tessdata folder are in the search path.
If everything went Awesome till now then just import the project into your workspace
and enjoy solving the sudoku present in the newspaper,magazines or online.
To improve the accuracy of OCR, capture the sudoku with flash on.# Sudoku.java
It is the main file of Project. Compile and Run it to see the GUI.# Assumption
Sudoku puzzle must be present inside a grid.
See testcases folder to get the idea about how to take the sudoku pic before Testing it on app.