MrzReader.binarizationMethod Property

Module: MrzReader

Type: int

Definition

Selection of the binarization method internally used in the algorithm.

binarization_method: int

Exceptions

An error has occurred during Document Library execution.
int get binarizationMethod => getBinarizationMethod();
set binarizationMethod(int value) => setBinarizationMethod(value);

Exceptions

An error has occurred during Document Library execution.
public int binarizationMethod
{
    get => GetbinarizationMethod();
    set => SetbinarizationMethod(ref value);
}

Exceptions

An error has occurred during Document Library execution.
public int getBinarizationMethod() throws DocumentException
public void setBinarizationMethod(int binarizationMethod) throws DocumentException

Exceptions

An error has occurred during Document Library execution.
public var binarizationMethod: Int
    get {
        return Int(try! getBinarizationMethod())
    }
}

Exceptions

An error has occurred during Document Library execution.
int id3DocumentMrzReader_GetBinarizationMethod (ID3_DOCUMENT_MRZ_READER hMrzReader, int * binarizationMethod)
int id3DocumentMrzReader_SetBinarizationMethod (ID3_DOCUMENT_MRZ_READER hMrzReader, int binarizationMethod)

Returns

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