getUnderExposureSensibility method

int getUnderExposureSensibility()

Gets the sensibility of the under-exposure classifier, from 0 to 255. The higher the value, the more sensitive the algorithm will be, meaning that it will be more likely to estimate under-exposed face images. Hint: Default value is 66.

return Sensibility of the under-exposure classifier, from 0 to 255. throws FaceException An error has occurred during Face Library execution.

Implementation

int getUnderExposureSensibility() {
  Pointer<Int> pUnderExposureSensibility = calloc();
  try {
    var err = faceSDK.id3FaceAnalyser_GetUnderExposureSensibility(_pHandle.value, pUnderExposureSensibility);
    if (err != FaceError.success.value) {
      throw FaceException(err);
    }
    final vUnderExposureSensibility = pUnderExposureSensibility.value;
    return vUnderExposureSensibility;
  } finally {
    calloc.free(pUnderExposureSensibility);
  }
}