After you create a media set and index images in it, you can use face search to find the top N images in the set that are most similar to a specified image or face ID. This is useful for scenarios such as identifying VIP users.
This document is no longer maintained. Use the new version of Intelligent Media Management.
For a comparison between the new and legacy versions of Intelligent Media Management, see Usage guide for new and legacy versions.
For more information about the face search feature in the new version of Intelligent Media Management, see Face search.
To use the face search feature, call the following API operations in sequence using a software development kit (SDK).
Call the PutProject API operation to create a project.
If you already have a project, skip this step. Call the ListProjects API operation to list all projects in a specified region.
NoteYou can also create a project in the Intelligent Media Management console. For more information, see Create a project.
Call the CreateSet API operation to create a media set and obtain its ID (SetId).
If a suitable media set already exists, skip this step. Call the ListSets API operation to retrieve information about all media sets in the specified project.
Call the IndexImage API operation to index images in the media set.
If you have many images, repeat this operation as needed.
Call the FindSimilarFaces API operation to find the N most similar images in the media set based on a specified image or face ID.