Optical Character Recognition (OCR) Shortcuts

The Shortcuts app does a good job of OCR, and I’ve included two shortcuts below. I have only tested these with documents that contain English text.

The first shortcut performs OCR on a file selected by the user:

OCR File.shortcut (23.0 KB)

The second shortcut prompts the user to select an area of the screen and performs OCR on text within the selected area. This shortcut uses the multi-condition if statement introduced in Sequoia, and I don’t know what happens if you have an older version of macOS. The following screenshot only shows a portion of the shortcut.

OCR Select.shortcut (22.9 KB)