AgoraFacePositionInfo
Detected face information.
public static class AgoraFacePositionInfo {
public int x;
public int y;
public int width;
public int height;
public int distance;
}
Properties
- x
- The x-coordinate (in pixels) of the face in the local video. This value indicates the horizontal position of the top-left corner of the face relative to the top-left origin of the captured frame.
- y
- The y-coordinate (in pixels) of the face in the local video. This value indicates the vertical position of the top-left corner of the face relative to the top-left origin of the captured frame.
- width
- The width (in pixels) of the face in the captured video frame.
- height
- The height (in pixels) of the face in the captured video frame.
- distance
- The distance (in centimeters) between the face and the device screen.