FaceAI Web SDK Methods
The FaceAI Web SDK v3.0 events and methods are listed below:
Action | Method Name | Description |
---|---|---|
Initialize FaceAI | init(connectedRoomInfo, stream, config, callback) | To analyze video streams within an ongoing EnableX video session. |
Face Detector | startFaceDetector(callback) | To detect how many faces are there 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 and predict face gender in a video stream. |
Face Emotion | startFaceEmotion(callback) | To analyze face emotions in a 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. |
Stop FaceAI | stopFaceAI(callback) | To stop analyzing the face any further. |