Solve Sudoku puzzle from a screenshot (sudoku-solver-ocr in C, bash)
cross-posted from: 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.
![](https://kbin.life/media/cache/resolve/entry_thumb/b2/7a/b27a8cc1ccb10478b4f4413a2d232bf60ad004cc5e61d4cbb6f771d1a4be4e3d.png)