Only a table derailed it a bit, but that is to be expected. I tried it out with a JPEG that was converted from PDF in Preview, and the results where actually quite good. The script can be run with osascript -l JavaScript \ or copy/pasted into Script Editor and run there. They’re only talking about images, and only about apparently very short sequences of text (business cards and the like).Īnd just for the heck of it, sample some JavaScript code that uses the vision framework for text recognition. And Apple also keeps suspiciously mum about anything remotely resembling OCR in documents. For example, a normal two column text from a newspaper.Īlso: does it work locally or does it require an Internet connection?Įdit: Answering this last question, Apple claims that everything happens on the local device. And I haven’t heard anything about it in this context. I’m aware of the abilities of the vision Framework for short pieces of text, and that’s what I use, too.īut for a real document, I have no idea.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |