I wrote a script that lets me run ocr image.png to extract text from images. This is useful for pulling text from screenshots, photos, and more. It only works on macOS because it uses Apple’s proprietary text recognition API. (I’ve used Frog for OCR on Linux, which I believe uses Tesseract under the hood.) Let’s say I want to extract text from this picture: I run this command… ocr /path/to/photo.jpg …to get this output: The author's reflections on his situation- Is deceived by a pro...