PortraitProcessor.maximumVerticalPosition Property

Module: PortraitProcessor

Type: int

Definition

Maximum 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 50.

maximum_vertical_position: int

Exceptions

An error has occurred during Face Library execution.
int get maximumVerticalPosition => getMaximumVerticalPosition();
set maximumVerticalPosition(int value) => setMaximumVerticalPosition(value);

Exceptions

An error has occurred during Face Library execution.
public int maximumVerticalPosition
{
    get => GetmaximumVerticalPosition();
    set => SetmaximumVerticalPosition(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getMaximumVerticalPosition() throws FaceException
public void setMaximumVerticalPosition(int maximumVerticalPosition) throws FaceException

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetMaximumVerticalPosition (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * maximumVerticalPosition)
int id3FacePortraitProcessor_SetMaximumVerticalPosition (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int maximumVerticalPosition)

Returns

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