Extract Text from an Image


Can anyone explain how to use Keyboard Maestro 9.0's OCR feature to extract text from an image and copy it to the clipboard?

Thanks for your help!


That's easy. It takes one action:

But you need to be aware of a few things.

  1. If it's not English, there are special steps you have to take.
  2. I'm guessing that the image you want is in a file. In that case change the top option in this action from Image to File.
  3. Although I haven't use the KM action much, I have used the underlying technology a lot. It isn't perfect, unless your image is pretty good quality.

You can also check this macro already discussed there

1 Like

In another context, see here for a OCR macro that sets the OCR language according to a trigger value:

Thanks so much, Sleepy! This is great!

Here's a macro that shows how to do it, and makes it very easy:

MACRO: OCR -- User-Selected Area by @ccstone

1 Like

Amazing!! Thanks so much!!