Sdílet prostřednictvím


Camera.Face.Score Property

Definition

Caution

deprecated

The confidence level for the detection of the face.

[Android.Runtime.Register("score")]
[System.Obsolete("deprecated")]
public int Score { get; set; }
[<Android.Runtime.Register("score")>]
[<System.Obsolete("deprecated")>]
member this.Score : int with get, set

Property Value

Attributes

Remarks

The confidence level for the detection of the face. The range is 1 to 100. 100 is the highest confidence.

Depending on the device, even very low-confidence faces may be listed, so applications should filter out faces with low confidence, depending on the use case. For a typical point-and-shoot camera application that wishes to display rectangles around detected faces, filtering out faces with confidence less than 50 is recommended.

Java documentation for android.hardware.Camera.Face.score.

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

See also