tencent cloud

Feedback

Face Recognition

Last updated: 2022-09-02 15:46:59

    Overview

    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.

    Use cases

    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.

    Directions

    You can implement face recognition through the face recognition feature as described in Video Content Recognition as follows:

    1. Prepare an audio/video content recognition template.
      You can directly use a preset audio/video content recognition template to recognize the people in all the public person libraries.
      You can also specify certain labels of public and custom person libraries to recognize certain types of people by using the face recognition configuration item (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.

    1. Initiate a face recognition task with the template ID obtained in step 1 as instructed in Video Content Recognition.
    2. Get the task result as instructed in Video Content Recognition.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support