For normal text OCR works well. But automatically understanding what is what is more complex.
And actually understanding the context of what you're trying to use OCR on can work backward to determine what the text actually is, i.e. if it's a "Name" field then the probabilities of ambiguous letters may change (in the case of handwriting rec).
They store every word that MAY be in the scanned document.
So their OCR engine will find a lot of legitimate words, but it will also find a lot of words that don't sense too.
When putting in a term for searching, it looks at the entire index (both legit words and the garbage) and returns you the documents that match.
I think it's quite clever.
Bear in mind that this feature was many years ago, I have no idea if this is still the case.
Screenshot: https://s24953.pcdn.co/blog/wp-content/uploads/2018/02/longh...
Since it's not aimed for transcription (user doesn't know what he's looking for) but for retrieval (user knows what he's looking for), it can get away with mistakes.
References:
https://evernote.com/blog/how-evernotes-image-recognition-wo...
https://help.evernote.com/hc/en-us/articles/208314518-How-Ev...
I ask because it feels like I should have an app that lets me scan with my phone, process the text with OCR, then let me plain text search every scanned document I have.
The first part only natively made it into iOS Notes a year or two ago, but that whole experience above should be out of the box, IMHO…