public class StubHealthInsuranceCardScanner implements HealthInsuranceCardScanner
Stub interface HealthInsuranceCardScanner implementation
interface HealthInsuranceCardScannerpublic StubHealthInsuranceCardScanner(@Nullable
io.scanbot.sap.SapManager sapManager)
Stub interface HealthInsuranceCardScanner implementation
interface HealthInsuranceCardScannerpublic void reinitWithValidationType(@NotNull
io.scanbot.hicscanner.HealthInsuranceCardValidationType validationType)
Init HealthInsuranceCardScanner with another validation type, by default validation type set up into HealthInsuranceCardValidationType.ValidationAutoSupported
validationType - HealthInsuranceCardValidationType type of validation for HIC cardspublic void setValidationType(@NotNull
io.scanbot.hicscanner.HealthInsuranceCardValidationType validationType)
Set new validation type in HealthInsuranceCardScanner, by default validation type set up into HealthInsuranceCardValidationType.ValidationAutoSupported
validationType - HealthInsuranceCardValidationType type of validation for HIC cards@Nullable
public io.scanbot.hicscanner.model.HealthInsuranceCardRecognitionResult recognize(@NotNull
kotlin.Array[] image,
int width,
int height,
int orientation)
Extract data from EHIC in an N21 format image given as an byte array.
image - An N21 format image containing an EHIC on a clean background.width - Image width.height - Image height.orientation - Image orientation in degrees.@Nullable
public io.scanbot.hicscanner.model.HealthInsuranceCardRecognitionResult recognizeWithFinderOverlay(@NotNull
kotlin.Array[] image,
int width,
int height,
int orientation,
@NotNull
android.graphics.Rect finderRect)
Extract data from EHIC in an N21 format image given as an byte array in specified finder overlay rect
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.@Nullable
public io.scanbot.hicscanner.model.HealthInsuranceCardRecognitionResult recognizeJPEG(@NotNull
kotlin.Array[] image,
int width,
int height,
int orientation)
Extract data from EHIC in an JPEG image given as an byte array.
image - An JPEG format image containing an EHIC on a clean background.width - Image width.height - Image height.orientation - Image orientation in degrees.@Nullable
public io.scanbot.hicscanner.model.HealthInsuranceCardRecognitionResult recognizeBitmap(@NotNull
android.graphics.Bitmap image,
int orientation)
Extract data from EHIC in an image given as Bitmap.
image - Bitmap containing an EHIC on a clean background.orientation - Image orientation in degrees.@Nullable
public io.scanbot.hicscanner.model.HealthInsuranceCardRecognitionResult detectAndRecognize(@NotNull
kotlin.Array[] image,
int width,
int height,
int orientation)
Detect and extract data from EHIC in an N21 format image given as an byte array.
image - An N21 format image containing an EHIC on a clean background.width - Image width.height - Image height.orientation - Image orientation in degrees.@Nullable
public io.scanbot.hicscanner.model.HealthInsuranceCardRecognitionResult detectAndRecognizeWithFinderOverlay(@NotNull
kotlin.Array[] image,
int width,
int height,
int orientation,
@NotNull
android.graphics.Rect finderRect)
Detect and extract data from EHIC in an N21 format image given as an byte array in specified finder overlay rect
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.@Nullable
public io.scanbot.hicscanner.model.HealthInsuranceCardRecognitionResult detectAndRecognizeJPEG(@NotNull
kotlin.Array[] image,
int width,
int height,
int orientation)
Detect and extract data from EHIC in an JPEG image given as an byte array.
image - An JPEG format image containing an EHIC on a clean background.width - Image width.height - Image height.orientation - Image orientation in degrees.@Nullable
public io.scanbot.hicscanner.model.HealthInsuranceCardRecognitionResult detectAndRecognizeBitmap(@NotNull
android.graphics.Bitmap image,
int orientation)
Detect and extract data from EHIC in an image given as Bitmap.
image - Bitmap containing an EHIC on a clean background.orientation - Image orientation in degrees.