FaceDetector.Face.Confidence Method

Definition

Returns a confidence factor between 0 and 1.

[Android.Runtime.Register("confidence", "()F", "GetConfidenceHandler")]
public virtual float Confidence ();
[<Android.Runtime.Register("confidence", "()F", "GetConfidenceHandler")>]
abstract member Confidence : unit -> single
override this.Confidence : unit -> single

Returns

Attributes

Remarks

Returns a confidence factor between 0 and 1. This indicates how certain what has been found is actually a face. A confidence factor above 0.3 is usually good enough.

Java documentation for android.media.FaceDetector.Face.confidence().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to