Package 

Class DefaultHealthInsuranceCardScanner

    • Method Summary

      Modifier and Type Method Description
      Unit reinitWithValidationType(HealthInsuranceCardValidationType validationType) Init HealthInsuranceCardScanner with another validation type, by default validation type set up into HealthInsuranceCardValidationType.ValidationAutoSupported
      Unit setValidationType(HealthInsuranceCardValidationType validationType) Set new validation type in HealthInsuranceCardScanner, by default validation type set up into HealthInsuranceCardValidationType.ValidationAutoSupported
      HealthInsuranceCardRecognitionResult recognize(ByteArray image, Integer width, Integer height, Integer orientation) Extract data from EHIC in an N21 format image given as an byte array.
      HealthInsuranceCardRecognitionResult recognizeWithFinderOverlay(ByteArray image, Integer width, Integer height, Integer orientation, Rect finderRect) Extract data from EHIC in an N21 format image given as an byte array in specified finder overlay rect
      HealthInsuranceCardRecognitionResult recognizeJPEG(ByteArray image, Integer width, Integer height, Integer orientation) Extract data from EHIC in an JPEG image given as an byte array.
      HealthInsuranceCardRecognitionResult recognizeBitmap(Bitmap image, Integer orientation) Extract data from EHIC in an image given as Bitmap.
      HealthInsuranceCardRecognitionResult detectAndRecognize(ByteArray image, Integer width, Integer height, Integer orientation) Detect and extract data from EHIC in an N21 format image given as an byte array.
      HealthInsuranceCardRecognitionResult detectAndRecognizeWithFinderOverlay(ByteArray image, Integer width, Integer height, Integer orientation, Rect finderRect) Detect and extract data from EHIC in an N21 format image given as an byte array in specified finder overlay rect
      HealthInsuranceCardRecognitionResult detectAndRecognizeJPEG(ByteArray image, Integer width, Integer height, Integer orientation) Detect and extract data from EHIC in an JPEG image given as an byte array.
      HealthInsuranceCardRecognitionResult detectAndRecognizeBitmap(Bitmap image, Integer orientation) Detect and extract data from EHIC in an image given as Bitmap.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultHealthInsuranceCardScanner

        DefaultHealthInsuranceCardScanner(BlobManager blobManager)
    • Method Detail

      • reinitWithValidationType

         Unit reinitWithValidationType(HealthInsuranceCardValidationType validationType)

        Init HealthInsuranceCardScanner with another validation type, by default validation type set up into HealthInsuranceCardValidationType.ValidationAutoSupported

        Parameters:
        validationType - HealthInsuranceCardValidationType type of validation for HIC cards
      • setValidationType

         Unit setValidationType(HealthInsuranceCardValidationType validationType)

        Set new validation type in HealthInsuranceCardScanner, by default validation type set up into HealthInsuranceCardValidationType.ValidationAutoSupported

        Parameters:
        validationType - HealthInsuranceCardValidationType type of validation for HIC cards
      • recognize

         HealthInsuranceCardRecognitionResult recognize(ByteArray image, Integer width, Integer height, Integer orientation)

        Extract data from EHIC in an N21 format image given as an byte array.

        Parameters:
        image - An N21 format image containing an EHIC on a clean background.
        width - Image width.
        height - Image height.
        orientation - Image orientation in degrees.
      • recognizeWithFinderOverlay

         HealthInsuranceCardRecognitionResult recognizeWithFinderOverlay(ByteArray image, Integer width, Integer height, Integer orientation, Rect finderRect)

        Extract data from EHIC in an N21 format image given as an byte array in specified finder overlay rect

        Parameters:
        image - An N21 format image containing an EHIC on a clean background.
        width - Image width.
        height - Image height.
        orientation - Image orientation in degrees.
        finderRect - Image scanning area.
      • recognizeJPEG

         HealthInsuranceCardRecognitionResult recognizeJPEG(ByteArray image, Integer width, Integer height, Integer orientation)

        Extract data from EHIC in an JPEG image given as an byte array.

        Parameters:
        image - An JPEG format image containing an EHIC on a clean background.
        width - Image width.
        height - Image height.
        orientation - Image orientation in degrees.
      • recognizeBitmap

         HealthInsuranceCardRecognitionResult recognizeBitmap(Bitmap image, Integer orientation)

        Extract data from EHIC in an image given as Bitmap.

        Parameters:
        image - Bitmap containing an EHIC on a clean background.
        orientation - Image orientation in degrees.
      • detectAndRecognize

         HealthInsuranceCardRecognitionResult detectAndRecognize(ByteArray image, Integer width, Integer height, Integer orientation)

        Detect and extract data from EHIC in an N21 format image given as an byte array.

        Parameters:
        image - An N21 format image containing an EHIC on a clean background.
        width - Image width.
        height - Image height.
        orientation - Image orientation in degrees.
      • detectAndRecognizeWithFinderOverlay

         HealthInsuranceCardRecognitionResult detectAndRecognizeWithFinderOverlay(ByteArray image, Integer width, Integer height, Integer orientation, Rect finderRect)

        Detect and extract data from EHIC in an N21 format image given as an byte array in specified finder overlay rect

        Parameters:
        image - An N21 format image containing an EHIC on a clean background.
        width - Image width.
        height - Image height.
        orientation - Image orientation in degrees.
        finderRect - Image scanning area.
      • detectAndRecognizeJPEG

         HealthInsuranceCardRecognitionResult detectAndRecognizeJPEG(ByteArray image, Integer width, Integer height, Integer orientation)

        Detect and extract data from EHIC in an JPEG image given as an byte array.

        Parameters:
        image - An JPEG format image containing an EHIC on a clean background.
        width - Image width.
        height - Image height.
        orientation - Image orientation in degrees.
      • detectAndRecognizeBitmap

         HealthInsuranceCardRecognitionResult detectAndRecognizeBitmap(Bitmap image, Integer orientation)

        Detect and extract data from EHIC in an image given as Bitmap.

        Parameters:
        image - Bitmap containing an EHIC on a clean background.
        orientation - Image orientation in degrees.