MatchFacesImage class
This class represents the input image and its attributes for MatchFacesRequest.
Constructors
- MatchFacesImage(Uint8List image, ImageType imageType, {bool? detectAll})
Properties
- detectAll → bool
-
Defines whether the comparison and detection should apply for all faces found on the image. Defaults to
false
. When set tofalse
, only the most centered faces are compared and detected. Otherwise, all the faces are compared and detected.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → String
-
no setter
- image → Uint8List
-
The underlying image.
no setter
- imageType → ImageType
-
The image type.
The imageType influences matching results, therefore this field is required.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
dynamic jsonObject) → MatchFacesImage?