FaceDetector


public class FaceDetector
extends Object

java.lang.Object
   ↳ android.media.FaceDetector


Identifies the faces of people in a Bitmap graphic object.

Summary

Nested classes

class FaceDetector.Face

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

Public constructors

FaceDetector(int width, int height, int maxFaces)

Creates a FaceDetector, configured with the size of the images to be analysed and the maximum number of faces that can be detected.

Public methods

int findFaces(Bitmap bitmap, Face[] faces)

Finds all the faces found in a given Bitmap.

Protected methods

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

<

Inherited methods