Snap OCR

Every now and then there are screenshots with text scrolling by on the social medias and it might be convenient to copy the text out. So, here is a tiny script that does just that. It works on wayland if you have slurp , grim , wl-copy , and tesseract installed: snapocr.sh . The details are really rather boring: slurp is used to select the area of the screen, grim takes the screenshot, tesseract…