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

# DetectedFace.detectionScore Property

Module: DetectedFace

Type: int

## Definition

Confidence score of the detected face.

Python

    detection_score: int

Exceptions

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

Dart

    int get detectionScore => getDetectionScore();

Exceptions

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

C#

    public int detectionScore
    {
        get => GetdetectionScore();
    }

Exceptions

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

Java

    public int getDetectionScore() throws FaceException

Exceptions

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

Swift

    public var detectionScore: Int
        get {
            return Int(try! getDetectionScore())
        }
    }

Exceptions

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

C

    int id3DetectedFace_GetDetectionScore (ID3_DETECTED_FACE hDetectedFace, int * detectionScore)

Returns

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