MrzReader Class¶
Namespace: id3.Document
Definition¶
Detects and reads an MRZ in an image.
class MrzReader
class MrzReader implements Finalizable
public partial class MrzReader
public class MrzReader implements AutoCloseable, Serializable
public class MrzReader
typedef struct id3DocumentMrzReader *ID3_DOCUMENT_MRZ_READER;
Usage¶
mrzReaderInstance = MrzReader()
# ...
Explicit destruction
# ...
del mrzReaderInstance
final mrzReaderInstance = sdk.MrzReader();
// ...
Explicit destruction
// ...
mrzReaderInstance.dispose()
using (var mrzReaderInstance = new MrzReader())
{
// ...
}
Explicit destruction
var mrzReaderInstance = new MrzReader()
// ...
mrzReaderInstance.Dispose()
try (MrzReader mrzReaderInstance = new MrzReader()) {
// ...
}
Explicit destruction
MrzReader mrzReaderInstance = new MrzReader();
// ...
mrzReaderInstance.close();
private var mrzReaderInstance: MrzReader? = nil
mrzReaderInstance = try MrzReader()
ID3_DOCUMENT_MRZ_READER hMrzReader{};
int err = id3DocumentMrzReader_Initialize(&hMrzReader);
if (err == ID3_SUCCESS) {
// ...
id3DocumentMrzReader_Dispose(&hMrzReader);
}
Properties¶
Name |
Type |
Description |
---|---|---|
int |
Selection of the binarization method internally used in the algorithm. |
|
AI model used to detect the MRZ. |
||
Processing unit where to run the detection process. |
||
int |
Number of threads to use for reading. |
Methods¶
Name |
Description |
---|---|
Detects and reads an MRZ in an image. |