Package io.scanbot.mcscanner
Class MedicalCertificateRecognizer
-
- All Implemented Interfaces:
public final class MedicalCertificateRecognizer extends SelfDisposable
Performs detection and recognition of information in Medical Certificates
-
-
Field Summary
Fields Modifier and Type Field Description private final String
tessDataPath
-
Constructor Summary
Constructors Constructor Description MedicalCertificateRecognizer(String tessDataPath)
-
Method Summary
Modifier and Type Method Description final String
getTessDataPath()
final MedicalCertificateRecognizerResultInfo
recognizeMc(ByteArray nv21, Integer width, Integer height, Integer orientation, Boolean returnCroppedDocument, Boolean recognizePatientInfo, Boolean recognizeBarcode)
final MedicalCertificateRecognizerResultInfo
recognizeMcInArea(ByteArray nv21, Integer width, Integer height, Integer orientation, Boolean returnCroppedDocument, Boolean recognizePatientInfo, Boolean recognizeBarcode, Rect visibleRect)
final MedicalCertificateRecognizerResultInfo
recognizeMcBgr(ByteArray bgr, Integer width, Integer height, Integer orientation, Boolean shouldCropDocument, Boolean returnCroppedDocument, Boolean recognizePatientInfo, Boolean recognizeBarcode)
final MedicalCertificateRecognizerResultInfo
recognizeMcJpeg(ByteArray image, Integer orientation, Boolean shouldCropDocument, Boolean returnCroppedDocument, Boolean recognizePatientInfo, Boolean recognizeBarcode)
final MedicalCertificateRecognizerResultInfo
recognizeMcBitmap(Bitmap image, Integer orientation, Boolean shouldCropDocument, Boolean returnCroppedDocument, Boolean recognizePatientInfo, Boolean recognizeBarcode)
-
-
Constructor Detail
-
MedicalCertificateRecognizer
MedicalCertificateRecognizer(String tessDataPath)
-
-
Method Detail
-
getTessDataPath
final String getTessDataPath()
-
recognizeMc
final MedicalCertificateRecognizerResultInfo recognizeMc(ByteArray nv21, Integer width, Integer height, Integer orientation, Boolean returnCroppedDocument, Boolean recognizePatientInfo, Boolean recognizeBarcode)
-
recognizeMcInArea
final MedicalCertificateRecognizerResultInfo recognizeMcInArea(ByteArray nv21, Integer width, Integer height, Integer orientation, Boolean returnCroppedDocument, Boolean recognizePatientInfo, Boolean recognizeBarcode, Rect visibleRect)
-
recognizeMcBgr
final MedicalCertificateRecognizerResultInfo recognizeMcBgr(ByteArray bgr, Integer width, Integer height, Integer orientation, Boolean shouldCropDocument, Boolean returnCroppedDocument, Boolean recognizePatientInfo, Boolean recognizeBarcode)
-
recognizeMcJpeg
final MedicalCertificateRecognizerResultInfo recognizeMcJpeg(ByteArray image, Integer orientation, Boolean shouldCropDocument, Boolean returnCroppedDocument, Boolean recognizePatientInfo, Boolean recognizeBarcode)
-
recognizeMcBitmap
final MedicalCertificateRecognizerResultInfo recognizeMcBitmap(Bitmap image, Integer orientation, Boolean shouldCropDocument, Boolean returnCroppedDocument, Boolean recognizePatientInfo, Boolean recognizeBarcode)
-
-
-
-