Shany  Jenkins

Shany Jenkins

1619666340

How to Perform Face Detection with JavaScript in 5 Minutes

We are going to use face-api.js for our face recognition API. This package is a wrapper on TensorFlow, which is one of the most popular machine learning libraries. This package will allow us to real-time face detection in our browser. Let’s get started.

Prerequisites:

  • Node.js installed
  • face-api.js install
  • Download model for face detection
  • An HTML page where we want to put our video element

All the codes and links will be provided at the bottom of the article.

#javascript

How to Perform Face Detection with JavaScript in 5 Minutes