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

# Portrait.qualityScore Property

Module: Portrait

Type: int

## Definition

Unified quality score, from 0 to 100. -1 if not computed.

Python

    quality_score: int

Exceptions

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

Dart

    int get qualityScore => getQualityScore();

Exceptions

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

C#

    public int qualityScore
    {
        get => GetqualityScore();
    }

Exceptions

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

Java

    public int getQualityScore() throws FaceException

Exceptions

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

Swift

    public var qualityScore: Int
        get {
            return Int(try! getQualityScore())
        }
    }

Exceptions

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

C

    int id3FacePortrait_GetQualityScore (ID3_FACE_PORTRAIT hPortrait, int * qualityScore)

Returns

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