Lab 3 - nikhitasharma/RTBigDataAnalytics_Project GitHub Wiki

Lab 3: Key frame detection from a classroom video.
Constructing a short video using key frames.

Lab 3 task: Key frames extraction from video input, Face Detection in a classroom scenario

Main frames detection:
We used a classroom video as input and generate frames out of it and used these frames as input for both Clarifai API and Face API to use their services in analysis of the frames.
Generated Frames: https://www.dropbox.com/sh/3johyksnopi8hk2/AABSR1CH0vve8LZVrWk2dQ8Fa?dl=0

Output from Clarifai API: We printed out the tags for a sample frame using Clarifai API https://github.com/nikhitasharma/RTBigDataAnalytics_Project/blob/master/Documentation/califaiapi.JPG
The services provided by Clarifai API does not serve the purpose of our project scenario. We planned on counting the number of faces in a frame which was possible through Microsoft Cognitive Services API.

Output from Face API: We tried the Face API Cognitive Service by giving a sample frame to count the number of faces and print the response from the API server.
It worked well when using the online API Test Interface and we got the desired results.
Input: https://cache-blog.credit.com/wp-content/uploads/2013/04/student-loans-ts-1360x860.jpg
Output: https://www.dropbox.com/sh/mm62p3uz494jlm7/AAD-vBKokEj850TwUU5fSw2Ea?dl=0

But when accessing the service through REST API calls , we always got the error as shown in this screenshot. https://github.com/nikhitasharma/RTBigDataAnalytics_Project/blob/master/Documentation/faceapi.JPG