FaceEncoder.minimalIod Property

Module: FaceEncoder

Type: int

Definition

Minimal interocular distance (IOD) in pixels required to perform a face encoding.

Hint

Default value is 30 pixels. It is not recommended to change this value.

Warning

Reducing the minimal required IOD to encode smaller face images may create unreliable face templates and significantly degrade recognition performances.

minimal_iod: int

Exceptions

An error has occurred during Face Library execution.
int get minimalIod => getMinimalIod();
set minimalIod(int value) => setMinimalIod(value);

Exceptions

An error has occurred during Face Library execution.
public int minimalIod
{
    get => GetminimalIod();
    set => SetminimalIod(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getMinimalIod() throws FaceException
public void setMinimalIod(int minimalIod) throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var minimalIod: Int
    get {
        return Int(try! getMinimalIod())
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FaceEncoder_GetMinimalIod (ID3_FACE_ENCODER hFaceEncoder, int * minimalIod)
int id3FaceEncoder_SetMinimalIod (ID3_FACE_ENCODER hFaceEncoder, int minimalIod)

Returns

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