FaceAttributes class
Represents the face attributes.
Constructors
-
FaceAttributes(Pointer<
id3FaceAttributes> _handle) - Initializes a new instance of the FaceAttributes class from its members.
- FaceAttributes.create()
- Create a new instance of the FaceAttributes.
- FaceAttributes.createFromStruct(id3FaceAttributes value)
- Create a new instance of the FaceAttributes from the native struct
Properties
- glasses ↔ int
-
Value, from 0 to 100, indicating whether the subject is wearing glasses or not.
Hint: The recommended threshold is 10.
getter/setter pair
-
handle
→ Pointer<
id3FaceAttributes> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hat ↔ int
-
Value, from 0 to 100, indicating whether the subject is wearing a hat or not.
Hint: The recommended value is less than 10.
getter/setter pair
- makeUp ↔ int
-
Value, from 0 to 100, indicating whether the subject is wearing makeup or not.
Hint: The recommended value is less than 50.
getter/setter pair
- male ↔ int
-
Value, from 0 to 100, indicating the estimated gender of the subject.
A value near 0 suggests that the subject is estimated to be female.
A value near 100 suggests that the subject is estimated to be male.
getter/setter pair
- mouthOpen ↔ int
-
Value, from 0 to 100, indicating whether the subject's mouth is open or not.
Hint: The recommended value is less than 35.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smile ↔ int
-
Value, from 0 to 100, indicating whether the subject is smiling or not.
Hint: The recommended value is less than 75.
getter/setter pair
- struct → id3FaceAttributes
-
no setter
Methods
-
dispose(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited