In this tutorial, we shall go through the complete process of using DeepStack to build a Face Recognition system.
Setting Up DeepStack
Install and Setup DeepStack Using the Install Guide . If you have a system with Nvidia GPU, follow instruction on Using DeepStack with NVIDIA GPU to install the GPU Version of DeepStack
Run the command below as it applies to the version you have installed
docker run -e VISION-FACE=True -v localstorage:/datastore -p 80:5000 deepquestai/deepstack
sudo docker run --gpus all -e VISION-FACE=True -v localstorage:/datastore -p 80:5000 deepquestai/deepstack:gpu
deepstack --VISION-FACE True --PORT 80
sudo docker run --runtime nvidia -e VISION-FACE=True -p 80:5000 deepquestai/deepstack:jetpack
sudo deepstack start "VISION-FACE=True"
-e VISION-FACE=True This enables the face recognition APIs.
-v localstorage:/datastore This specifies the local volume where deepstack will store all data.
-p 80:5000 This makes deepstack accessible via port 80 of the machine.
Think of a software that can identify known people by their names. Face Recognition does exactly that. Register a picture of a number of people and the system will be able to recognize them again anytime. Face Recognition is a two step process: The first is to register a known face and second is to recognize these faces in new pictures.
REGISTERING A FACE
Here we are building an application that can tell the names of a number of popular celebrities. First we collect pictures of a number of celebrities and we register them with DeepStack.