# Update a sunglass model based on face landmarks

**URL:** <https://discourse.threejs.org/t/update-a-sunglass-model-based-on-face-landmarks/28365>\
**Category:** Questions\
**Tags:** face-tracking\
**Created:** [July 26, 2021, 6:47pm UTC](https://discourse.threejs.org/t/update-a-sunglass-model-based-on-face-landmarks/28365 "2021-07-26T18:47:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahdavipanah](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mahdavipanah/32/19708_2.png) [@mahdavipanah](https://discourse.threejs.org/u/mahdavipanah)\
**Post date:** [July 26, 2021, 6:47pm UTC](https://discourse.threejs.org/t/update-a-sunglass-model-based-on-face-landmarks/28365/1 "2021-07-26T18:47:07Z")

</div>

I am using [MediaPipe Face Mesh](https://google.github.io/mediapipe/solutions/face_mesh.html) to extract face landmarks using webcam input. Then I load a 3D sunglass model and display it on top of the webcam input. Assuming I have 3 key landmarks points of the face (one above the nose, and two above the ears) I want to position and rotate the sunglass model based on these three points.

---

<div class="post-metadata">

**Author:** ![Jayed2021](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/jayed2021/32/22762_2.png) [@Jayed2021](https://discourse.threejs.org/u/Jayed2021)\
**Post date:** [December 28, 2021, 6:01am UTC](https://discourse.threejs.org/t/update-a-sunglass-model-based-on-face-landmarks/28365/2 "2021-12-28T06:01:59Z")

</div>

Have you found any solution?

---

<div class="post-metadata">

**Author:** ![Yassin1](https://avatars.discourse-cdn.com/v4/letter/y/f08c70/32.png) [@Yassin1](https://discourse.threejs.org/u/Yassin1)\
**Post date:** [March 13, 2023, 8:58pm UTC](https://discourse.threejs.org/t/update-a-sunglass-model-based-on-face-landmarks/28365/3 "2023-03-13T20:58:07Z")

</div>

Hello there,

Have you find any salutation yet?
