ml5js/ml5-library

Add useful keypoint getters for Facemesh

Open

#1.028 aberto em 12 de jul. de 2020

Ver no GitHub
 (11 comments) (0 reactions) (0 assignees)JavaScript (905 forks)batch import
facemeshfeature requestgood first issue

Métricas do repositório

Stars
 (6.136 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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>, ...] 

Guia do colaborador