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/cognitive-services/Face/concepts/face-detection.md
+17-8Lines changed: 17 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
---
2
2
title: "Face detection and attributes concepts"
3
3
titleSuffix: Azure Cognitive Services
4
-
description: Face detection is the action of locating human faces in an image and optionally returning different kinds of face-related data.
4
+
description: Learn more about face detection; face detection is the action of locating human faces in an image and optionally returning different kinds of face-related data.
5
5
services: cognitive-services
6
6
author: PatrickFarley
7
7
manager: nitime
8
8
9
9
ms.service: cognitive-services
10
10
ms.subservice: face-api
11
11
ms.topic: conceptual
12
-
ms.date: 04/26/2019
12
+
ms.date: 10/27/2021
13
13
ms.author: pafarley
14
14
---
15
15
@@ -62,18 +62,27 @@ Attributes are a set of features that can optionally be detected by the [Face -
62
62
63
63
Use the following tips to make sure that your input images give the most accurate detection results:
64
64
65
-
* The supported input image formats are JPEG, PNG, GIF for the first frame, and BMP.
65
+
* The supported input image formats are JPEG, PNG, GIF (the first frame), BMP.
66
66
* The image file size should be no larger than 6 MB.
67
67
* The minimum detectable face size is 36 x 36 pixels in an image that is no larger than 1920 x 1080 pixels. Images with larger than 1920 x 1080 pixels have a proportionally larger minimum face size. Reducing the face size might cause some faces not to be detected, even if they are larger than the minimum detectable face size.
68
68
* The maximum detectable face size is 4096 x 4096 pixels.
69
69
* Faces outside the size range of 36 x 36 to 4096 x 4096 pixels will not be detected.
70
-
* Some faces might not be detected because of technical challenges. Extreme face angles (head pose) or face occlusion (objects such as sunglasses or hands that block part of the face) can affect detection. Frontal and near-frontal faces give the best results.
70
+
* Some faces might not be recognized because of technical challenges, such as:
71
+
* Images with extreme lighting, for example, severe backlighting.
72
+
* Obstructions that block one or both eyes.
73
+
* Differences in hair type or facial hair.
74
+
* Changes in facial appearance because of age.
75
+
* Extreme facial expressions.
71
76
72
-
Input data with orientation information:
73
-
* Some input images with JPEG format might contain orientation information in Exchangeable image file format (Exif) metadata. If Exif orientation is available, images will be automatically rotated to the correct orientation before sending for face detection. The face rectangle, landmarks, and head pose for each detected face will be estimated based on the rotated image.
74
-
* To properly display the face rectangle and landmarks, you need to make sure the image is rotated correctly. Most of image visualization tools will auto-rotate the image according to its Exif orientation by default. For other tools, you might need to apply the rotation using your own code. The following examples show a face rectangle on a rotated image (left) and a non-rotated image (right).
77
+
### Input data with orientation information:
75
78
76
-

79
+
Some input images with JPEG format might contain orientation information in Exchangeable image file format (Exif) metadata. If Exif orientation is available, images will be automatically rotated to the correct orientation before sending for face detection. The face rectangle, landmarks, and head pose for each detected face will be estimated based on the rotated image.
80
+
81
+
To properly display the face rectangle and landmarks, you need to make sure the image is rotated correctly. Most of image visualization tools will auto-rotate the image according to its Exif orientation by default. For other tools, you might need to apply the rotation using your own code. The following examples show a face rectangle on a rotated image (left) and a non-rotated image (right).
82
+
83
+

84
+
85
+
### Video input
77
86
78
87
If you're detecting faces from a video feed, you may be able to improve performance by adjusting certain settings on your video camera:
Copy file name to clipboardExpand all lines: articles/cognitive-services/Face/concepts/face-recognition.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,27 @@
1
1
---
2
2
title: "Face recognition concepts"
3
3
titleSuffix: Azure Cognitive Services
4
-
description: This article explains the concept of Face recognition, its related operations, and the underlying data structures.
4
+
description: Learn the concept of Face recognition, its related operations, and the underlying data structures.
5
5
services: cognitive-services
6
6
author: PatrickFarley
7
7
manager: nitime
8
8
9
9
ms.service: cognitive-services
10
10
ms.subservice: face-api
11
11
ms.topic: conceptual
12
-
ms.date: 04/23/2019
12
+
ms.date: 10/27/2021
13
13
ms.author: pafarley
14
14
---
15
15
16
16
# Face recognition concepts
17
17
18
-
This article explains the concept of Face recognition, its related operations, and the underlying data structures. Broadly, Face recognition refers to the method of verifying or identifying an individual using their face. Verification is one-to-one matching that takes two faces and returns whether they are the same face, and identification is one-to-many matching that takes a single face as input and returns a set of matching candidates. Face recognition is important in implementing the identity verification scenario, which enterprises and apps use to verify that a (remote) user is who they claim to be.
18
+
This article explains the concept of Face recognition, its related operations, and the underlying data structures. Broadly, Face recognition refers to the method of verifying or identifying an individual by their face.
19
+
20
+
Verification is one-to-one matching that takes two faces and returns whether they are the same face, and identification is one-to-many matching that takes a single face as input and returns a set of matching candidates. Face recognition is important in implementing the identity verification scenario, which enterprises and apps can use to verify that a (remote) user is who they claim to be.
19
21
20
22
## Related data structures
21
23
22
-
The recognition operations use mainly the following data structures. These objects are stored in the cloud and can be referenced by their ID strings. ID strings are always unique within a subscription. Name fields may be duplicated.
24
+
The recognition operations use mainly the following data structures. These objects are stored in the cloud and can be referenced by their ID strings. ID strings are always unique within a subscription, but name fields may be duplicated.
23
25
24
26
|Name|Description|
25
27
|:--|:--|
@@ -28,10 +30,11 @@ The recognition operations use mainly the following data structures. These objec
28
30
|[FaceList](https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039524b) or [LargeFaceList](https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/5a157b68d2de3616c086f2cc)| This data structure is an assorted list of PersistedFace objects. A FaceList has a unique ID, a name string, and optionally a user data string.|
29
31
|[Person](https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523c)| This data structure is a list of PersistedFace objects that belong to the same person. It has a unique ID, a name string, and optionally a user data string.|
30
32
|[PersonGroup](https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395244) or [LargePersonGroup](https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/599acdee6ac60f11b48b5a9d)| This data structure is an assorted list of Person objects. It has a unique ID, a name string, and optionally a user data string. A PersonGroup must be [trained](https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395249) before it can be used in recognition operations.|
33
+
|PersonDirectory | This data structure is like **LargePersonGroup** but offers additional storage capacity and other added features. For more information, see [Use the PersonDirectory structure](Face-API-How-to-Topics/use-persondirectory.md).
31
34
32
35
## Recognition operations
33
36
34
-
This section details how the underlying operations use the data structures previously described to identify and verify a face.
37
+
This section details how the underlying operations use the above data structures to identify and verify a face.
35
38
36
39
### PersonGroup creation and training
37
40
@@ -43,12 +46,10 @@ The [Train](https://westus.dev.cognitive.microsoft.com/docs/services/563879b6198
43
46
44
47
The [Identify](https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395239) operation takes one or several source face IDs (from a DetectedFace or PersistedFace object) and a PersonGroup or LargePersonGroup. It returns a list of the Person objects that each source face might belong to. Returned Person objects are wrapped as Candidate objects, which have a prediction confidence value.
45
48
46
-
47
49
### Verification
48
50
49
51
The [Verify](https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523a) operation takes a single face ID (from a DetectedFace or PersistedFace object) and a Person object. It determines whether the face belongs to that same person. Verification is one-to-one matching and can be used as a final check on the results from the Identify API call. However, you can optionally pass in the PersonGroup to which the candidate Person belongs to improve the API performance.
50
52
51
-
52
53
## Input data
53
54
54
55
Use the following tips to ensure that your input images give the most accurate recognition results:
0 commit comments