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

# FaceAnalyser.expressionSensibility Property

Module: FaceAnalyser

Type: int

## Definition

Sensibility of the expression classifier.

The higher the value, the more sensitive the algorithm will be, meaning that it will be less likely to estimate neutral expression out of the detected face.

Hint

Default value is 60.

Python

    expression_sensibility: int

Exceptions

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

Dart

    int get expressionSensibility => getExpressionSensibility();
    set expressionSensibility(int value) => setExpressionSensibility(value);

Exceptions

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

C#

    public int expressionSensibility
    {
        get => GetexpressionSensibility();
        set => SetexpressionSensibility(ref value);
    }

Exceptions

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

Java

    public int getExpressionSensibility() throws FaceException
    public void setExpressionSensibility(int expressionSensibility) throws FaceException

Exceptions

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

Swift

    public var expressionSensibility: Int
        get {
            return Int(try! getExpressionSensibility())
        }
    }

Exceptions

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

C

    int id3FaceAnalyser_GetExpressionSensibility (ID3_FACE_ANALYSER hFaceAnalyser, int * expressionSensibility)
    int id3FaceAnalyser_SetExpressionSensibility (ID3_FACE_ANALYSER hFaceAnalyser, int expressionSensibility)

Returns

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