PortraitProcessor.tintedGlassThreshold Property¶
Module: PortraitProcessor
Type: int
Definition¶
Tinted glass detection threshold.
If the score is above this value, the person is definitely wearing tinted glasses.
Hint
Default value 25.
tinted_glass_threshold: int
Exceptions
An error has occurred during Face Library execution.
int get tintedGlassThreshold => getTintedGlassThreshold();
set tintedGlassThreshold(int value) => setTintedGlassThreshold(value);
Exceptions
An error has occurred during Face Library execution.
public int tintedGlassThreshold
{
get => GettintedGlassThreshold();
set => SettintedGlassThreshold(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public int getTintedGlassThreshold() throws FaceException
public void setTintedGlassThreshold(int tintedGlassThreshold) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var tintedGlassThreshold: Int
get {
return Int(try! getTintedGlassThreshold())
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetTintedGlassThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * tintedGlassThreshold)
int id3FacePortraitProcessor_SetTintedGlassThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int tintedGlassThreshold)
Returns