Class DefaultMedicalCertificateRecognizer

    • Constructor Detail

      • DefaultMedicalCertificateRecognizer

        DefaultMedicalCertificateRecognizer(BlobManager blobManager)
    • Method Detail

      • recognizeMc

         MedicalCertificateRecognizerResult recognizeMc(ByteArray nv21, Integer width, Integer height, Integer orientation, Boolean recognizePatientInfo, Boolean returnCroppedDocument, Boolean recognizeBarcode, Rect visibleRect)

        Performs MC page detection and data recognition on the NV21 format image. Input image can contain background elements.

        Parameters:
        recognizePatientInfo -
        • Recognition of Patient Information block. true if enabled

        returnCroppedDocument -
        • Image extraction with the result. true if enabled

        recognizeBarcode -
        • Reading data from barcode, if it's present on document, could make data recognition more accurate. true if enabled.

      • recognizeMcBgr

         MedicalCertificateRecognizerResult recognizeMcBgr(ByteArray bgr, Integer width, Integer height, Integer orientation, Boolean shouldCropDocument, Boolean returnCroppedDocument, Boolean recognizePatientInfo, Boolean recognizeBarcode)

        Performs MC page detection and data recognition on the BGR format image. Input image can contain background elements.

        Parameters:
        shouldCropDocument -
        • true if document should be detected before scanning, false - otherwise

        returnCroppedDocument -
        • true if user need to get cropped document after scanning, false - otherwise

        recognizePatientInfo -
        • Recognition of Patient Information block. true if enabled

        recognizeBarcode -
        • Reading data from barcode, if it's present on document, could make data recognition more accurate. true if enabled.

      • recognizeMcJpeg

         MedicalCertificateRecognizerResult recognizeMcJpeg(ByteArray image, Integer orientation, Boolean shouldCropDocument, Boolean returnCroppedDocument, Boolean recognizePatientInfo, Boolean recognizeBarcode)

        Performs MC data recognition on the JPEG image. Input image can contain background elements.

        Parameters:
        shouldCropDocument -
        • true if document should be detected before scanning, false - otherwise

        returnCroppedDocument -
        • true if user need to get cropped document after scanning, false - otherwise

        recognizePatientInfo -
        • Recognition of Patient Information block. true if enabled

        recognizeBarcode -
        • Reading data from barcode, if it's present on document, could make data recognition more accurate. true if enabled.

      • recognizeMcBitmap

         MedicalCertificateRecognizerResult recognizeMcBitmap(Bitmap image, Integer orientation, Boolean shouldCropDocument, Boolean returnCroppedDocument, Boolean recognizePatientInfo, Boolean recognizeBarcode)

        Performs MC data recognition on the Bitmap. Input image can contain background elements.

        Parameters:
        shouldCropDocument -
        • true if document should be detected before scanning, false - otherwise

        returnCroppedDocument -
        • true if user need to get cropped document after scanning, false - otherwise

        recognizePatientInfo -
        • Recognition of Patient Information block. true if enabled

        recognizeBarcode -
        • Reading data from barcode, if it's present on document, could make data recognition more accurate. true if enabled.