Package io.scanbot.hicscanner
Class HICRecognizer
-
- All Implemented Interfaces:
public final class HICRecognizer extends SelfDisposable
Recognizer for European health insurance cards (EHIC), The recognizer performs validation on the result that is specific to German and Austrian cards and returns a failure result if any of the fields that can be validated fail validation.
-
-
Constructor Summary
Constructors Constructor Description HICRecognizer(String tessDataPath)
-
Method Summary
Modifier and Type Method Description final HealthInsuranceCardRecognitionResult
detectAndRecognizeFromNV21(ByteArray nv21, Integer width, Integer height, Integer orientation)
final HealthInsuranceCardRecognitionResult
detectAndRecognizeInAreaFromNV21(ByteArray nv21, Integer width, Integer height, Rect areaRect, Integer orientation)
final HealthInsuranceCardRecognitionResult
detectAndRecognizeFromJPEG(ByteArray jpeg, Integer orientation)
final HealthInsuranceCardRecognitionResult
detectAndRecognizeFromBitmap(Bitmap image, Integer orientation)
final Unit
clear()
Clears the result accumulation cache (for live detection). -
-
Constructor Detail
-
HICRecognizer
HICRecognizer(String tessDataPath)
-
-
Method Detail
-
detectAndRecognizeFromNV21
final HealthInsuranceCardRecognitionResult detectAndRecognizeFromNV21(ByteArray nv21, Integer width, Integer height, Integer orientation)
-
detectAndRecognizeInAreaFromNV21
final HealthInsuranceCardRecognitionResult detectAndRecognizeInAreaFromNV21(ByteArray nv21, Integer width, Integer height, Rect areaRect, Integer orientation)
-
detectAndRecognizeFromJPEG
final HealthInsuranceCardRecognitionResult detectAndRecognizeFromJPEG(ByteArray jpeg, Integer orientation)
-
detectAndRecognizeFromBitmap
final HealthInsuranceCardRecognitionResult detectAndRecognizeFromBitmap(Bitmap image, Integer orientation)
-
-
-
-