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/includes/quickstarts/face-client-library-csharp.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,15 @@
1
1
---
2
-
title: "Quickstart: Face client library for .NET"
2
+
title: "Face .NET client library quickstart"
3
3
description: Get started with the Face client library for .NET with this quickstart.
4
4
services: cognitive-services
5
5
author: PatrickFarley
6
6
manager: nitinme
7
7
ms.service: cognitive-services
8
8
ms.subservice: face-api
9
-
ms.topic: quickstart
9
+
ms.topic: include
10
10
ms.date: 04/14/2020
11
11
ms.author: pafarley
12
12
---
13
-
# Quickstart: Face client library for .NET
14
-
15
13
Get started with the Face client library for .NET. Follow these steps to install the package and try out the example code for basic tasks. The Face service provides you with access to advanced algorithms for detecting and recognizing human faces in images.
16
14
17
15
Use the Face client library for .NET to:
@@ -83,7 +81,7 @@ If you're using the Visual Studio IDE, the client library is available as a down
83
81
84
82
## Object model
85
83
86
-
The following classes and interfaces handle some of the major features of the Face .NET SDK:
84
+
The following classes and interfaces handle some of the major features of the Face .NET client library:
87
85
88
86
|Name|Description|
89
87
|---|---|
@@ -126,7 +124,7 @@ The following fields are needed for several of the Face operations you'll add la
Define strings to point to the different recognition model types. Later on, you'll be able to specify which recognition model you want to use for face detection. See [Specify a recognition model](../Face-API-How-to-Topics/specify-recognition-model.md) for information on these options.
127
+
Define strings to point to the different recognition model types. Later on, you'll be able to specify which recognition model you want to use for face detection. See [Specify a recognition model](../../Face-API-How-to-Topics/specify-recognition-model.md) for information on these options.
@@ -216,7 +214,7 @@ The next code snippet calls the **IdentifyAsync** operation and prints the resul
216
214
217
215
## Take a snapshot for data migration
218
216
219
-
The Snapshots feature lets you move your saved Face data, such as a trained **PersonGroup**, to a different Azure Cognitive Services Face subscription. You may want to use this feature if, for example, you've created a **PersonGroup** object using a free trial subscription and want to migrate it to a paid subscription. See [Migrate your face data](../Face-API-How-to-Topics/how-to-migrate-face-data.md) for an overview of the Snapshots feature.
217
+
The Snapshots feature lets you move your saved Face data, such as a trained **PersonGroup**, to a different Azure Cognitive Services Face subscription. You may want to use this feature if, for example, you've created a **PersonGroup** object using a free trial subscription and want to migrate it to a paid subscription. See [Migrate your face data](../../Face-API-How-to-Topics/how-to-migrate-face-data.md) for an overview of the Snapshots feature.
220
218
221
219
In this example, you will migrate the **PersonGroup** you created in [Create and train a person group](#create-and-train-a-person-group). You can either complete that section first, or create your own Face data construct(s) to migrate.
222
220
@@ -276,8 +274,8 @@ dotnet run
276
274
277
275
If you want to clean up and remove a Cognitive Services subscription, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it.
If you created a **PersonGroup** in this quickstart and you want to delete it, run the following code in your program:
283
281
@@ -298,5 +296,5 @@ In this quickstart, you learned how to use the Face library for .NET to do basis
298
296
> [!div class="nextstepaction"]
299
297
> [Face API reference (.NET)](https://docs.microsoft.com/dotnet/api/overview/azure/cognitiveservices/client/faceapi?view=azure-dotnet)
300
298
301
-
*[What is the Face service?](../overview.md)
299
+
*[What is the Face service?](../../overview.md)
302
300
* The source code for this sample can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/Face/FaceQuickstart.cs).
Copy file name to clipboardExpand all lines: articles/cognitive-services/Face/includes/quickstarts/face-client-library-go.md
+8-11Lines changed: 8 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,15 @@
1
1
---
2
-
title: "Quickstart: Face client library for Go | Microsoft Docs"
2
+
title: "Face Go client library quickstart"
3
3
description: Get started with the Face client library for Go.
4
4
services: cognitive-services
5
5
author: PatrickFarley
6
6
manager: nitinme
7
7
ms.service: cognitive-services
8
8
ms.subservice:
9
-
ms.topic: quickstart
9
+
ms.topic: include
10
10
ms.date: 01/27/2020
11
11
ms.author: pafarley
12
12
---
13
-
14
-
# Quickstart: Face client library for Go
15
-
16
13
Get started with the Face client library for Go. Follow these steps to install the library and try out our examples for basic tasks. The Face service provides you with access to advanced algorithms for detecting and recognizing human faces in images.
17
14
18
15
Use the Face service client library for Go to:
@@ -137,7 +134,7 @@ Next, you'll begin adding code to carry out different Face service operations.
137
134
138
135
## Object model
139
136
140
-
The following classes and interfaces handle some of the major features of the Face service Go SDK.
137
+
The following classes and interfaces handle some of the major features of the Face service Go client library.
141
138
142
139
|Name|Description|
143
140
|---|---|
@@ -172,7 +169,7 @@ Create a **main** function and add the following code to it to instantiate a cli
172
169
173
170
## Detect faces in an image
174
171
175
-
Add the following code in your **main** method. This code defines a remote sample image and specifies which face features to extract from the image. It also specifies which AI model to use to extract data from the detected face(s). See [Specify a recognition model](../Face-API-How-to-Topics/specify-recognition-model.md) for information on these options. Finally, the **[DetectWithURL](https://godoc.org/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/face#Client.DetectWithURL)** method does the face detection operation on the image and saves the results in program memory.
172
+
Add the following code in your **main** method. This code defines a remote sample image and specifies which face features to extract from the image. It also specifies which AI model to use to extract data from the detected face(s). See [Specify a recognition model](../../Face-API-How-to-Topics/specify-recognition-model.md) for information on these options. Finally, the **[DetectWithURL](https://godoc.org/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/face#Client.DetectWithURL)** method does the face detection operation on the image and saves the results in program memory.
@@ -298,7 +295,7 @@ The following code compares each of the source images to the target image and pr
298
295
299
296
## Take a snapshot for data migration
300
297
301
-
The Snapshots feature lets you move your saved face data, such as a trained **PersonGroup**, to a different Azure Cognitive Services Face subscription. You might use this feature if, for example, you've created a **PersonGroup** object using a free trial subscription and now want to migrate it to a paid subscription. See the [Migrate your face data](../Face-API-How-to-Topics/how-to-migrate-face-data.md) for a broad overview of the Snapshots feature.
298
+
The Snapshots feature lets you move your saved face data, such as a trained **PersonGroup**, to a different Azure Cognitive Services Face subscription. You might use this feature if, for example, you've created a **PersonGroup** object using a free trial subscription and now want to migrate it to a paid subscription. See the [Migrate your face data](../../Face-API-How-to-Topics/how-to-migrate-face-data.md) for a broad overview of the Snapshots feature.
302
299
303
300
In this example, you'll migrate the **PersonGroup** you created in [Create and train a person group](#create-and-train-a-person-group). You can either complete that section first, or use your own Face data construct(s).
304
301
@@ -354,8 +351,8 @@ go run sample-app.go
354
351
355
352
If you want to clean up and remove a Cognitive Services subscription, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it.
If you created a **PersonGroup** in this quickstart and you want to delete it, call the **[Delete](https://godoc.org/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/face#PersonGroupClient.Delete)** method. If you migrated data using the Snapshot feature in this quickstart, you'll also need to delete the **PersonGroup** saved to the target subscription.
361
358
@@ -366,5 +363,5 @@ In this quickstart, you learned how to use the Face library for Go to do basis t
366
363
> [!div class="nextstepaction"]
367
364
> [Face API reference (Go)](https://godoc.org/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/face)
368
365
369
-
*[What is the Face service?](../overview.md)
366
+
*[What is the Face service?](../../overview.md)
370
367
* The source code for this sample can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/go/Face/FaceQuickstart.go).
Copy file name to clipboardExpand all lines: articles/cognitive-services/Face/includes/quickstarts/face-client-library-python.md
+7-10Lines changed: 7 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,15 @@
1
1
---
2
-
title: "Quickstart: Face client library for Python"
2
+
title: "Face Python client library quickstart"
3
3
description: This quickstart will help you get started with the Face client library for Python to detect, find similar, identify, verify and more.
4
4
services: cognitive-services
5
5
author: PatrickFarley
6
6
manager: nitinme
7
7
ms.service: cognitive-services
8
8
ms.subservice: face-api
9
-
ms.topic: quickstart
9
+
ms.topic: include
10
10
ms.date: 04/14/2020
11
11
ms.author: pafarley
12
12
---
13
-
14
-
# Quickstart: Face client library for Python
15
-
16
13
Get started with the Face client library for Python. Follow these steps to install the package and try out the example code for basic tasks. The Face service provides you with access to advanced algorithms for detecting and recognizing human faces in images.
The following classes and interfaces handle some of the major features of the Face Python SDK.
62
+
The following classes and interfaces handle some of the major features of the Face Python client library.
66
63
67
64
|Name|Description|
68
65
|---|---|
@@ -89,7 +86,7 @@ These code snippets show you how to do the following tasks with the Face client
89
86
## Authenticate the client
90
87
91
88
> [!NOTE]
92
-
> This quickstart assumes you've [created an environment variable](../../cognitive-services-apis-create-account.md#configure-an-environment-variable-for-authentication) for your Face key, named `FACE_SUBSCRIPTION_KEY`.
89
+
> This quickstart assumes you've [created an environment variable](../../../cognitive-services-apis-create-account.md#configure-an-environment-variable-for-authentication) for your Face key, named `FACE_SUBSCRIPTION_KEY`.
93
90
94
91
Instantiate a client with your endpoint and key. Create a [CognitiveServicesCredentials](https://docs.microsoft.com/python/api/msrest/msrest.authentication.cognitiveservicescredentials?view=azure-python) object with your key, and use it with your endpoint to create a [FaceClient](https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-face/azure.cognitiveservices.vision.face.faceclient?view=azure-python) object.
95
92
@@ -109,7 +106,7 @@ The following code outputs the given image to the display and draws rectangles a

109
+

113
110
114
111
## Find similar faces
115
112
@@ -208,7 +205,7 @@ The following code compares each of the source images to the target image and pr
208
205
209
206
## Take a snapshot for data migration
210
207
211
-
The Snapshots feature lets you move your saved face data, such as a trained **PersonGroup**, to a different Azure Cognitive Services Face subscription. You may want to use this feature if, for example, you've created a **PersonGroup** object using a free trial subscription and now want to migrate it to a paid subscription. See the [Migrate your face data](../Face-API-How-to-Topics/how-to-migrate-face-data.md) for a broad overview of the Snapshots feature.
208
+
The Snapshots feature lets you move your saved face data, such as a trained **PersonGroup**, to a different Azure Cognitive Services Face subscription. You may want to use this feature if, for example, you've created a **PersonGroup** object using a free trial subscription and now want to migrate it to a paid subscription. See the [Migrate your face data](../../Face-API-How-to-Topics/how-to-migrate-face-data.md) for a broad overview of the Snapshots feature.
212
209
213
210
In this example, you will migrate the **PersonGroup** you created in [Create and train a person group](#create-and-train-a-person-group). You can either complete that section first, or use your own Face data construct(s).
214
211
@@ -282,5 +279,5 @@ In this quickstart, you learned how to use the Face library for Python to do bas
282
279
> [!div class="nextstepaction"]
283
280
> [Face API reference (Python)](https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-face/?view=azure-python)
284
281
285
-
*[What is the Face service?](../overview.md)
282
+
*[What is the Face service?](../../overview.md)
286
283
* The source code for this sample can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/python/Face/FaceQuickstart.py).
0 commit comments