Documentation
Interactive Live Streaming Premium (Legacy)
API Reference
AgoraFacePositionInfo Class Reference
Agora Objective-C API Reference for iOS/macOS
AgoraFacePositionInfo Class Reference
Inherits from |
NSObject |
Declared in |
AgoraObjects.h |
Overview
AgoraFacePositionInfo array.
The x coordinate (px) of the human face in the local view. Taking the top left corner of the view 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
The y coordinate (px) of the human face in the local view. Taking the top left corner of the view 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
The width (px) of the human face in the captured video.
@property (assign, nonatomic) NSInteger width
Declared In
AgoraObjects.h
The height (px) of the human face in the captured video.
@property (assign, nonatomic) NSInteger height
Declared In
AgoraObjects.h
The distance (cm) between the human face and the screen.
@property (assign, nonatomic) NSInteger distance
Declared In
AgoraObjects.h