Package io.scanbot.ocr
Class TldrRecognizer
-
- All Implemented Interfaces:
public final class TldrRecognizer extends SelfDisposable
Performs OCR of text in various input image formats. Powered by Scanbot TLDR engine.
-
-
Constructor Summary
Constructors Constructor Description TldrRecognizer()
-
Method Summary
Modifier and Type Method Description final OcrPage
recognize(ByteArray nv21, Integer width, Integer height, Integer orientation)
final OcrPage
recognizeInAreaNV21(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect areaRect)
final OcrPage
recognizeBGR(ByteArray bgr, Integer width, Integer height, Integer orientation)
final OcrPage
recognizeJPEG(ByteArray jpeg, Integer orientation)
final OcrPage
recognizeInAreaJPEG(ByteArray jpeg, Integer orientation, Rect areaRect)
final OcrPage
recognizeBitmap(Bitmap bitmap, Integer orientation)
-
-
Method Detail
-
recognize
final OcrPage recognize(ByteArray nv21, Integer width, Integer height, Integer orientation)
-
recognizeInAreaNV21
final OcrPage recognizeInAreaNV21(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect areaRect)
-
recognizeBGR
final OcrPage recognizeBGR(ByteArray bgr, Integer width, Integer height, Integer orientation)
-
recognizeJPEG
final OcrPage recognizeJPEG(ByteArray jpeg, Integer orientation)
-
recognizeInAreaJPEG
final OcrPage recognizeInAreaJPEG(ByteArray jpeg, Integer orientation, Rect areaRect)
-
recognizeBitmap
final OcrPage recognizeBitmap(Bitmap bitmap, Integer orientation)
-
-
-
-