Video Frame Extraction Procedure

0

Hello.

I am attempting to extract a single frame from a video where there is an object in focus. However, sometimes there can be person in the view of the video. I only want to extract and output a single frame from the video without the human obstruction.

My initial thought process on how to do this is with Amazon Lambda. However, after doing more research, it seems that I also have the option to use AWS Batch and Amazon ECS. I am in a dilemma of which one to use.

I simply want to extract a single frame from videos that are stored in S3 as mp4 format. The dataset is also fairly large for context. I also hope to utilize Amazon Rekognition to help detect any human that may be in the video and not extract the single frame when the person is in frame.

Is this the right way to approach this procedure? Also, which tool would be the best to use (Lambda, Batch, or ECS)?

asked 3 months ago202 views
1 Answer
1
Accepted Answer

Hi,

AWS Batch is more applicable to one-off process like the one you describe. ECS / Fargate is more aimed at permanent back-ends with which multiple requesters will interact on a permanent basis.

On my side, I used AWS Batch for your kind of job.

BTW, as you will notice, AWS Batch indeed relies on generic pools of ECS / Fargate servers (managed by AWS Batch "under the hood"). If you choose the Fargate option in your Batch setup, you will rapidly have your batch up & running.

Best,

Didier

profile pictureAWS
EXPERT
answered 3 months ago
profile picture
EXPERT
reviewed 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions