My guess is Apple trained on their own massive dataset and better architectures that make their systems better than off the shelf ocr.
I am working in this area and one way I see good improvement is training an object detector to first detect words in an image, then you can pass that through tesseract/OCR software. Besides that, finetuning tesseract on data you want strong performance would be the next best alternative.
Here is a cool article from dropbox how they engineering their OCR system: https://blogs.dropbox.com/tech/2017/04/creating-a-modern-ocr...
This link below is a really cool project that showcases what building your own OCR engine would look like!
https://github.com/awslabs/handwritten-text-recognition-for-...
I would also vouch for google’s ocr API but I opted for Apple’s for privacy reasons and as they were easier to implement.
Thank you for respecting user privacy and making it a first class citizen.
This is the script I wrote for that purpose (maybe it helps): https://nopaste.xyz/?ea1e6242a659ce5c#vAMyPpajo0OIeCGQe9Wkdq...
The results aren't perfect, but good enough for my purpose.
I was also left with a feeling that I must have been missing some trick, because people on the web seem to be using it with good results.
It handles OCR, indexing and search
iOS 13.0+ macOS 10.15+ Mac Catalyst 13.0+ tvOS 13.0+
https://developer.apple.com/documentation/vision/vnrecognize...
Like, I've got scans of letters, machine-written, 300dpi, perfect black/white 1-bit depth, no marks or scratches, perfect quality — and OCRmyPDF (using tesseract) absolutely fails at this task, returning only bullshit. Even if I set the language correctly, or even set the wordlist to a manual transcription of the PDF.
I also tried using OCR on screenshots, with the same miserable result.
How does Apple’s Vision API do so much better at this kind of task? Is there some trick I'm missing?
Like, the images I supply are of such high quality that you can literally just split into characters and search for the nearest match in a database of latin characters, and even that would return better results than tesseract.