Open Source
macOCR
macOCR is a command line app that enables you to turn any text on your screen into text on your clipboard. When you invoke the ocr command, a "screen capture" like cursor is shown. Any text within the bounds will be converted to text.
View on GitHub