You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/content-understanding/tutorial/build-person-directory.md
+16-11Lines changed: 16 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,10 @@ A Person Directory is a structured way to store face data for recognition tasks.
15
15
16
16
:::image type="content" source="../media/face/person-directory-processes.png" alt-text="Diagraom of the person directory enrollment and search processes.":::
17
17
18
-
## Data storage requirement
18
+
## Data storage recommendation
19
19
It is recommended to store all face images in Azure Blob Storage for secure and scalable access. Face URLs in your API calls should point to these stored images.
20
20
21
-
## Enrollment
21
+
## Enroll
22
22
23
23
Enrollment comprises:
24
24
* Create an empty person directory.
@@ -30,7 +30,7 @@ Create a new directory to store faces and persons.
30
30
31
31
**Sample request**
32
32
33
-
PUT /contentunderstanding/personDirectories/{personDirectoryId}
33
+
PUT {endpoint}/contentunderstanding/personDirectories/{personDirectoryId}?api-version=2025-05-01-preview
34
34
Content-Type: application/json
35
35
36
36
```json
@@ -48,7 +48,7 @@ If you want to recognize or manage individuals, create a person first. You can l
48
48
49
49
**Sample request**
50
50
51
-
POST /contentunderstanding/personDirectories/{personDirectoryId}/persons
51
+
POST {endpoint}/contentunderstanding/personDirectories/{personDirectoryId}/persons?api-version=2025-05-01-preview
52
52
Content-Type: application/json
53
53
54
54
```json
@@ -69,7 +69,7 @@ Add a face to the directory. You can either associate it to an existing person o
69
69
70
70
**Sample request**
71
71
72
-
POST /contentunderstanding/personDirectories/{personDirectoryId}/faces
72
+
POST {endpoint}/contentunderstanding/personDirectories/{personDirectoryId}/faces?api-version=2025-05-01-preview
After building your person directory with face images and optional person associations, you can use it to you can use it to perform face recognition from images or videos.
99
99
100
-
### Search within persons
100
+
### Image input
101
+
Identify persons or find similar faces in an image.
102
+
103
+
#### Search within persons
101
104
Identify the most likely person candidates by comparing the input face against enrolled persons.
102
105
103
106
**Sample request**
104
107
105
-
POST /contentunderstanding/personDirectory/{personDirectoryId}/persons:identify
108
+
POST {endpoint}/contentunderstanding/personDirectory/{personDirectoryId}/persons:identify?api-version=2025-05-01-preview
Identify people appearing in video content. See: [Azure AI Content Understanding video solutions (preview)](../video/overview.md)
182
+
178
183
179
-
* Use your person directory to identify people appearing in video content. See: [Azure AI Content Understanding video solutions (preview)](../video/overview.md)
0 commit comments