Interface MedicalCertificateRecognizer

    • Constructor Detail

    • Method Detail

      • recognizeMc

         abstract MedicalCertificateRecognizerResult recognizeMc(ByteArray nv21, Integer width, Integer height, Integer orientation)

        Performs MC page detection and data recognition on the NV21 format image. Input image can contain background elements. Recognition of Patient Information block is disabled. Image extraction is disabled. Barcode recognition is disabled

      • recognizeMc

         abstract 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

         abstract 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

         abstract 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

         abstract 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.