MrzReader.processingUnit Property

Module: MrzReader

Type: ProcessingUnit

Definition

Processing unit where to run the detection process.

Hint

Default value is CPU.

processing_unit: ProcessingUnit

Exceptions

An error has occurred during Document Library execution.
ProcessingUnit get processingUnit => getProcessingUnit();
set processingUnit(ProcessingUnit value) => setProcessingUnit(value);

Exceptions

An error has occurred during Document Library execution.
public ProcessingUnit processingUnit
{
    get => GetprocessingUnit();
    set => SetprocessingUnit(ref value);
}

Exceptions

An error has occurred during Document Library execution.
public ProcessingUnit getProcessingUnit() throws DocumentException
public void setProcessingUnit(ProcessingUnit processingUnit) throws DocumentException

Exceptions

An error has occurred during Document Library execution.
public var processingUnit: ProcessingUnit
    get {
        return try! getProcessingUnit()
    }
}

Exceptions

An error has occurred during Document Library execution.
int id3DocumentMrzReader_GetProcessingUnit (ID3_DOCUMENT_MRZ_READER hMrzReader, id3DocumentProcessingUnit * eProcessingUnit)
int id3DocumentMrzReader_SetProcessingUnit (ID3_DOCUMENT_MRZ_READER hMrzReader, id3DocumentProcessingUnit eProcessingUnit)

Returns

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