The world’s simplest facial recognition API for Python and the command line

In this article, we’ll explore the ‘face_recognition’ library and implement a face recognition system.

Outline:

  1. Step 1: Installation

  1. Step 2: Finding Faces in Image
  2. Step 3: Identifying Facial Features
  3. Step 4: Identifying Known Faces

Step 1: Installation:

Requirements

  • Python 3.3+ or Python 2.7
  • macOS or Linux (Windows not officially supported, but it will work fine)

For windows, First make sure that you have **dlib** installed. If you don’t have **dlib** installed. Follow these steps

  • Clone the code from GitHub:
git clone https://github.com/davisking/dlib.git
  • Install with Python Extension:
cd ..
python3 setup.py install

After this step, you should be able to run import dlib successfully.

_After successful installation of _**_dlib_**_ library, install _**_face_recognition_**_ using this pip command_

pip3 install face_recognition

Now, you are ready to implement a real-time face recognition system.

#data-science #machine-learning #face-recognition #deep-learning #convolutional-network #deep learning

Face Recognition using ‘face_recognition’ API
1.60 GEEK