# How to use ml5js + face-api to do face recognition?

**URL:** <https://discourse.processing.org/t/how-to-use-ml5js-face-api-to-do-face-recognition/26985>\
**Category:** Libraries\
**Created:** [January 11, 2021, 7:48pm UTC](https://discourse.processing.org/t/how-to-use-ml5js-face-api-to-do-face-recognition/26985 "2021-01-11T19:48:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephanschulz](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@stephanschulz](https://discourse.processing.org/u/stephanschulz)\
**Post date:** [January 11, 2021, 7:48pm UTC](https://discourse.processing.org/t/how-to-use-ml5js-face-api-to-do-face-recognition/26985/1 "2021-01-11T19:48:33Z")

</div>

Hello.

I know ml5js gives access to faceapi as this example shows:  
[https://learn.ml5js.org/#/reference/face-api](https://learn.ml5js.org/#/reference/face-api)

But this shows you how to use face detection - knowing if and where a face is. I am hoping to also do the recognition part - know who this face belongs to.  
I know that [face-api.js](https://github.com/justadudewhohacks/face-api.js/blob/master/README.md) can do this but I guess the ml5js API does not yet ??

Thank you for any advice.
