Face class

Represents a detected face

Constructors

Face({num px, num py, num pwidth, num pheight, num pyaw, num ppitch, num proll, List pLeftEye, String data, List pRightEye, num quality})
Face.fromJson(Map<String, dynamic> json)

Properties

data ↔ String
Data used for face recognition
read / write
faceTemplate ↔ FaceTemplate
Face template used for face recognition, initialized in Face constructor
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
height ↔ num
Height of the face in the image (in pixels)
read / write
leftEye ↔ List<num>
leftEye
read / write
pitch ↔ num
Pitch of the face in relation to the camera
read / write
quality ↔ num
Quality of the face landmarks (10 maximum)
read / write
rightEye ↔ List<num>
rightEye
read / write
roll ↔ num
Roll of the face in relation to the camera
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
width ↔ num
Width of the face in the image (in pixels)
read / write
x ↔ num
Distance of the left edge of the face from the left edge of the image (in pixels)
read / write
y ↔ num
Distance of the top edge of the face from the top edge of the image (in pixels)
read / write
yaw ↔ num
Yaw of the face in relation to the camera
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() → Map<String, dynamic>
to JSON mapper for string conversion
toString() → String
A string representation of this object. [...]
inherited

Operators

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