Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# 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.

Python

    maximum_iod: int

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Dart

    int get maximumIod => getMaximumIod();
    set maximumIod(int value) => setMaximumIod(value);

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C#

    public int maximumIod
    {
        get => GetmaximumIod();
        set => SetmaximumIod(ref value);
    }

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Java

    public int getMaximumIod() throws FaceException
    public void setMaximumIod(int maximumIod) throws FaceException

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Swift

    public var maximumIod: Int
        get {
            return Int(try! getMaximumIod())
        }
    }

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C

    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.