# getQualityScore method

int getQualityScore()

Gets the unified quality score, from 0 to 100. -1 if not computed.

return Unified quality score, from 0 to 100. -1 if not computed. throws FaceException An error has occurred during Face Library execution.

## Implementation

    int getQualityScore() {
      Pointer<Int> pQualityScore = calloc();
      try {
        var err = faceSDK.id3FacePortrait_GetQualityScore(_pHandle.value, pQualityScore);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vQualityScore = pQualityScore.value;
        return vQualityScore;
      } finally {
        calloc.free(pQualityScore);
      }
    }