Hello everyone, this is my first post. I should point out that the recording refers to Beta 3, but it also applies to the stable version 1.9.17.
The OCR with PDFpen script works correctly as shown in the video, but only if the focus remains on the selected and edited file. As soon as the focus changes, the changes to the PDF (OCR) disappear. With external conversion programs (owl PDF, for example), everything works fine. Apple’s Live Text IS NOT READ AT ALL.
Thank you
Which video are you referring to?
If you are seeing the changes in EagleFiler at all, that means they were saved to disk. Otherwise, EagleFiler wouldn’t have been able to load them. The script is just an automated way of doing an external conversion.
None of this is related to Apple’s Live Text. It’s not really clear to me what you were expecting to see but not seeing.
There’s more information about OCR and EagleFiler here.
Sorry, I forgot the attachment. 
Is the script even opening the file in PDFpen? I don’t see that happening in the video, and the file’s modification doesn’t seem to be changing.
I would expect Live Text to work and make the PDF text selectable even without using PDFpen.
Nop, doesn’t open pdf pen because I don’t have the app installed, it’s mandatory?
Yes, the point of the script is to use PDFpen to do the OCR (baking the text layer into the file). But, depending on what you’re trying to do, maybe Live Text is enough.
Simply I would like to be able to search for text inside the files, useful in managing personal documents like bills, financing etc etc. having said that in any case live text does NOT work. Sorry but I didn’t check that PDFpen was a commercial software, I thought it was a script to use an open source service like Tesseract. Perhaps it would be useful to implement a check on the installation of the app in the system, when the script is launched…
Normally, when you run an AppleScript, macOS will prompt you to locate the app if it’s missing. I’m not sure why that didn’t happen in your case.
Currently, the text needs to be baked into the PDF file in order for EagleFiler to search it. Here’s a thread where another customer used Tesseract to do it.
Thanks Michael, now everything is clear. For those interested, I recommend two commercial programs, one free and the other paid: PDF Gear (similar to Acrobat) and Owl PDF for OCR recognition!
1 Like