Introduction
CCTV cameras are now everywhere. Large-scale video processing is a grand challenge representing an important frontier for analytics, with videos from factory floors, jewelry showrooms, traffic intersections, police vehicles, and retail shops. It’s the golden era for computer vision, AI, and machine learning – it’s a great time now to extract value from videos to impact science, society, and business!
I would like to share one recent incident that happened in India, Tamil Nadu. One of the famous jewelry stores in Trichy has more than 20 security personnel, and 60 CCTV cameras in surveillance. Two individuals were wearing animal masks and packing all the jewels in a sack, just like a scene from a movie. The burglars entered the showroom by drilling a hole in the wall which was large enough for a man to enter, in the backside of the building. They stole almost 100 kgs of gold which is worth Rs 50 crore.
Video surveillance is incredibly useful for helping track down a suspect. Often burglars are intelligent enough to mask their faces, so facial recognition is not a possibility. However, video surveillance will help identify what the perpetrator looked like by recording height build, hair color, skin color, and the human body and object recognition and it will alert to showroom manager.
In this article, I will share how to implement computer Vision and Face API Analyze Videos in real-time.
How to use Microsoft cognitive services
Performing real-time analysis on frames taken from a live video stream and identify the face with extracted the content using vision API, the application will follow the below.
- Use Microsoft’s Cognitive Face API to identify sentiment person by person.
- Use Microsoft’s Emotion API to match facial patterns to emotions.
- Extract emotion data using Microsoft’s Vision API.
Let's start to implement Live Video analysis, in the following steps
Create a Computer Vision API
The Computer Vision API will help developers to identify the objects with access to advanced algorithms for processing images and returning image metadata information.
Step 1
Microsoft offers Azure cognitive services free for 12 months, it's fantastic news. Create a free trial Azure subscription account from the Azure portal.
Step 2
Create New resource and select the AI+ Machine learning and click on Computer Vision API
Step 3
After this, fill in the following information for creating Cognitive Service and click on "Create".

Raj KumarPosted Nov 12, 2019, 1:14 PM
Good one, as i am big fan of cognitive services. keep it up.
Vidyadharran GPosted Oct 30, 2019, 12:57 AM
Nice article :) ...Thanks for sharing bro
Sourav Kumar DasPosted Oct 17, 2019, 3:39 AM
Awesome Article Sir.
Sundaram SubramanianPosted Oct 16, 2019, 6:48 AM
In demand :). Thanks for the nice article and explaining the need