ml5js/ml5-library

Add useful keypoint getters for Facemesh

Open

#1,028 创建于 2020年7月12日

在 GitHub 查看
 (11 评论) (0 反应) (0 负责人)JavaScript (905 fork)batch import
facemeshfeature requestgood first issue

仓库指标

Star
 (6,136 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南