FacePositionInfo class

The information of the detected human face.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

FacePositionInfo(int x, int y, int width, int height, int distance)
Constructs a FacePositionInfo

Properties

distance int
The distance (cm) between the human face and the screen.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int
The height (px) of the human face in the captured video.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
The width (px) of the human face in the captured video.
getter/setter pair
x int
The x coordinate (px) of the human face in the local video. Taking the top left corner of the captured video as the origin, the x coordinate represents the relative lateral displacement of the top left corner of the human face to the origin.
getter/setter pair
y int
The y coordinate (px) of the human face in the local video. Taking the top left corner of the captured video as the origin, the y coordinate represents the relative longitudinal displacement of the top left corner of the human face to the origin.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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