Constructs a new FaceTracker.
A map of the available anchors by their respective IDs.
Emitted when a new anchor is created by the tracker.
Emitted when an anchor goes from being visible in the previous camera frame, to not being visible in the current frame.
Emitted when an anchor becomes visible in a camera frame.
The set of currently visible anchors.
Gets/sets the enabled state of the face tracker. Disable when not in use to save computational resources during frame processing.
Gets/sets the enabled state of the face tracker. Disable when not in use to save computational resources during frame processing.
Gets/sets the maximum number of faces to track.
By default only one face is tracked in any given frame. Increasing this number may reduce runtime performance.
Gets/sets the maximum number of faces to track.
By default only one face is tracked in any given frame. Increasing this number may reduce runtime performance.
Destroys the face tracker.
Loads the default face tracking model.
A promise that's resolved once the model is loaded. It may still take a few frames for the tracker to fully initialize and detect faces.
Loads face tracking model data.
A URL to, or ArrayBuffer of, model data.
A promise that's resolved once the model is loaded. It may still take a few frames for the tracker to fully initialize and detect faces.
Generated using TypeDoc
Attaches content to a face as it moves around in the camera view.
https://docs.zap.works/universal-ar/web-libraries/babylonjs/face-tracking/