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

# PortraitProcessor.maximumPitchAngle Property

Module: PortraitProcessor

Type: float

## Definition

Maximum head pitch angle, in degrees, for frontal positioning.

Hint

Default value is 20.

Python

    maximum_pitch_angle: float

Exceptions

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

Dart

    double get maximumPitchAngle => getMaximumPitchAngle();
    set maximumPitchAngle(double value) => setMaximumPitchAngle(value);

Exceptions

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

C#

    public float maximumPitchAngle
    {
        get => GetmaximumPitchAngle();
        set => SetmaximumPitchAngle(ref value);
    }

Exceptions

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

Java

    public float getMaximumPitchAngle() throws FaceException
    public void setMaximumPitchAngle(float maximumPitchAngle) throws FaceException

Exceptions

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

Swift

    public var maximumPitchAngle: Float
        get {
            return try! getMaximumPitchAngle()
        }
    }

Exceptions

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

C

    int id3FacePortraitProcessor_GetMaximumPitchAngle (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, float * maximumPitchAngle)
    int id3FacePortraitProcessor_SetMaximumPitchAngle (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, float maximumPitchAngle)

Returns

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