MrzReader.model Property

Module: MrzReader

Type: DocumentModel

Definition

AI model used to detect the MRZ.

Hint

Default value is MrzDetector2A.

model: DocumentModel

Exceptions

An error has occurred during Document Library execution.
DocumentModel get model => getModel();
set model(DocumentModel value) => setModel(value);

Exceptions

An error has occurred during Document Library execution.
public DocumentModel model
{
    get => Getmodel();
    set => Setmodel(ref value);
}

Exceptions

An error has occurred during Document Library execution.
public DocumentModel getModel() throws DocumentException
public void setModel(DocumentModel model) throws DocumentException

Exceptions

An error has occurred during Document Library execution.
public var model: DocumentModel
    get {
        return try! getModel()
    }
}

Exceptions

An error has occurred during Document Library execution.
int id3DocumentMrzReader_GetModel (ID3_DOCUMENT_MRZ_READER hMrzReader, id3DocumentModel * eModel)
int id3DocumentMrzReader_SetModel (ID3_DOCUMENT_MRZ_READER hMrzReader, id3DocumentModel eModel)

Returns

int
An error code.
See id3DocumentError file for the list of possible error codes.