Introduction to Face and Body
The Alibaba Cloud Visual Intelligence API uses facial and body analysis technology developed by DAMO Academy to provide features such as face detection and landmark localization, facial attribute recognition, face comparison, face search, body detection, body attributes, and behavior analysis. It offers high-performance and high-availability (HA) facial and body recognition services for developers and enterprise users. The service is widely used in fields such as digital outlets, building access control, identity verification, interactive entertainment, IP cameras, and content advertising.
Service activation
You can click Activate Now on the product page to activate the service. For more information, see Quick start.
Features
Category | Capabilities | Description |
Face detection | Detects faces in an image and returns the coordinates of the bounding box for each detected face. | |
Facial attribute | Based on face detection, this feature recognizes four attributes for each detected face: gender (male or female), age, expression (smiling or not smiling), and glasses (wearing or not wearing). | |
Detects and recognizes facial expressions in an image. The supported expressions are neutral, happiness, surprise, sadness, anger, disgust, and fear. | ||
Face editing | Detects faces in an image, then crops, snaps, and enhances the details of the faces. The enhanced faces are then merged back into the original image. | |
Retouches faces in an image. This includes skin smoothing, whitening, and removing dark circles and nasolabial folds. | ||
Shaping adjusts the contours and features of a face. | ||
Blurs faces in an image and outputs the anonymized image. | ||
Transforms a character image into a 2D cartoon style and returns the cartoonized image. | ||
Automatically crops the head region of a character image and generates a sketch effect for the headshot. | ||
Analyzes the facial features in a character image and generates an image with adjusted facial features and a slimmer face. It can process up to three faces in an image with multiple people. | ||
Automatically evens skin tone, removes blemishes such as acne, acne scars, and freckles, and whitens the skin of the entire body in a character image. It preserves skin texture as much as possible. This feature supports images with multiple people. | ||
You can optimize areas of a person's body in an image, such as the neck, torso, and limbs, to render a more aesthetically pleasing body shape that appears taller, slimmer, and more refined, while preserving smooth body lines, natural curves, and balanced proportions. This feature supports processing for multiple people and various body shots, such as full-body and half-body. | ||
Adds a face image that has passed content moderation as a template for the face fusion feature. | ||
Queries created face templates. | ||
Deletes created face templates. | ||
Body recognition | Obtains the 21 keypoints of a hand gesture. | |
Obtains the 18 keypoints of a human body. | ||
Detects human bodies in an image. | ||
Recognizes human actions and behaviors in videos and images and returns the recognized behavior category. Currently supported categories include raising a hand, eating or drinking, smoking, making a phone call, using a mobile phone, sleeping at a desk, and falling. | ||
Counts the faces in the input image. | ||
Detects the attributes of human bodies in an image. This includes body detection and attribute estimation, such as gender, age, orientation, hat, glasses, bag, clothes, and color. | ||
Uses a deep learning algorithm to detect if a person has entered a monitored perimeter or area in a video. | ||
Recognizes hand gestures in an image. | ||
Recognizes the behavior of candidates during an online exam. It supports the detection of chat tools on the screen and the candidate's status. | ||
Automatically locates the finger area in a photo of a finger and generates a binarized, black-and-white, press-type fingerprint image. | ||
Liveness detection | Detects whether the living object (mainly a face) in an image is from a direct capture or a recaptured photo. A face must be present in the image for liveness detection to work. | |
Detects whether the face in a video is from a direct capture or a recaptured video. | ||
Detects whether the face in an infrared image is a live human face captured at close range by an authenticated device. It can be widely used in real-time face capture scenarios with infrared devices to meet the authenticity and security requirements of infrared face registration and authentication. An infrared image must contain a face for this feature to work. | ||
Facial recognition | Recognizes public figures in an image. | |
Recognizes celebrities in an image. | ||
Based on two input images, this feature detects the faces in both images and compares the largest face from each to determine if they belong to the same person. | ||
Creates a face database. | ||
Views the list of face databases. | ||
Adds face entity data to a face database. | ||
Queries face entity data in a face database. | ||
Queries the list of face entities in a face database. | ||
Updates face entity data in a face database. | ||
Adds face data to a specified database. | ||
Searches a database for similar face images based on an input image. | ||
Deletes a specified face database. | ||
Deletes face image information from a specified database. | ||
Deletes face entity data from a face database. | ||
Based on two input images, this feature selects the largest face from each image and compares them to determine if they belong to the same person. It integrates three optimized technologies: masked face generation, occlusion-resistant keypoint localization, and occlusion-resistant feature attention, to achieve high-speed facial recognition even when a person is wearing a mask. | ||
Financial-grade face detection | Requests user image information for identity verification on the server-side based on the user's name and ID number. | |
Requests user image information for identity verification on a mobile client based on the user's name and ID number. | ||
After confirming that the certificate is valid and the name matches, this feature returns the user's image information for identity verification. |
Scenarios
The following are common scenarios for the Face and Body service:
Identity verification
The service performs detection based on image or video input. It compares faces against a registration database for 1:N facial recognition or against a certificate for 1:1 face-to-certificate comparison. This is suitable for scenarios such as face logon, VIP facial recognition, and facial recognition-based access control.
Security monitoring
The service uses facial landmark localization and tracking to perform 3D face reconstruction and estimation. It recognizes actions such as shaking the head, blinking, and opening the mouth to determine if the person is real. This is used for secure identity verification in scenarios such as security checks and applications.
For more product updates, follow the Alibaba Cloud Visual Intelligence API.