Face, Emotion, Age, Gender Detection Using Microsoft Azure Face API
Demo: https://youtu.be/e0xqMmpjYL8
⭐ Star me on GitHub — it helps!
- Python 3.6.9
- azure-cognitiveservices-vision-face==0.5.0
- cv2==4.1.1
- msrest==0.6.21
- threading (for multi-threading)
- Create the Face cognitive service resource on Azure portal (https://portal.azure.com/)
- Get the API Key and endpoint url.
- On the local system, install the libraries mentioned in the previous section.
pip install <package-name>
- Start a terminal (Ctrl + Alt + T on Ubuntu).
- Clone this repository and navigate to
face-detection-azure/
.
git clone https://github.com/ioarun/face-detection-azure.git
cd face-detection-azure/
- Run
script.py
.
python script.py