MrzReader class
Detects and reads an MRZ in an image.
- Implemented types
Constructors
- MrzReader()
- Creates a new instance of the MrzReader class.
-
MrzReader.fromHandle(Pointer<
id3DocumentMrzReader> handle) - Creates a new instance of the MrzReader class.
Properties
- binarizationMethod ↔ int
-
Selection of the binarization method internally used in the algorithm.
getter/setter pair
-
handle
→ Pointer<
id3DocumentMrzReader> -
Gets the native handle.
return The native handle.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- model ↔ DocumentModel
-
AI model used to detect the MRZ.
Hint: Default value is MrzDetector2A.
getter/setter pair
- processingUnit ↔ ProcessingUnit
-
Processing unit where to run the detection process.
Hint: Default value is CPU.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- threadCount ↔ int
-
Number of threads to use for reading.
Hint: Default value is 1. Allocating more than 1 thread here can increase the speed of the process.
getter/setter pair
Methods
-
dispose(
) → void - Releases all resources used by this MrzReader.
-
getBinarizationMethod(
) → int - Gets the selection of the binarization method internally used in the algorithm.
-
getModel(
) → DocumentModel - Gets the AI model used to detect the MRZ. Hint: Default value is MrzDetector2A.
-
getProcessingUnit(
) → ProcessingUnit - Gets the processing unit where to run the detection process. Hint: Default value is CPU.
-
getThreadCount(
) → int - Gets the number of threads to use for reading. Hint: Default value is 1. Allocating more than 1 thread here can increase the speed of the process.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readMrz(
DocumentImage image) → MrzReadingResult - Detects and reads an MRZ in an image.
-
setBinarizationMethod(
int binarizationMethod) → void - Sets the selection of the binarization method internally used in the algorithm.
-
setModel(
DocumentModel model) → void - Sets the AI model used to detect the MRZ. Hint: Default value is MrzDetector2A.
-
setProcessingUnit(
ProcessingUnit processingUnit) → void - Sets the processing unit where to run the detection process. Hint: Default value is CPU.
-
setThreadCount(
int threadCount) → void - Sets the number of threads to use for reading. Hint: Default value is 1. Allocating more than 1 thread here can increase the speed of the process.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited