# getMakeupThreshold method

int getMakeupThreshold()

Gets the make-up detection threshold. If the detection score is above this value, the persone is definitely wearing make-up. Hint: Default value 50.

return Make-up detection threshold. throws FaceException An error has occurred during Face Library execution.

## Implementation

    int getMakeupThreshold() {
      Pointer<Int> pMakeupThreshold = calloc();
      try {
        var err = faceSDK.id3FacePortraitProcessor_GetMakeupThreshold(_pHandle.value, pMakeupThreshold);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vMakeupThreshold = pMakeupThreshold.value;
        return vMakeupThreshold;
      } finally {
        calloc.free(pMakeupThreshold);
      }
    }