Package io.agora.rtc2
Class IRtcEngineEventHandler.AgoraFacePositionInfo
java.lang.Object
io.agora.rtc2.IRtcEngineEventHandler.AgoraFacePositionInfo
- Enclosing class:
- IRtcEngineEventHandler
The information of the detected human face.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe distance (cm) between the human face and the screen.intThe height (px) of the human face in the captured video.intThe width (px) of the human face in the captured video.intThe x coordinate (px) of the human face in the local video.intThe y coordinate (px) of the human face in the local video. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
x
public int xThe 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. -
y
public int yThe 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. -
width
public int widthThe width (px) of the human face in the captured video. -
height
public int heightThe height (px) of the human face in the captured video. -
distance
public int distanceThe distance (cm) between the human face and the screen.
-
-
Constructor Details
-
AgoraFacePositionInfo
public AgoraFacePositionInfo()
-