MediaPipe Face Mesh - working with the mesh coordinates
Test purpose
- Check that the media stream loads (if browser/device supports it)
- Check that we can load and use both Mediapipe (from a CDN) and its face mesh model
- Apply the model to a live camera feed
- Interrogate and label the coordinates returned by the model
- Use the labels as pins for a Polyline entity
- Allow the user to update the start and end points of the Polyline entity's pins
Touch test: not required
Annotated code