FaceAI Web SDK Methods
The FaceAI Web SDK v3.1 events and methods are listed below:
Action | Method Name | Description |
---|---|---|
Initialize FaceAI | init(connectedRoomInfo, stream, config, callback) | To initialize FaceAI. |
Face Detector | startFaceDetector(callback) | To detect the number of faces in a video stream. |
Face Pose | startFacePose(callback) | To analyze face rotation and position in a video stream. |
Face Age | startFaceAge(callback) | To analyze and predict face age in a video stream. |
Face Gender | startFaceGender(callback) | To analyze face gender in a video stream. |
Face Emotion | startFaceEmotion(callback) | To analyze face emotions in video stream. |
Face Features | startFaceFeatures(callback) | To analyze face features in a Video Stream. |
Face Arousal Valence | startFaceArousalValence(callback) | To analyze face arousal valence in a video stream. |
Face Attention | startFaceAttention(callback) | To analyze face attention in a video stream. |
Face Wish | startFaceWish(callback) | To analyze face wish in a video stream. |
Alarm No Face | startAlarmNoFace(callback) | To analyze alarm no face in a video stream. |
Alarm More Faces | startAlarmMoreFaces(callback) | To analyze alarm more faces in a video stream. |
Alarm Low Attention | startAlarmLowAttention(callback) | To analyze alarm low attention in a video stream. |
Data Aggregator | startDataAggregator(callback) | To analyze data aggregator in a video stream. |
Stop FaceAI | stopFaceAI(callback) | To stop analyzing face from this point. |