Android Guides | Samples

Android.Media.FaceDetector.Face Class

A Face contains all the information identifying the location of a face in a bitmap.

See Also: FaceDetector+Face

Syntax

[Android.Runtime.Register("android/media/FaceDetector$Face", DoNotGenerateAcw=true)]
public class FaceDetector.Face : Object

Remarks

A Face contains all the information identifying the location of a face in a bitmap.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Media.FaceDetector.Face are listed below.

See Also: Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
ConfidenceThresholdSingle (0.4). The minimum confidence factor of good face recognition

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Confidence() : Single
Returns a confidence factor between 0 and 1.
EyesDistance() : Single
Returns the distance between the eyes.
GetMidPoint(PointF)
Sets the position of the mid-point between the eyes.
Pose(Euler) : Single
Returns the face's pose.