Tech Tips

  1. 要素技術
  2. 32 view

How to detect face and draw boundary box for video using Amazon Rekognition Video

rekognition-video-face-detect-result

Amazon Rekognition Video official document provides a sample code to detect human face in a video Amazon Rekognition Video. But I needed a little effort to draw boundary box from face detection result. So, I’ll share my sample code. Result should be like the top GIF image.

And I’ll share how to run my code on AWS Cloud9. You can download an input movie from Pixabay.

My code (official document sample code) requires an IAM role having permissions for several services, so please check the official document and create such IAM role.

Sample Code

Following code skips some parts from the official document, so please see my GitHub repository if you want to see the complete code.

How to run on AWS Cloud9

要素技術 recent post

  1. Udacity Self-Driving Car Engineer Nanodegree …

  2. How to draw circle/line/text, show tooltip an…

  3. I read Software Systems Architecture 2nd Edit…

  4. How to define my environment with TF-Agents

  5. How to switch next slot by Lambda function wi…

PAGE TOP