FaceAI Web SDK Methods

The FaceAI Web SDK v3.1 events and methods are listed below:

ActionMethod NameDescription
Initialize FaceAIinit(connectedRoomInfo, stream, config, callback)To initialize FaceAI.
Face DetectorstartFaceDetector(callback)To detect the number of faces in a video stream.
Face PosestartFacePose(callback)To analyze face rotation and position in a video stream.
Face AgestartFaceAge(callback)To analyze and predict face age in a video stream.
Face GenderstartFaceGender(callback)To analyze face gender in a video stream.
Face EmotionstartFaceEmotion(callback)To analyze face emotions in video stream.
Face FeaturesstartFaceFeatures(callback)To analyze face features in a Video Stream.
Face Arousal ValencestartFaceArousalValence(callback)To analyze face arousal valence in a video stream.
Face AttentionstartFaceAttention(callback)To analyze face attention in a video stream.
Face WishstartFaceWish(callback)To analyze face wish in a video stream.
Alarm No FacestartAlarmNoFace(callback)To analyze alarm no face in a video stream.
Alarm More FacesstartAlarmMoreFaces(callback)To analyze alarm more faces in a video stream.
Alarm Low AttentionstartAlarmLowAttention(callback)To analyze alarm low attention in a video stream.
Data AggregatorstartDataAggregator(callback)To analyze data aggregator in a video stream.
Stop FaceAIstopFaceAI(callback)To stop analyzing face from this point.