Amazon Rekognition provides fast and accurate face search, allowing you to identify a person in a photo or video using your private repository of face images. You can also verify identity by analyzing a face image against images you have stored for comparison.
In this lab, you will learn how to recognize custom celebrities using Amazon Rekognition. You will first index faces of custom celebrities using IndexFaces API and store them in a Rekognition Collection. In the first part, you will use SearchFacesByImage API to recognize each face in the image. In the later part, you will use StartFaceSearch API to identify all faces in an MP4 video. It is an asynchronous API. Once we start the detection, we can periodically call GetFaceSearch 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.
Click on the 4-custom-celebrity-recognition.ipynb notebook.
Follow the instruction in the notebook to understand how you can define custom celebrities and identify them.
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.