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
* Update codegen
* Correct sample and customization
* Remove not supported operation from README
* Update to latest spec
* Add back assert for detect customization
* Update 1.0.0-beta.1 release date
* Remove empty block in changelog
This is the first preview Azure AI Face client library that follows the [.NET Azure SDK Design Guidelines](https://azure.github.io/azure-sdk/dotnet_introduction.html).
6
6
This library replaces the package [Microsoft.Azure.CognitiveServices.Vision.Face](https://www.nuget.org/packages/Microsoft.Azure.CognitiveServices.Vision.Face).
@@ -10,16 +10,9 @@ This package's [documentation](https://github.com/Azure/azure-sdk-for-net/tree/m
10
10
- This library supports only the Azure AI Face v1.1-preview.1 API.
11
11
- The namespace/package name for Azure AI Face has changed from `Microsoft.Azure.CognitiveServices.Vision.Face` to `Azure.AI.Vision.Face`.
12
12
- Three client design:
13
-
-`FaceClient` to perform core Face functions such as face detection, recognition(identification and verification), finding similar faces and grouping faces.
14
-
-`FaceAdministrationClient` to managed the following data structures that hold data on faces and persons for Face recognition.
13
+
-`FaceClient` to perform core Face functions such as face detection, verification, finding similar faces and grouping faces.
15
14
-`FaceSessionClient` to interact with sessions which is used for Liveness detection.
Copy file name to clipboardExpand all lines: sdk/face/Azure.AI.Vision.Face/README.md
+4-16Lines changed: 4 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,6 @@ Use the client library for to:
8
8
- Liveness detection
9
9
- Face recognition
10
10
- Face verification ("one-to-one" matching)
11
-
- Face identification ("one-to-many" matching)
12
11
- Find similar faces
13
12
- Group faces
14
13
@@ -108,21 +107,10 @@ var client = new FaceClient(endpoint, credential);
108
107
109
108
- Face detection and analysis: Detect human faces in an image and return the rectangle coordinates of their locations, and optionally with landmarks, and face-related attributes. This operation is required as a first step in all the other face recognition scenarios.
110
109
- Face recognition: Confirm that a user is who they claim to be based on how closely their face data matches the target face.
111
-
It includes Face verification ("one-to-one" matching) and Face identification ("one-to-many" matching).
110
+
Support Face verification ("one-to-one" matching).
112
111
- Finding similar faces from a smaller set of faces that look similar to the target face.
113
112
- Grouping faces into several smaller groups based on similarity.
114
113
115
-
### FaceAdministrationClient
116
-
117
-
`FaceAdministrationClient` is provided to interact with the following data structures that hold data on faces and
118
-
persons for Face recognition:
119
-
120
-
- PersonDirectory
121
-
- FaceList
122
-
- LargeFaceList
123
-
- PersonGroup
124
-
- LargePersonGroup
125
-
126
114
### FaceSessionClient
127
115
128
116
`FaceSessionClient` is provided to interact with sessions which is used for Liveness detection.
@@ -278,7 +266,7 @@ For example, if you submit a image with an invalid `Uri`, a `400` error is retur
278
266
```C# Snippet:DetectFacesInvalidUrl
279
267
varinvalidUri=newUri("http://invalid.uri");
280
268
try {
281
-
vardetectResponse=client.DetectFromUrl(
269
+
vardetectResponse=client.Detect(
282
270
invalidUri,
283
271
FaceDetectionModel.Detection01,
284
272
FaceRecognitionModel.Recognition04,
@@ -373,8 +361,8 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con
Copy file name to clipboardExpand all lines: sdk/face/Azure.AI.Vision.Face/samples/README.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,5 @@ Azure AI Vision Face is a cloud service that gives you access to advanced algor
15
15
- Detect faces from image [synchronously](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/face/Azure.AI.Vision.Face/tests/samples/Sample1_FaceDetection.cs) or [asynchronously](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/face/Azure.AI.Vision.Face/tests/samples/Sample1_FaceDetectionAsync.cs)
16
16
- From local image file
17
17
- From URL
18
-
- Verification and identification from Large Person Group [synchronously](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/face/Azure.AI.Vision.Face/tests/samples/Sample2_LargePersonGroup.cs) or [asynchronously](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/face/Azure.AI.Vision.Face/tests/samples/Sample2_LargePersonGroupAsync.cs)
19
-
- Detect liveness in faces with session [synchronously](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/face/Azure.AI.Vision.Face/tests/samples/Sample3_DetectLivenessWithSession.cs) or [asynchronously](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/face/Azure.AI.Vision.Face/tests/samples/Sample3_DetectLivenessWithSessionAsync.cs)
20
-
- Detect liveness with face verification with session [synchronously](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/face/Azure.AI.Vision.Face/tests/samples/Sample4_DetectLivenessWithVerifyWithSession.cs) or [asynchronously](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/face/Azure.AI.Vision.Face/tests/samples/Sample4_DetectLivenessWithVerifyWithSessionAsync.cs)
18
+
- Detect liveness in faces with session [synchronously](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/face/Azure.AI.Vision.Face/tests/samples/Sample2_DetectLivenessWithSession.cs) or [asynchronously](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/face/Azure.AI.Vision.Face/tests/samples/Sample2_DetectLivenessWithSessionAsync.cs)
19
+
- Detect liveness with face verification with session [synchronously](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/face/Azure.AI.Vision.Face/tests/samples/Sample3_DetectLivenessWithVerifyWithSession.cs) or [asynchronously](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/face/Azure.AI.Vision.Face/tests/samples/Sample3_DetectLivenessWithVerifyWithSessionAsync.cs)
0 commit comments