# Face Landmark Detection Model JavaScript

**URL:** <https://discuss.ai.google.dev/t/face-landmark-detection-model-javascript/27010>\
**Category:** TF.js\
**Tags:** tfjs, models\
**Created:** [October 21, 2022, 1:47am UTC](https://discuss.ai.google.dev/t/face-landmark-detection-model-javascript/27010 "2022-10-21T01:47:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amayrani\_luna](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/amayrani_luna/32/12644_2.png) [@amayrani\_luna](https://discuss.ai.google.dev/u/amayrani_luna)\
**Post date:** [October 21, 2022, 1:47am UTC](https://discuss.ai.google.dev/t/face-landmark-detection-model-javascript/27010/1 "2022-10-21T01:47:58Z")

</div>

Hello! I’m building a website for my Senior Capstone project and am trying to integrate this Face Landmark Detection model ([tfjs-models/face-landmarks-detection at master · tensorflow/tfjs-models · GitHub](https://github.com/tensorflow/tfjs-models/tree/master/face-landmarks-detection)) into my javascript file.

I am trying to get the coordinates/key points of the facial features, which the model should return, but I can’t seem to access them. I’ve tried using the JavaScript Solution API code provided on the MediaPipe FaceMesh Documentation([tfjs-models/face-landmarks-detection at master · tensorflow/tfjs-models · GitHub](https://github.com/tensorflow/tfjs-models/tree/master/face-landmarks-detection)) but I’m not seeing the key points show when I run my HTML

Would anyone know why this is happening? Thank you so much!

---

<div class="post-metadata">

**Author:** ![amayrani\_luna](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/amayrani_luna/32/12644_2.png) [@amayrani\_luna](https://discuss.ai.google.dev/u/amayrani_luna)\
**Post date:** [October 21, 2022, 3:40am UTC](https://discuss.ai.google.dev/t/face-landmark-detection-model-javascript/27010/3 "2022-10-21T03:40:50Z")

</div>

Hello! I’m building a website for my Senior Capstone project and am trying to integrate this Face Landmark Detection model ([tfjs-models/face-landmarks-detection at master · tensorflow/tfjs-models · GitHub](https://github.com/tensorflow/tfjs-models/tree/master/face-landmarks-detection)) into my javascript file.

I am trying to get the coordinates/key points of the facial features, which the model should return, but I can’t seem to access them. I’ve tried using the JavaScript Solution API code provided on the MediaPipe FaceMesh Documentation([tfjs-models/face-landmarks-detection at master · tensorflow/tfjs-models · GitHub](https://github.com/tensorflow/tfjs-models/tree/master/face-landmarks-detection)) but I’m not seeing the key points show when I run my HTML

Would anyone know why this is happening? Thank you so much!

---

<div class="post-metadata">

**Author:** ![Mah\_Neh](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/mah_neh/32/11663_2.png) [@Mah\_Neh](https://discuss.ai.google.dev/u/Mah_Neh)\
**Post date:** [January 30, 2023, 9:40pm UTC](https://discuss.ai.google.dev/t/face-landmark-detection-model-javascript/27010/4 "2023-01-30T21:40:32Z")

</div>

If you add at least part of the code you are using we can help you better, I’ve tried blazeface (simpler version of that one) and returns the landmarks, although may not be very accurate.
