FaceAI Web SDK Methods
The FaceAI Web SDK v2.0 events and methods are listed below:
Action | Method Name | Description |
---|---|---|
Initialize FaceAI | init(connectedRoomInfo, stream, callback) | To start analyzing a given stream. |
Face Detector | startFaceDetector(config, callback) stopFaceDetector(callback) | To start and stop detecting faces in the live video stream. |
Face Pose | startFacePose(config, callback) stopFacePose(callback) | To start and stop analyzing face rotation and position in a video stream. |
Face Age | startFaceAge(config, callback) stopFaceAge(callback) | To start and stop analyzing and predicting face age in a video stream. |
Face Gender | startFaceGender(config, callback) stopFaceGender(callback) | To start and stop analyzing face gender in a video stream. |
Face Emotion | startFaceEmotion(config, callback) stopFaceEmotion(callback) | To start and stop analyzing face emotions in a video stream. |
Face Features | startFaceFeatures(config, callback) stopFaceFeatures(callback) | To start and stop analyzing face features in a video stream. |
Face Arousal Valence | startFaceArousalValence(config, callback) stopFaceArousalValence(callback) | To start and stop analyzing face arousal valence in a video stream. |
Face Attention | startFaceAttention(config, callback) stopFaceAttention(callback) | To start and stop analyzing face attention in a video stream. |
Face Wish | startFaceWish(config, callback) stopFaceWish(callback) | To start and stop analyzing face wish in a video stream. |