English | Site Directory

Android - An Open Handset Alliance Project

android.media
public class

android.media.FaceDetector.Face

java.lang.Object
android.media.FaceDetector.Face

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

Summary

Public Methods

        float  confidence()
A confidence factor between 0 and 1.
        float  eyesDistance()
Distance between the eyes
        void  getMidPoint(PointF point)
Position of the mid-point between the eyes
        float  pose(int euler)
Face's pose, rotations around X, Y and Z axis.
Methods inherited from class java.lang.Object

Details

Public Methods

public float confidence()

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 usualy good enough.

public float eyesDistance()

Distance between the eyes

public void getMidPoint(PointF point)

Position of the mid-point between the eyes

public float pose(int euler)

Face's pose, rotations around X, Y and Z axis.
Build m5-rc15g - 14 May 2008 12:50