Public 属性 | |
int | x |
int | y |
int | width |
int | height |
int | distance |
检测到的人脸信息。
int io.agora.rtc.IRtcEngineEventHandler.AgoraFacePositionInfo.x |
人脸在 view 中的 x 坐标 (px)。以 view 的左上角为原点,x 坐标为人脸左上角相对于原点的横向位移。
int io.agora.rtc.IRtcEngineEventHandler.AgoraFacePositionInfo.y |
人脸在 view 中的 y 坐标 (px)。以 view 的左上角为原点,y 坐标为人脸左上角相对原点的纵向位移。
int io.agora.rtc.IRtcEngineEventHandler.AgoraFacePositionInfo.width |
人脸在 view 中的宽度 (px)。
int io.agora.rtc.IRtcEngineEventHandler.AgoraFacePositionInfo.height |
人脸在 view 中的高度 (px)。
int io.agora.rtc.IRtcEngineEventHandler.AgoraFacePositionInfo.distance |
人脸距设备屏幕的距离 (cm)。