this post was submitted on 05 Jul 2023
2 points (100.0% liked)

commandline

1747 readers
1 users here now

founded 1 year ago
MODERATORS
 

cross-posted from: https://lemmy.world/post/1027203

cross-posted from: https://lemmy.world/post/961924

A script in bash in combination with a script in C can help you solve a sudoku puzzle in a png file.

https://gitlab.com/christosangel/sudoku-solver-ocr

You can see the script in action in this video.

The main dependency is tesseract OCR, responsible for the oprical character recognition.

Another important dependency is imagemagick, responsible for the necessary image manipulation.

The file selection of the png image is done with zenity.

Feel free to give your feedback.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here