recognize From Document
Performs OCR only (without PDF result) from the document with provided languages.
Return
Result.Success containing a instance of OcrResult or a Result.*Error if something went wrong.
Parameters
document
the document to perform OCR on