Stop FaceAI

Stop analyzing the face any further. An initialized face analysis must be stopped to end usage of FaceAI during a session failing which it would implicitly end at end of the current video session.


To stop analyzing the face from this point.

Method: EnxFaceAI.stopFaceAI(callback)


  • callback: Callback to know that analysis has stopped.

Sample Code

// Stop Face AI Analysis
faceAI.stopFaceAI((evt) => {
if (evt.result === 0) {
// Stopped