-
- All Implemented Interfaces:
-
io.scanbot.sdk.hicscanner.HealthInsuranceCardScanner
public final class DefaultHealthInsuranceCardScanner implements HealthInsuranceCardScanner
Default HealthInsuranceCardScanner implementation
-
-
Constructor Summary
Constructors Constructor Description DefaultHealthInsuranceCardScanner(BlobManager blobManager)
-
Method Summary
Modifier and Type Method Description UnitreinitWithValidationType(HealthInsuranceCardValidationType validationType)Init HealthInsuranceCardScanner with another validation type, by default validation type set up into HealthInsuranceCardValidationType.ValidationAutoSupported UnitsetValidationType(HealthInsuranceCardValidationType validationType)Set new validation type in HealthInsuranceCardScanner, by default validation type set up into HealthInsuranceCardValidationType.ValidationAutoSupported HealthInsuranceCardRecognitionResultrecognize(ByteArray image, Integer width, Integer height, Integer orientation)Extract data from EHIC in an N21 format image given as an byte array. HealthInsuranceCardRecognitionResultrecognizeWithFinderOverlay(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 HealthInsuranceCardRecognitionResultrecognizeJPEG(ByteArray image, Integer width, Integer height, Integer orientation)Extract data from EHIC in an JPEG image given as an byte array. HealthInsuranceCardRecognitionResultrecognizeBitmap(Bitmap image, Integer orientation)Extract data from EHIC in an image given as Bitmap. HealthInsuranceCardRecognitionResultdetectAndRecognize(ByteArray image, Integer width, Integer height, Integer orientation)Detect and extract data from EHIC in an N21 format image given as an byte array. HealthInsuranceCardRecognitionResultdetectAndRecognizeWithFinderOverlay(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 HealthInsuranceCardRecognitionResultdetectAndRecognizeJPEG(ByteArray image, Integer width, Integer height, Integer orientation)Detect and extract data from EHIC in an JPEG image given as an byte array. HealthInsuranceCardRecognitionResultdetectAndRecognizeBitmap(Bitmap image, Integer orientation)Detect and extract data from EHIC in an image given as Bitmap. -
-
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.
-
-
-
-