@@ -42,23 +42,23 @@ def create(
42
42
in one subscription.
43
43
<br /> Face list is a list of faces, up to 1,000 faces, and used by
44
44
[Face - Find
45
- Similar](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395237 ).
45
+ Similar](https:// docs.microsoft.com/rest/api/cognitiveservices/face/face/findsimilar ).
46
46
<br /> After creation, user should use [FaceList - Add
47
- Face](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395250 )
47
+ Face](https:// docs.microsoft.com/rest/api/cognitiveservices/face/facelist/addfacefromurl )
48
48
to import the faces. No image will be stored. Only the extracted face
49
49
features are stored on server until [FaceList -
50
- Delete](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039524f )
50
+ Delete](https:// docs.microsoft.com/rest/api/cognitiveservices/face/facelist/delete )
51
51
is called.
52
52
<br /> Find Similar is used for scenario like finding celebrity-like
53
53
faces, similar face filtering, or as a light way face identification.
54
54
But if the actual use is to identify person, please use
55
- [PersonGroup](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395244 )
55
+ [PersonGroup](https:// docs.microsoft.com/rest/api/cognitiveservices/face/persongroup )
56
56
/
57
- [LargePersonGroup](/ docs/services/563879b61984550e40cbbe8d/operations/599acdee6ac60f11b48b5a9d )
57
+ [LargePersonGroup](https:// docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroup )
58
58
and [Face -
59
- Identify](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395239 ).
59
+ Identify](https:// docs.microsoft.com/rest/api/cognitiveservices/face/face/identify ).
60
60
<br /> Please consider
61
- [LargeFaceList](/ docs/services/563879b61984550e40cbbe8d/operations/5a157b68d2de3616c086f2cc )
61
+ [LargeFaceList](https:// docs.microsoft.com/rest/api/cognitiveservices/face/largefacelist )
62
62
when the face number is large. It can support up to 1,000,000 faces.
63
63
<br />'recognitionModel' should be specified to associate with this
64
64
face list. The default value for 'recognitionModel' is
@@ -69,12 +69,13 @@ def create(
69
69
can't be updated to features extracted by another version of
70
70
recognition model.
71
71
* 'recognition_01': The default recognition model for [FaceList-
72
- Create](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039524b ).
72
+ Create](https:// docs.microsoft.com/rest/api/cognitiveservices/face/facelist/create ).
73
73
All those face lists created before 2019 March are bonded with this
74
74
recognition model.
75
75
* 'recognition_02': Recognition model released in 2019 March.
76
- 'recognition_02' is recommended since its overall accuracy is improved
77
- compared with 'recognition_01'.
76
+ * 'recognition_03': Recognition model released in 2020 May.
77
+ 'recognition_03' is recommended since its overall accuracy is improved
78
+ compared with 'recognition_01' and 'recognition_02'.
78
79
79
80
:param face_list_id: Id referencing a particular face list.
80
81
:type face_list_id: str
@@ -83,7 +84,7 @@ def create(
83
84
:param user_data: User specified data. Length should not exceed 16KB.
84
85
:type user_data: str
85
86
:param recognition_model: Possible values include: 'recognition_01',
86
- 'recognition_02'
87
+ 'recognition_02', 'recognition_03'
87
88
:type recognition_model: str or
88
89
~azure.cognitiveservices.vision.face.models.RecognitionModel
89
90
:param dict custom_headers: headers that will be added to the request
@@ -292,7 +293,7 @@ def list(
292
293
"""List face lists’ faceListId, name, userData and recognitionModel. <br
293
294
/>
294
295
To get face information inside faceList use [FaceList -
295
- Get](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039524c )
296
+ Get](https:// docs.microsoft.com/rest/api/cognitiveservices/face/facelist/get )
296
297
.
297
298
298
299
:param return_recognition_model: A value indicating whether the
@@ -404,13 +405,13 @@ def add_face_from_url(
404
405
persistedFaceId representing the added face. No image will be stored.
405
406
Only the extracted face feature will be stored on server until
406
407
[FaceList - Delete
407
- Face](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395251 )
408
+ Face](https:// docs.microsoft.com/rest/api/cognitiveservices/face/facelist/deleteface )
408
409
or [FaceList -
409
- Delete](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039524f )
410
+ Delete](https:// docs.microsoft.com/rest/api/cognitiveservices/face/facelist/delete )
410
411
is called.
411
412
<br /> Note persistedFaceId is different from faceId generated by [Face
412
413
-
413
- Detect](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236 ).
414
+ Detect](https:// docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl ).
414
415
* Higher face image quality means better detection and recognition
415
416
precision. Please consider high-quality faces: frontal, clear, and face
416
417
size is 200x200 pixels (100 pixels between eyes) or bigger.
@@ -419,7 +420,7 @@ def add_face_from_url(
419
420
* "targetFace" rectangle should contain one face. Zero or multiple
420
421
faces will be regarded as an error. If the provided "targetFace"
421
422
rectangle is not returned from [Face -
422
- Detect](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236 ),
423
+ Detect](https:// docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl ),
423
424
there’s no guarantee to detect and add the face successfully.
424
425
* Out of detectable face size (36x36 - 4096x4096 pixels), large
425
426
head-pose, or large occlusions will cause failures.
@@ -430,11 +431,11 @@ def add_face_from_url(
430
431
1920x1080 pixels will need a proportionally larger minimum face size.
431
432
* Different 'detectionModel' values can be provided. To use and compare
432
433
different detection models, please refer to [How to specify a detection
433
- model](https://docs.microsoft.com/en-us/ azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model)
434
+ model](https://docs.microsoft.com/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model)
434
435
| Model | Recommended use-case(s) |
435
436
| ---------- | -------- |
436
437
| 'detection_01': | The default detection model for [FaceList - Add
437
- Face](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395250 ).
438
+ Face](https:// docs.microsoft.com/rest/api/cognitiveservices/face/facelist/addfacefromurl ).
438
439
Recommend for near frontal face detection. For scenarios with
439
440
exceptionally large angle (head-pose) faces, occluded faces or wrong
440
441
image orientation, the faces in such cases may not be detected. |
@@ -528,13 +529,13 @@ def add_face_from_stream(
528
529
persistedFaceId representing the added face. No image will be stored.
529
530
Only the extracted face feature will be stored on server until
530
531
[FaceList - Delete
531
- Face](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395251 )
532
+ Face](https:// docs.microsoft.com/rest/api/cognitiveservices/face/facelist/deleteface )
532
533
or [FaceList -
533
- Delete](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039524f )
534
+ Delete](https:// docs.microsoft.com/rest/api/cognitiveservices/face/facelist/delete )
534
535
is called.
535
536
<br /> Note persistedFaceId is different from faceId generated by [Face
536
537
-
537
- Detect](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236 ).
538
+ Detect](https:// docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl ).
538
539
* Higher face image quality means better detection and recognition
539
540
precision. Please consider high-quality faces: frontal, clear, and face
540
541
size is 200x200 pixels (100 pixels between eyes) or bigger.
@@ -543,7 +544,7 @@ def add_face_from_stream(
543
544
* "targetFace" rectangle should contain one face. Zero or multiple
544
545
faces will be regarded as an error. If the provided "targetFace"
545
546
rectangle is not returned from [Face -
546
- Detect](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236 ),
547
+ Detect](https:// docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl ),
547
548
there’s no guarantee to detect and add the face successfully.
548
549
* Out of detectable face size (36x36 - 4096x4096 pixels), large
549
550
head-pose, or large occlusions will cause failures.
@@ -554,11 +555,11 @@ def add_face_from_stream(
554
555
1920x1080 pixels will need a proportionally larger minimum face size.
555
556
* Different 'detectionModel' values can be provided. To use and compare
556
557
different detection models, please refer to [How to specify a detection
557
- model](https://docs.microsoft.com/en-us/ azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model)
558
+ model](https://docs.microsoft.com/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model)
558
559
| Model | Recommended use-case(s) |
559
560
| ---------- | -------- |
560
561
| 'detection_01': | The default detection model for [FaceList - Add
561
- Face](/ docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395250 ).
562
+ Face](https:// docs.microsoft.com/rest/api/cognitiveservices/face/facelist/addfacefromurl ).
562
563
Recommend for near frontal face detection. For scenarios with
563
564
exceptionally large angle (head-pose) faces, occluded faces or wrong
564
565
image orientation, the faces in such cases may not be detected. |
0 commit comments