tripodworks-iot / cordova-plugin-mlkit-facedetection

cordova plugin for mlkit face detection
Apache License 2.0
9 stars 6 forks source link

Get Facial feature contours #2

Closed vlastelin-vlas closed 2 years ago

vlastelin-vlas commented 2 years ago

When I have facial contour detection enabled, can I get a list of points for each detected facial feature?

lei-xiaoming commented 2 years ago

Hell, thank you for the question. The function for list of points for each detected facial feature was added. released in v0.2.1

Please see README.md for details.

vlastelin-vlas commented 2 years ago

@lei-xiaoming Thanks! Another question. The points are returned in one list. Are they in the same order as in the ML Kit documentation? That is, the first 36 points are the oval of the face, then 5 points are the left eyebrow (top), and so on?

There should be 133 points, but 134 is returned

lei-xiaoming commented 2 years ago

Hell, thank you for the question. released in v0.2.2 for 133 points.They should be in the same order as the ML kit documentation.