Previously, we kickstarted our new article series “AI HowTo” and talked how to register for Emotions API Preview (Project Oxford) through Azure Portal.
Now, I’d suggest we should start coding and learning the ways of emotions via codes. Programming emotions
Analyzing Emotions in Images
This project requires an image to be processed at startup, makes some calculations on which emotion is stronger, and then according to that calculation, it posts the emotion on the screen. Let’s start with step by step.
Create a new Visual Studio project, preferably a console application. Install NewtonSoft JSON Parser from NuGeT command line.
That’s all!
Well done in kickstarting Azure Cognitive Services Emotions API. Remember that Emotions API(Project Oxford) is still in “Preview Stage” so not all your images are meant to work (Tried like 10 happiness emotion images and only 1 got processed).
Final thoughts
Emotion analysis is essential for all industries. We live in a world where emotions are changed instantly so if we analyze and take precautions before bad things happen, we can avoid dramas or even deaths.
There used to be emotion reading in police departments. These men/women could easily read one’s emotions in an interrogation. I don’t know if police stations have been upgraded to use AI but Artificial Intelligence can also help to avoid crime.
Analyzing emotions must be a top priority for all companies and governmental organizations. For governments; to secure public life and avoid terrorist, anarchist attacks. For companies; to increase happiness among employees and solving their problems before it gets bigger.
Companies, nowadays, are trying to convince employees not to leave by increasing their wage, gifting cars, or improving working style but the companies most of the time miss the point where problems occur. Emotion Analysis may help the managers too to discover if employees are happy with the company or not.
The future is AI, use it! <<Click here for previous part
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: