PortraitProcessor.maximumIod Property

Module: PortraitProcessor

Type: int

Definition

Maximum interocular distance (IOD), in pixels.

This parameter is used to prevent the subject from being too close to the camera.

Hint

Default value is 512.

maximum_iod: int

Exceptions

An error has occurred during Face Library execution.
int get maximumIod => getMaximumIod();
set maximumIod(int value) => setMaximumIod(value);

Exceptions

An error has occurred during Face Library execution.
public int maximumIod
{
    get => GetmaximumIod();
    set => SetmaximumIod(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getMaximumIod() throws FaceException
public void setMaximumIod(int maximumIod) throws FaceException

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetMaximumIod (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * maximumIod)
int id3FacePortraitProcessor_SetMaximumIod (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int maximumIod)

Returns

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