FacePositionInfo class Null safety

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.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
height int
The height (px) of the human face in the captured video.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width int
The width (px) of the human face in the captured video.
read / write
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.
read / write
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.
read / write

Methods

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

Operators

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