Skip to content

Commit df934bf

Browse files
committed
add face and tutorial
1 parent a4a79d6 commit df934bf

File tree

2 files changed

+35
-26
lines changed

2 files changed

+35
-26
lines changed

articles/ai-services/content-understanding/face/overview.md

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
title: Azure AI Content Understanding face overview
33
titleSuffix: Azure AI services
44
description: Learn about Azure AI Content Understanding face solutions.
5-
author: lajanuar
5+
author: laujan
66
ms.author: quentinm
77
manager: nitinme
88
ms.service: azure-ai-content-understanding
99
ms.topic: overview
10-
ms.date: 05/07/2025
10+
ms.date: 05/19/2025
1111
ms.custom: build-2025-understanding-refresh
1212
---
1313

@@ -27,29 +27,37 @@ This service is ideal for building secure access systems, streamlining photo man
2727

2828
Content Understanding enables a wide range of real-world applications, including face detection, verification, identification, and large-scale content processing.
2929

30-
**Detect faces in images**:
30+
##### Detect faces in images
31+
3132
Automatically identify faces in an image and return their bounding boxes. This capability simplifies tasks like highlighting, blurring, or counting faces without manual review. Common use cases include:
33+
3234
* Cropping detected faces for ID photos, albums, or personalized content.
3335
* Blurring faces to ensure privacy before sharing images publicly.
3436
* Counting people in event photos, crowd scenes, or security footage.
3537

36-
**Verify if two faces match**:
37-
Compare a face in one image with another face or an enrolled person to determine if they belong to the same individual. This is ideal for identity verification scenarios such as photo ID checks or sign-ins. Common use cases include:
38-
* Verifying if a driver’s selfie matches their profile photo.
39-
* Confirming a student’s identity before starting an online exam.
38+
##### Verify if two faces match
39+
40+
Compare a face in one image with another face or an enrolled person and determine if they belong to the same individual. This comparison feature is ideal for identity verification scenarios such as photo ID checks or sign-ins. Common use cases include:
41+
42+
* Verifying if a driver's selfie matches their profile photo.
43+
* Confirming a student's identity before starting an online exam.
4044
* Comparing a live photo with an uploaded ID for identity confirmation.
4145

42-
**Identify a person from their face**:
43-
Match a face in a photo to a saved list of people to identify them. Common use cases include:
44-
* Matching a patient’s face to hospital records during check-in.
46+
##### Identify a person from their face
47+
48+
Match a face in a photo to a saved list of people and identify them. Common use cases include:
49+
50+
* Matching a patient's face to hospital records during check-in.
4551
* Identifying a student or employee from their face photo.
4652
* Recognizing someone from a watch list entering a secure area.
4753

48-
**Save faces for faster future searches**:
54+
##### Save faces for faster future searches
55+
4956
Index faces from images to enable quicker searches later without needing to reprocess the original content. This feature is especially useful for recurring search scenarios. Common use cases include:
57+
5058
* Extracting and saving faces from group photos at events to recognize returning participants in future sessions.
51-
* Preprocessing images from school activities or sports events to easily identify students or athletes in subsequent searches.
52-
* Matching a theme park visitors face to records from previous visits without rescanning years of archived photos.
59+
* Processing images from school activities or sports events to easily identify students or athletes in subsequent searches.
60+
* Matching a theme park visitor's face to records from previous visits without rescanning years of archived photos.
5361

5462
## Face capabilities
5563

articles/ai-services/content-understanding/tutorial/build-person-directory.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: Build a person directory with Azure AI Content Understanding Face APIs
33
titleSuffix: Azure AI services
44
description: Learn to build a person directory with Content Understanding Face APIs
5-
author: lajanuar
5+
author: laujan
66
ms.author: quentinm
77
manager: nitinme
88
ms.service: azure-ai-content-understanding
99
ms.topic: tutorial
10-
ms.date: 05/07/2025
10+
ms.date: 05/19/2025
1111
---
1212

13-
# Tutorial: Build a Person Directory
13+
# Tutorial: Build a person directory
1414

1515
A person directory provides a structured approach to storing face data for recognition tasks. It allows you to add individual faces, search for visually similar faces, and create person profiles. You can associate faces with these profiles and match new face images to known individuals. This setup supports both flexible face matching and identity recognition across images and videos.
1616

@@ -24,11 +24,11 @@ For secure and scalable access, we recommend storing all face images in Azure Bl
2424

2525
Enrollment involves the following steps:
2626

27-
1. Create an empty person directory
28-
2. Add persons
29-
3. Add faces and associate with a person
27+
1. [Create an empty person directory](#create-an-empty-person-directory)
28+
1. [Add persons](#add-persons)
29+
1. [Add faces and associate with a person](#add-faces-and-associate-with-a-person)
3030

31-
### Step 1: Create an empty person directory
31+
### Create an empty person directory
3232

3333
To create a new person directory, send a `PUT` request to the API endpoint. This directory serves as the container for storing faces and associated persons.
3434

@@ -68,7 +68,7 @@ The API creates the directory and returns a confirmation response.
6868
}
6969
```
7070

71-
### Step 2: Add persons
71+
### Add persons
7272

7373
To recognize or manage individuals, you need to create a person profile. Once created, you can associate faces with this person.
7474

@@ -101,7 +101,7 @@ The API returns a `personId` that uniquely identifies the created person.
101101
}
102102
```
103103

104-
### Step 3: Add faces and associate with a person
104+
### Add faces and associate with a person
105105

106106
You can add a face to the directory and optionally associate it with an existing person. The API supports both image URLs and base64-encoded image data.
107107

@@ -130,7 +130,7 @@ Content-Type: application/json
130130
- `faceSource`: Specifies the face image.
131131
- `url`: The file path of the image stored in Azure Blob Storage.
132132
- `data`: Base64-encoded image data as optional alternative to `url`.
133-
- `imageReferenceId`: (Optional) A user-defined identifier for the image. This can be helpful for tracking the image's origin or for mapping it to other data.
133+
- `imageReferenceId`: (Optional) A user-defined identifier for the image. This identifier can be helpful for tracking the image's origin or for mapping it to other data.
134134
- `targetBoundingBox`: (Optional) Approximate location of the face in the image. If omitted, the API detects and uses the largest face.
135135
- `qualityThreshold`: (Optional) Filters face quality (`low`, `medium`, or `high`). The default is `medium`, meaning only medium or high-quality faces are stored. Lower quality faces are rejected.
136136
- `personId`: (Optional) The `personId` of an existing person to associate the face with.
@@ -155,8 +155,8 @@ The API returns a `faceId` that uniquely identifies the created face with the de
155155

156156
After creating your person directory and adding face images with optional person associations, you can perform two key tasks:
157157

158-
1. **Identify a person**: Match a face image against enrolled persons in the directory to determine the most likely identity.
159-
2. **Find similar faces**: Search for visually similar faces across all stored face entries in the directory.
158+
1. **[Identify a person](#identify-a-person)**: Match a face image against enrolled persons in the directory and determine the most likely identity.
159+
1. **[Find similar faces](#find-similar-faces)**: Search for visually similar faces across all stored face entries in the directory.
160160

161161
These capabilities enable robust face recognition and similarity matching for various applications.
162162

@@ -248,4 +248,5 @@ The API returns the detected bounding box of the face along with the most simila
248248

249249

250250
## Next steps
251-
- Explore how to identify individuals in video content using the [Azure AI Content Understanding video solutions (preview)](../video/overview.md).
251+
252+
Explore how to identify individuals in video content using the [Azure AI Content Understanding video solutions (preview)](../video/overview.md).

0 commit comments

Comments
 (0)