ml5js/ml5-library

Add useful keypoint getters for Facemesh

Open

#1028 aperta il 12 lug 2020

Vedi su GitHub
 (11 commenti) (0 reazioni) (0 assegnatari)JavaScript (905 fork)batch import
facemeshfeature requestgood first issue

Metriche repository

Star
 (6136 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

See the keypoint map: https://github.com/tensorflow/tfjs-models/blob/master/facemesh/mesh_map.jpg

In the ml5.js Facemesh model, we can consider providing some functions that return an array of keypoints for useful facial landmark ranges like the left eye, right eye, mouth, etc. For example:

facemeshInstance.getLeftEye() // returns [<keypoint 22>, <keypoint 23>, <keypoint 24>, ...] 

Guida contributor