Skip to content

Commit 5b38bed

Browse files
The MediaPipe FaceMesh model outputs 478 keypoints. (#1455)
* The MediaPipe FaceMesh model outputs 478 keypoints. The function `await detector.estimateFaces(camera.video, {flipHorizontal: false});` returns 478 keypoints, with each keypoint including coordinates for the x, y, and z axis. * Update README.md --------- Co-authored-by: Matthew Soulanille <[email protected]>
1 parent 32e794b commit 5b38bed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

face-landmarks-detection/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Currently, we provide 1 model option:
77
#### MediaPipe:
88
[Demo](https://storage.googleapis.com/tfjs-models/demos/face-landmarks-detection/index.html?model=mediapipe_face_mesh)
99

10-
MediaPipe Facemesh can detect multiple faces, each face contains 468 keypoints.
10+
MediaPipe Facemesh can detect multiple faces, each face contains 478 keypoints.
1111

1212
More background information about the package, as well as its performance characteristics on different datasets, can be found here: [Model Card](https://drive.google.com/file/d/1QvwWNfFoweGVjsXF3DXzcrCnz-mx-Lha/preview). The facemesh package optionally loads an iris detection model, whose model card can be found here: [Model Card](https://drive.google.com/file/d/1tV7EJb3XgMS7FwOErTgLU1ZocYyNmwlf/preview).
1313

@@ -44,8 +44,8 @@ The returned face list contains detected faces for each faces in the image.
4444
If the model cannot detect any faces, the list will be empty.
4545

4646
For each face, it contains a bounding box of the detected face, as well as an array of keypoints.
47-
MediaPipeFaceMesh returns 468 keypoints.
48-
Each keypoint contains x and y, as well as a name.
47+
MediaPipeFaceMesh returns 478 keypoints.
48+
Each keypoint contains x, y and z, as well as a name.
4949

5050
Example output:
5151
```

0 commit comments

Comments
 (0)