Case Study

Implementation of Robust Pipeline for Video Analysis for b-Trac

Download the Case Study
Industry 

Information Technology

Expertise 

Amazon EC2, Amazon SQS, AWS Glue, Amazon Athena, Amazon DynamoDB, Amazon VPC, Amazon ECR

Offerings/solutions 

Achieved Seamless Video Processing and Analysis from EC2 to DynamoDB with AWS Services

About the Client

Bangla Trac Group started its journey in 2008 with the commercial launch of its IGW operation as one of the first three licensed private IGWs in Bangladesh. The current business portfolio of the group can be categorized into two broad domains: ICT and power. Bangla Trac is a prominent name in the local and international ICT market, and it has a footprint in voice and data communication, IOT, Cloud, Big Data, and BPO.

Highlights

100%

Video Processing Automation

8

AWS services utilised

Real-time Data Analysis

Immediate API response analysis

The Challenge

The customer needs a solution for analyzing their customer videos, which are stored in their Amazon EBS volume of Amazon EC2 instance. They wanted this solution as a feature to be integrated with their application, enabling easy detection of persons and objects by leveraging the AWS service Amazon Rekognition.

Solutions

  • Implemented trigger-based script in the Amazon EC2 to transfer the videos from the Amazon EC2 EBS volume to the Amazon S3 bucket.
  • Implemented Amazon Docker to run the script for slicing the videos into the frames and each frame gets stored in the bucket.
  • Used AWS Lambda service for running the Amazon Rekognition APIs for each frame, and the Amazon SQS triggers this AWS Lambda by passing the frame details to it when the frame uploads into the bucket.
  • The above step would give the preprocessed data by analyzing all the API responses, which would be stored in the bucket.
  • Created a crawler in the AWS Glue for transferring the responses of all the frames, and the crawler runs when the responses stored in the bucket are completed.
  • Implemented SQL query to analyze all the responses of all frames of a video for identifying the face angle detection, eye gaze detection, object detection, and new person detected in the video.
  • Used a new AWS Lambda for storing the Amazon Athena aggregated results into the Amazon dynamodb table.
  • We built a pipeline for analyzing the videos and storing the Amazon Athena results in the Amazon Dynamodb table. The pipeline starts when the video comes into the bucket.
  • AWS Services used are Amazon ECS, Amazon VPC, Amazon ECR, Amazon S3, Amazon DynamoDB, Amazon SQS, Amazon CloudWatch, AWS IAM, AWS Lambda, Amazon Rekongnition.

The Results

Implemented a scalable video analysis pipeline that processes videos in 2-3 minutes, monitors interview activities, stores frames in Amazon S3, uses Amazon Rekognition for accurate analysis, and saves results in Amazon DynamoDB.

Download the Case Study

AWS Partner –AWS Data Analytics Competency

Pioneering AWS Data Analytics by being an AWS Partner – AWS Data Analytics Competency.

Learn more

An authorized partner for all major cloud providers

A cloud agnostic organization with the rare distinction of being an authorized partner for AWS, Microsoft, Google and VMware.

Learn more

A house of strong pool of certified consulting experts

150+ cloud certified experts in AWS, Azure, GCP, VMware, etc.; delivered 200+ projects for top 100 fortune 500 companies.

Learn more

Get The Most Out Of Us

Our support doesn't end here. We have monthly newsletters, study guides, practice questions, and more to assist you in upgrading your cloud career. Subscribe to get them all!