recognizeFromBitmap

open override fun recognizeFromBitmap(bitmap: Bitmap): Result<OcrResult>

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

Return

Result.Success containing a instance of OcrResult or a Result.*Error if something went wrong.

Parameters

bitmap

the bitmap to perform OCR on