# 3d face vectors

**URL:** <https://discourse.threejs.org/t/3d-face-vectors/21039>\
**Category:** Questions\
**Tags:** computer-vision\
**Created:** [November 27, 2020, 12:49am UTC](https://discourse.threejs.org/t/3d-face-vectors/21039 "2020-11-27T00:49:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lossius30](https://avatars.discourse-cdn.com/v4/letter/l/4491bb/32.png) [@Lossius30](https://discourse.threejs.org/u/Lossius30)\
**Post date:** [November 27, 2020, 12:49am UTC](https://discourse.threejs.org/t/3d-face-vectors/21039/1 "2020-11-27T00:49:54Z")

</div>

Hello,

I’m french so I’m not really familiar with face recognition related terms. It makes difficult to search with good terms. That’s why I ask here, showing a description of what i wanna do.

It’s based on face recognition, i found many libraries to put a rectangle on faces.

But in my case, I want get 3D face coordinates. I mean points or 3d coordinates of detection points, there is an image of my goal :

[![](https://csantosbh.files.wordpress.com/2018/03/blog_header.png?w=1000) ](https://csantosbh.files.wordpress.com/2018/03/blog_header.png?w=1000)

It’s 2D result but it’s the closest example. After this, i create an SVG and put circles then lines.

Anyone know if it’s possible with three.js or other library ?

Thanks

---

<div class="post-metadata">

**Author:** ![mjurczyk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mjurczyk/32/10995_2.png) [@mjurczyk](https://discourse.threejs.org/u/mjurczyk)\
**Post date:** [November 27, 2020, 8:37am UTC](https://discourse.threejs.org/t/3d-face-vectors/21039/2 "2020-11-27T08:37:11Z")

</div>

1. Three is probably not a good library to do what you are trying to do - while you can do 2D with three, [CanvasAPI](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API) is usually more readable and easier for that purpose.
2. The term you’re looking for is called `face landmarks` or `landmark detection`.
3. Maybe [face-api](https://github.com/justadudewhohacks/face-api.js/) can help you (they also share the source code, so if your aim is to learn ML - it may also be useful.)

---

<div class="post-metadata">

**Author:** ![Lossius30](https://avatars.discourse-cdn.com/v4/letter/l/4491bb/32.png) [@Lossius30](https://discourse.threejs.org/u/Lossius30)\
**Post date:** [November 27, 2020, 5:08pm UTC](https://discourse.threejs.org/t/3d-face-vectors/21039/3 "2020-11-27T17:08:28Z")

</div>

Thank you, i will search for these terms 🙂
