This is a macOS app that will perform optical character recognition on any image you open with it.
- Get a copy of Tesseract. The easiest way is to get homebrew and then run "brew install tesseract" in the Terminal.
- Download ocrThisImage.app.
- Drop an image on the app, or open an image in it using the "Open With..."" menu in the Finder).
- A .txt file with the same name as the image will show up in the folder the image was in.
This app was built in AppleScript with Apple's Script Editor. If you want to see the source code just open it in Script Editor.