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

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

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
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited