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

# Portrait.padScore Property

Module: Portrait

Type: int

## Definition

Score of the presentation attack detection.

Python

    pad_score: int

Exceptions

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

Dart

    int get padScore => getPadScore();

Exceptions

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

C#

    public int padScore
    {
        get => GetpadScore();
    }

Exceptions

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

Java

    public int getPadScore() throws FaceException

Exceptions

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

Swift

    public var padScore: Int
        get {
            return Int(try! getPadScore())
        }
    }

Exceptions

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

C

    int id3FacePortrait_GetPadScore (ID3_FACE_PORTRAIT hPortrait, int * padScore)

Returns

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