Hi there! Newbie here. I have a question regarding the viability of using Keyboard Maestro for automating image ocr.
Basically my question is: Is there any way to make the app write text OCR'ed from images dropped in a watched "hot folder" into the comments attribute of the image files themselves (not as separate text files or by converting to pdf)? So all image files added to a folder would automatically be scanned and have text contents of images added to the file attribute.
My use case is that I want to export my Evernote library to markdown files searchable from the Finder (or similar "shoebox" app like Eaglefiler or KeepIt). Many of my notes in Evernore contain images which are automatically OCR'd serverside by Evernote, but this OCR is not retained when exporting the notes. So, to somehow replicate the functionality – searching notes for the content of embedded image files – I would need to have an OCR output embedded as metadata in the image files. The most obvious spot is the extended attribute Comment, which, contrary to Finder comments, are persistent across file systems and cloud services).
Would Keyboard Maestro be able to do this?
I can read from the docs that it has an OCR Image action and a Set_File_Attribute action which can write to the Comment attribute.
Thanks in advance,