Package io.agora.rtc2

Class IRtcEngineEventHandler.AgoraFacePositionInfo

java.lang.Object
io.agora.rtc2.IRtcEngineEventHandler.AgoraFacePositionInfo
Enclosing class:
IRtcEngineEventHandler

public static class IRtcEngineEventHandler.AgoraFacePositionInfo extends Object
The information of the detected human face.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    The distance (cm) between the human face and the screen.
    int
    The height (px) of the human face in the captured video.
    int
    The width (px) of the human face in the captured video.
    int
    The x coordinate (px) of the human face in the local video.
    int
    The y coordinate (px) of the human face in the local video.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      public int x
      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.
    • y

      public int y
      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.
    • width

      public int width
      The width (px) of the human face in the captured video.
    • height

      public int height
      The height (px) of the human face in the captured video.
    • distance

      public int distance
      The distance (cm) between the human face and the screen.
  • Constructor Details

    • AgoraFacePositionInfo

      public AgoraFacePositionInfo()