setTintedGlassThreshold method
- int tintedGlassThreshold
Sets the tinted glass detection threshold. If the score is above this value, the person is definitely wearing tinted glasses. Hint: Default value 25.
param tintedGlassThreshold Tinted glass detection threshold. throws FaceException An error has occurred during Face Library execution.
Implementation
void setTintedGlassThreshold(int tintedGlassThreshold) {
var err = faceSDK.id3FacePortraitProcessor_SetTintedGlassThreshold(_pHandle.value, tintedGlassThreshold);
if (err != FaceError.success.value) {
throw FaceException(err);
}
}