This repository demonstrates how to use Azure Cognitive Services to extract facial sentiments from LinkedIn profile photo.
Hai Ho Dac | [email protected]
Date: 18/8/2020
A simple Python script to automate login LinkedIn profile and perform following tasks:
- Login to my personal LinkedIn profile.
- Access LinkedIn profile that I want to view.
- Get the profile photo url.
- From the image url, detect the face and blur the background using OpenCV. Output blurred image is named after the profile name.
- Apply 2 different sentiment analytic models:
- Personal developed emotion detection model. Detect 'smile', 'sentiment' and 'confidence level' of the 'sentiment.
- Microsoft Azure cognitive service face API. Detect 'gender', 'age', 'smile intensity', 'sentiment' and 'confidence level' of the 'sentiment.
project
|--evaluating
| |-azure_model.py
| |-Azure_CognitiveServices_Resources.png
|
|--processing
| |--data_processing.py
| |--linkedin_scraper.py
|
|--main.py
|--requirements.txt
|--README.md
|--chromedriver_mac64.zip