The effect renders a 3D avatar model on top of the user's face. Tracks one face at a time.
It uses MediaPipe's GPU delegate (WebGL2) when available, with automatic fallback to a WASM CPU delegate. MediaPipe's FaceLandmarker runs inside a Web Worker that the SDK spawns. The worker dynamically imports MediaPipe, its WASM, and the 3D model.
The avatar requirements: a 3D mesh with Apple ARKit Facial Blendshapes in GLB file format.
I welcome everyone who tries it and posts a feedback here!