Skip to content

Commit af697d0

Browse files
committed
face freshness
1 parent f560c7b commit af697d0

File tree

3 files changed

+26
-18
lines changed

3 files changed

+26
-18
lines changed

articles/cognitive-services/Face/concepts/face-detection.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
title: "Face detection and attributes concepts"
33
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.
55
services: cognitive-services
66
author: PatrickFarley
77
manager: nitime
88

99
ms.service: cognitive-services
1010
ms.subservice: face-api
1111
ms.topic: conceptual
12-
ms.date: 04/26/2019
12+
ms.date: 10/27/2021
1313
ms.author: pafarley
1414
---
1515

@@ -62,18 +62,27 @@ Attributes are a set of features that can optionally be detected by the [Face -
6262

6363
Use the following tips to make sure that your input images give the most accurate detection results:
6464

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.
6666
* The image file size should be no larger than 6 MB.
6767
* 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.
6868
* The maximum detectable face size is 4096 x 4096 pixels.
6969
* 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.
7176

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:
7578

76-
![Two face images with/without rotation](../Images/image-rotation.png)
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+
![Two face images with and without rotation](../Images/image-rotation.png)
84+
85+
### Video input
7786

7887
If you're detecting faces from a video feed, you may be able to improve performance by adjusting certain settings on your video camera:
7988

articles/cognitive-services/Face/concepts/face-recognition.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
11
---
22
title: "Face recognition concepts"
33
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.
55
services: cognitive-services
66
author: PatrickFarley
77
manager: nitime
88

99
ms.service: cognitive-services
1010
ms.subservice: face-api
1111
ms.topic: conceptual
12-
ms.date: 04/23/2019
12+
ms.date: 10/27/2021
1313
ms.author: pafarley
1414
---
1515

1616
# Face recognition concepts
1717

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.
1921

2022
## Related data structures
2123

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.
2325

2426
|Name|Description|
2527
|:--|:--|
@@ -28,10 +30,11 @@ The recognition operations use mainly the following data structures. These objec
2830
|[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.|
2931
|[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.|
3032
|[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).
3134

3235
## Recognition operations
3336

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.
3538

3639
### PersonGroup creation and training
3740

@@ -43,12 +46,10 @@ The [Train](https://westus.dev.cognitive.microsoft.com/docs/services/563879b6198
4346

4447
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.
4548

46-
4749
### Verification
4850

4951
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.
5052

51-
5253
## Input data
5354

5455
Use the following tips to ensure that your input images give the most accurate recognition results:

articles/cognitive-services/Face/index.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ metadata:
1111
ms.topic: landing-page
1212
author: PatrickFarley
1313
ms.author: pafarley
14-
ms.date: 9/01/2020
14+
ms.date: 10/27/2021
1515

1616

1717
# linkListType: architecture | concept | deploy | download | get-started | how-to-guide | learn | overview | quickstart | reference | tutorial | video | whats-new
@@ -31,8 +31,6 @@ landingContent:
3131
- text: What's new in Face service?
3232
url: releasenotes.md
3333

34-
35-
3634
- title: Face recognition
3735
linkLists:
3836
- linkListType: concept

0 commit comments

Comments
 (0)