FaceDetector class

Identifies the faces of people in a Bitmap graphic object.

See: https://developer.android.com/reference/android/media/FaceDetector

Constructors

FaceDetector({@required int width, @required int height, int maxFaces = 1})
Creates a FaceDetector, configured with the size of the images to be analyzed and the maximum number of faces that can be detected. [...]

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
height int
The height of the images to be analyzed.
final
maxFaces int
The maximum number of faces to identify.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width int
The width of the images to be analyzed.
final

Methods

findFaces(Bitmap bitmap) Future<List<Face>>
Finds all the faces found in a given Bitmap. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited