AgoraFacePositionInfo Class Reference

Inherits from NSObject
Declared in AgoraObjects.h

Overview

AgoraFacePositionInfo array.

  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.

@property (assign, nonatomic) NSInteger x

Declared In

AgoraObjects.h

  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.

@property (assign, nonatomic) NSInteger y

Declared In

AgoraObjects.h

  width

The width (px) of the human face in the captured video.

@property (assign, nonatomic) NSInteger width

Declared In

AgoraObjects.h

  height

The height (px) of the human face in the captured video.

@property (assign, nonatomic) NSInteger height

Declared In

AgoraObjects.h

  distance

The distance (cm) between the human face and the screen.

@property (assign, nonatomic) NSInteger distance

Declared In

AgoraObjects.h

X
Is this page helpful?