/
Facial Recognition on Desktop
Facial Recognition on Desktop
Before going through this tutorial, you should have the following set up:
Start the Redis server:
Make sure the dependencies for the face recognition service are installed in your virtual environment:
pip install social-interaction-cloud[face-recognition]
Use the following command to start the face recognition service, and pass the model files (the cascade classifier file used in this example can be found here: haarcascade_frontalface_default.xml, and the resnet50 model file can be found here resnet50_ft_weight.pt):
run-face-recognition --model resnet50_ft_weight.pt --cascadefile haarcascade_frontalface_default.xml
Create a new file with the code below or use demo_desktop_camera_facerecognition.py from GitHub.
Here is the schematic overview of how this program works. The camera streams its output to the face recognition service, and both stream the output to the program on your laptop.
, multiple selections available,
Related content
Face Detection on Desktop
Face Detection on Desktop
More like this
Creating a Simple Service
Creating a Simple Service
More like this
Available services
Available services
More like this
The Social Interaction Cloud (SIC) V2
The Social Interaction Cloud (SIC) V2
More like this
Tutorials
Tutorials
Read with this
Face Recognition
Face Recognition
More like this