Celebrity Recognition

Overview

With Amazon Rekognition, you can quickly identify well known people in your video and image libraries to catalog footage and photos for marketing, advertising, and media industry use cases.

In the first part of the lab, we will be using Amazon Rekognition Image API, RecognizeCelebrities to recognize public celebrities in an image. The second part uses Amazon Rekognition Video API, StartCelebrityRecognition to detect celebrities in an MP4 video. It is an asynchronous API. Once we start the detection, we can periodically call GetCelebrityRecognition to monitor the status. However, it is highly recommended to check out the Notification Channel feature which allows you to receive a SNS notification when the detection job is completed instead of periodically polling the status of the detection.

To run this lab, you need to have prerequisite section completed.

  1. Click on the 3-celebrity-recognition.ipynb notebook.

  2. Follow the instruction in the notebook to understand how you can identify well known people.

  3. In order to execute each cell, click on the “Run” button at the top or press “Shift+Enter”.

Make sure you use “conda_python3” kernel and execute all cells in order.