Solve Sudoku puzzle from a screenshot (sudoku-solver-ocr in C, bash)

christos@lemmy.world to Linux@lemmy.ml – 1 points –

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 with Optical Character Recognition (OCR).

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 optical 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.

0

No comments yet. You could be first!