FaceDetector.confidenceThreshold Property¶
Module: FaceDetector
Type: int
Definition¶
Confidence threshold, in the range [0;100].
Hint
Default value is 50.
Note
Setting a high threshold reduces false detection but can increase the number of undetected faces.
confidence_threshold: int
Exceptions
An error has occurred during Face Library execution.
int get confidenceThreshold => getConfidenceThreshold();
set confidenceThreshold(int value) => setConfidenceThreshold(value);
Exceptions
An error has occurred during Face Library execution.
public int confidenceThreshold
{
get => GetconfidenceThreshold();
set => SetconfidenceThreshold(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public int getConfidenceThreshold() throws FaceException
public void setConfidenceThreshold(int confidenceThreshold) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var confidenceThreshold: Int
get {
return Int(try! getConfidenceThreshold())
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FaceDetector_GetConfidenceThreshold (ID3_FACE_DETECTOR hFaceDetector, int * confidenceThreshold)
int id3FaceDetector_SetConfidenceThreshold (ID3_FACE_DETECTOR hFaceDetector, int confidenceThreshold)
Returns