recognizeFromUris

open override fun recognizeFromUris(imageFileUris: List<Uri>, sourceFilesEncrypted: Boolean): Result<OcrResult>

Performs OCR only (without PDF result) from Images with provided languages.

Return

Result.Success containing a instance of OcrResult or a subclass of Result.Failure if something goes wrong.

Parameters

imageFileUris

list of image file URIs

sourceFilesEncrypted

if true, the image files are encrypted and will be decrypted before OCR