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

# PortraitProcessor.minimumIod Property

Module: PortraitProcessor

Type: int

## Definition

Minimum intra-occular distance, in pixels.

This parameter is used to the limit the distance from the subject to the camera.

Hint

Default value is 0.

Python

    minimum_iod: int

Exceptions

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

Dart

    int get minimumIod => getMinimumIod();
    set minimumIod(int value) => setMinimumIod(value);

Exceptions

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

C#

    public int minimumIod
    {
        get => GetminimumIod();
        set => SetminimumIod(ref value);
    }

Exceptions

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

Java

    public int getMinimumIod() throws FaceException
    public void setMinimumIod(int minimumIod) throws FaceException

Exceptions

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

Swift

    public var minimumIod: Int
        get {
            return Int(try! getMinimumIod())
        }
    }

Exceptions

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

C

    int id3FacePortraitProcessor_GetMinimumIod (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * minimumIod)
    int id3FacePortraitProcessor_SetMinimumIod (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int minimumIod)

Returns

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