Issue installing OCR integration in spectacle

Hello, I'm attempting to install this particular code from github
https://github.com/funinkina/spectacle-ocr-screenshot
It is meant to make it so that you can take a screenshot using spectacle and automatically perform OCR on it, outputting a small popup text window.
I'm recently migrated from windows 10, and am attempting to copy a similar functionality I used very often.
I'm specifically stuck on actually getting it to run, getting the following error : ./spectacle-ocr-screenshot: error while loading shared libraries: libtesseract.so.5: cannot open shared object file: No such file or directory
I had many issues trying to get it to this part, including using distrobox to install tesseract and the other requirements, but I had a lot of help and am generally lost on how to search for what to try next.
GitHub
A simple utility to automatically extract text from spectacle on plasma desktops - funinkina/spectacle-ocr-screenshot
Solution
youll need to layer tesseract probably, for alternative you can try "Frog" in flathub, its not as seamless but works well for me
Was this page helpful?