ml5js/ml5-library

Add useful keypoint getters for Facemesh

開放

#1,028 建立於 2020年7月12日

 (11 則留言) (0 個反應) (0 位負責人)JavaScript (905 個分叉)batch import
facemeshfeature requestgood first issue

倉庫指標

星標
 (6,136 顆星)
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>, ...] 

貢獻者指南