I upgraded to Mac Osx 15 and OCR stopped working. I have Keyboard Maestro 10. I've enabled all settings (given all permissions) I can think of in Privacy and Security:
-Accessibility
-App Management
-Automation
-Input monitoring
-Local Network
-Screen and System Audio Recording
Is there anything else I need to enable to OCR works?
If not, will there be a fix for KM10 on Mac OS 15 or should I buy KM 11?
Do we know if OCR works on KM11 in OSX 15?
Thanks in advance!
-Scott
(long time lover of KM, first time posting)
I presume Peter is starting to look into macOS 15, but there have been no announcements. There's nothing wrong with your question, and I'm pretty sure Peter will try to make OCR work on macOS 15, and I predict he will succeed. There is usually a period of time after an OS is released before KM is updated to support it, and macOS 15 has not been publicly released yet. So you're not likely to get an answer so early.
How weird. My Sequoia Mac is quite basic, new only a few months ago, and I've confirmed screen recording permissions are granted. (And other apps I use that require screen recording are working.) I'll try some more troubleshooting tomorrow.
I had no issues using Apple Text Recognition in Sequoia.
However the Tesseract text recognition was failing in my tests with a memory corruption issue - whether this indicates a bug in Tesseract or a bug in Sequoia, I don't know.
The first step I would try is ensuring that Keyboard Maestro can screen capture the desired area using the Screen Capture action with the same settings as the OCR action. If it can't, then you know the issue is with Screen Capture permissions or Accessibility permissions.
If it can, and the Apple Text Recognition fails, then that would be hard to understand.
OCR Image cannot get target error implies that Keyboard Maestro could not capture the target image (ie, this happens before it tries to OCR).
Works properly with Apple Text Recognition, but only in english. Spits out gibberish for other languages. Strange because if I take a screenshot of the text, it identifies the text and allows copying perfectly out of preview so Apple's OCR does recognize the language well
You can make use of Keyboard Maestro's Execute Shortcut Action to access Apple OCR and Apple Translate from within your KM Macros. I do not know what your Macro is doing or looks like but the below should give you the idea. In my testing it worked fine to translate from Polish to English (MacOS Sequoia 15.01 and Keyboard Maestro 11.0.3)
You can edit the Apple Shortcut to do what you want in terms of language to translate from and to and whether you want it to do a screenshot (as I did) or to get the text from an image.
Of course, you don't have to have it translate - it can return the recognised text in the original Polish (by simply deleting the last step in the Apple Shortcut) if that is what you are wanting to do.
Ah - I see what you mean. The interesting thing is that it does recognise the text as Polish and can save it and can translate it to English, but if it is left as Polish it does not include some of the special characters in the text output.
Thanks, this helps a lot. The old pre-Sequoia OCR macro had also stopped working for me and getting Keyboard Maestro to trigger OCR via Apple Shortcut works now.