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 the FacePositionInfo.

Properties

distance int
The distance between the human face and the device screen (cm).
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. The horizontal position relative to the origin, where the upper left corner of the captured video is the origin, and the x-coordinate is the upper left corner of the watermark.
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