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

# PortraitProcessor.minimumVerticalPosition Property

Module: PortraitProcessor

Type: int

## Definition

Minimum distance from the bottom edge of the image to the imaginary line passing through the center of the eyes is between 50% - 70% of the total vertical length of the image.

For ICAO compliance, the value must be in the range 30 to 50.

Hint

Default value is 30.

Python

    minimum_vertical_position: int

Exceptions

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

Dart

    int get minimumVerticalPosition => getMinimumVerticalPosition();
    set minimumVerticalPosition(int value) => setMinimumVerticalPosition(value);

Exceptions

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

C#

    public int minimumVerticalPosition
    {
        get => GetminimumVerticalPosition();
        set => SetminimumVerticalPosition(ref value);
    }

Exceptions

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

Java

    public int getMinimumVerticalPosition() throws FaceException
    public void setMinimumVerticalPosition(int minimumVerticalPosition) throws FaceException

Exceptions

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

Swift

    public var minimumVerticalPosition: Int
        get {
            return Int(try! getMinimumVerticalPosition())
        }
    }

Exceptions

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

C

    int id3FacePortraitProcessor_GetMinimumVerticalPosition (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * minimumVerticalPosition)
    int id3FacePortraitProcessor_SetMinimumVerticalPosition (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int minimumVerticalPosition)

Returns

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