Based on Tencent's industry-leading AI technology, face recognition helps you quickly recognize faces in a video, including the frames a person appears in and the coordinates of the areas of the face. You can directly use VOD’s public person libraries or use and manage your own custom person libraries. The public person libraries contain celebrities in various fields, such as movies, music, sports, and academics.
Face recognition in media content has been widely used for video creation, media search, and generation of personalized recommendations.
Scenario | Description |
---|---|
Video creation |
With the face recognition feature, users can find quickly find the time points, image areas, and duration at which a target person's face appears throughout a large number of historical videos. This makes finding relevant materials and creating content much more efficient. |
Event replays and highlights | You can add timestamps for when a certain player appears during a sports and esports event, so users can quickly locate the relevant time points. You can also find the time points and capture the video frames in which a certain celebrity appears in a video, so as to make it easier to create a highlight reel or generate an animated image as the thumbnail to attract more viewers. |
Video websites | Users can search for relevant videos by the name of a person. The website can also automatically recommend relevant videos based on the list of persons followed by the user. |
You can implement face recognition through the face recognition feature as described in Video Content Recognition as follows:
FaceConfigure
) of the API for creating an audio/video content recognition template. For example, the following code sample indicates to recognize only sports celebrities in the public person libraries:{
"FaceConfigure": {
"Switch": "ON",
"DefaultLibraryLabelSet": ["sport"]
}
}
Get the template ID from the response.
* Custom person libraries are managed through the material sample creation/modification/deletion/acquisition APIs as described in API Category.
Was this page helpful?