Agora RTC Objective-C API Reference  Refactor
Properties
AgoraFacePositionInfo Class Reference

Inherits <NSObject>.

Properties

NSInteger x
 
NSInteger y
 
NSInteger width
 
NSInteger height
 
NSInteger distance
 

Detailed Description

AgoraFacePositionInfo.

Property Documentation

◆ x

- (NSInteger) x
readwritenonatomicassign

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

- (NSInteger) y
readwritenonatomicassign

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

- (NSInteger) width
readwritenonatomicassign

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

◆ height

- (NSInteger) height
readwritenonatomicassign

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

◆ distance

- (NSInteger) distance
readwritenonatomicassign

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