Skip to content

Commit 4e00127

Browse files
committed
Update from Zhi
1 parent 563dfb9 commit 4e00127

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

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

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ A Person Directory is a structured way to store face data for recognition tasks.
1515

1616
:::image type="content" source="../media/face/person-directory-processes.png" alt-text="Diagraom of the person directory enrollment and search processes.":::
1717

18-
## Data storage requirement
18+
## Data storage recommendation
1919
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.
2020

21-
## Enrollment
21+
## Enroll
2222

2323
Enrollment comprises:
2424
* Create an empty person directory.
@@ -30,7 +30,7 @@ Create a new directory to store faces and persons.
3030

3131
**Sample request**
3232

33-
PUT /contentunderstanding/personDirectories/{personDirectoryId}
33+
PUT {endpoint}/contentunderstanding/personDirectories/{personDirectoryId}?api-version=2025-05-01-preview
3434
Content-Type: application/json
3535

3636
```json
@@ -48,7 +48,7 @@ If you want to recognize or manage individuals, create a person first. You can l
4848

4949
**Sample request**
5050

51-
POST /contentunderstanding/personDirectories/{personDirectoryId}/persons
51+
POST {endpoint}/contentunderstanding/personDirectories/{personDirectoryId}/persons?api-version=2025-05-01-preview
5252
Content-Type: application/json
5353

5454
```json
@@ -69,7 +69,7 @@ Add a face to the directory. You can either associate it to an existing person o
6969

7070
**Sample request**
7171

72-
POST /contentunderstanding/personDirectories/{personDirectoryId}/faces
72+
POST {endpoint}/contentunderstanding/personDirectories/{personDirectoryId}/faces?api-version=2025-05-01-preview
7373
Content-Type: application/json
7474

7575
```json
@@ -97,12 +97,15 @@ Content-Type: application/json
9797
## Search
9898
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.
9999

100-
### Search within persons
100+
### Image input
101+
Identify persons or find similar faces in an image.
102+
103+
#### Search within persons
101104
Identify the most likely person candidates by comparing the input face against enrolled persons.
102105

103106
**Sample request**
104107

105-
POST /contentunderstanding/personDirectory/{personDirectoryId}/persons:identify
108+
POST {endpoint}/contentunderstanding/personDirectory/{personDirectoryId}/persons:identify?api-version=2025-05-01-preview
106109
Content-Type: application/json
107110

108111
```json
@@ -136,12 +139,12 @@ Content-Type: application/json
136139
```
137140
---
138141

139-
### Search within faces
142+
#### Search within faces
140143
Find visually similar individual faces from all stored face entries.
141144

142145
**Sample request**
143146

144-
POST /personDirectory/{personDirectoryId}/faces:find
147+
POST {endpoint}/personDirectory/{personDirectoryId}/faces:find?api-version=2025-05-01-preview
145148
Content-Type: application/json
146149

147150
```json
@@ -174,6 +177,8 @@ Content-Type: application/json
174177
```
175178
---
176179

177-
## Next steps
180+
### Video input
181+
Identify people appearing in video content. See: [Azure AI Content Understanding video solutions (preview)](../video/overview.md)
182+
178183

179-
* Use your person directory to identify people appearing in video content. See: [Azure AI Content Understanding video solutions (preview)](../video/overview.md)
184+
## Next steps

0 commit comments

Comments
 (0)