Skip to content

Commit 743b39c

Browse files
Merge pull request #6324 from v-albemi/ai-face
AI Freshness - Azure AI Face Service Quickstart
2 parents a8ad1c9 + c42aec7 commit 743b39c

File tree

6 files changed

+18
-22
lines changed

6 files changed

+18
-22
lines changed

articles/ai-services/computer-vision/includes/face-environment-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ In this example, write your credentials to environment variables on the local ma
1010

1111
[!INCLUDE [find key and endpoint](./find-key.md)]
1212

13-
To set the environment variable for your key and endpoint, open a console window and follow the instructions for your operating system and development environment.
13+
To set the environment variable for your key and endpoint, open a console window and complete the instructions that follow for your operating system and development environment.
1414

1515
- To set the `FACE_APIKEY` environment variable, replace `<your_key>` with one of the keys for your resource.
1616
- To set the `FACE_ENDPOINT` environment variable, replace `<your_endpoint>` with the endpoint for your resource.

articles/ai-services/computer-vision/includes/find-key.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ ms.update-cycle: 365-days
1212
ms.author: pafarley
1313
---
1414

15-
Go to the Azure portal. If the resource you created in the **Prerequisites** section deployed successfully, select **Go to resource** under **Next Steps**. You can find your key and endpoint under **Resource Management** in the **Keys and Endpoint** page. Your resource key isn't the same as your Azure subscription ID.
15+
Go to the Azure portal. If the resource you created in the **Prerequisites** section deployed successfully, select **Go to resource** under **Next steps**. You can find your key and endpoint under **Resource Management** on the **Keys and Endpoint** page of the Face resource. Your resource key isn't the same as your Azure subscription ID.

articles/ai-services/computer-vision/includes/identity-studio-quickstart.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ Use Azure AI Foundry portal to detect faces in an image.
2222

2323
Go to the [Azure AI Foundry portal](https://ai.azure.com/), and sign in with your Azure account that has the AI Foundry resource.
2424

25-
On the left nav, select **AI Services**. On the next page, select **Vision + Document**. Go to the **Face** tab and select **Detect faces in an image**.
26-
25+
Select **Azure AI Foundry** in the top-left corner, scroll down and select **Explore Azure AI Services**, and then select **Vision + Document**. On the **Face** tab, select **Detect faces in an image**.
2726

2827
## Detect faces
2928

@@ -33,7 +32,7 @@ Select an image from the available set, or upload your own. The service will det
3332

3433
## Next steps
3534

36-
In this quickstart, you did face detection using the Azure AI Foundry portal. Next, learn about the different face detection models and how to specify the right model for your use case.
35+
In this quickstart, you did face detection by using the Azure AI Foundry portal. Next, learn about the different face detection models and how to specify the right model for your use case.
3736

3837
> [!div class="nextstepaction"]
3938
> [Specify a face detection model version](../how-to/specify-detection-model.md)

articles/ai-services/computer-vision/includes/quickstarts-sdk/identity-csharp-sdk.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@ Get started with facial recognition using the Face client library for .NET. The
1818

1919
## Prerequisites
2020

21-
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services/)
21+
* Azure subscription. [Create one for free](https://azure.microsoft.com/free/cognitive-services/).
2222
* The [Visual Studio IDE](https://visualstudio.microsoft.com/vs/) or current version of [.NET Core](https://dotnet.microsoft.com/download/dotnet-core).
23-
* Once you have your Azure subscription, <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesFace" title="Create a Face resource" target="_blank">create a Face resource </a> in the Azure portal to get your key and endpoint. After it deploys, select **Go to resource**.
24-
* You'll need the key and endpoint from the resource you create to connect your application to the Face API.
25-
* You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
23+
* Once you have your Azure subscription, <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesFace" title="Create a Face resource" target="_blank">create a Face resource </a> in the Azure portal to get your key and endpoint. You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
2624

2725

2826
## Create environment variables
@@ -31,15 +29,15 @@ Get started with facial recognition using the Face client library for .NET. The
3129

3230
## Identify and verify faces
3331

34-
1. Create a new C# application
32+
1. Create a new C# application.
3533

3634
#### [Visual Studio IDE](#tab/visual-studio)
3735

38-
Using Visual Studio, create a new .NET Core application.
36+
Using Visual Studio, create a new .NET Console App.
3937

4038
### Install the client library
4139

42-
Once you've created a new project, install the client library by right-clicking on the project solution in the **Solution Explorer** and selecting **Manage NuGet Packages**. In the package manager that opens select **Browse**, check **Include prerelease**, and search for `Azure.AI.Vision.Face`. Select the latest version, and then **Install**.
40+
Once you've created a new project, install the client library by right-clicking the project in **Solution Explorer** and selecting **Manage NuGet Packages**. In the package manager that opens, select **Browse**, select **Include prerelease**, and search for `Azure.AI.Vision.Face`. Select the latest version, and then select **Install**.
4341

4442
#### [CLI](#tab/cli)
4543

@@ -74,10 +72,10 @@ Get started with facial recognition using the Face client library for .NET. The
7472
```
7573

7674
---
77-
1. Add the following code into the *Program.cs* file.
75+
1. Add the following code into the *Program.cs* file, replacing the existing code.
7876

7977
> [!NOTE]
80-
> If you haven't received access to the Face service using the [intake form](https://aka.ms/facerecognition), some of these functions won't work.
78+
> If you haven't received access to the Face service by using the [intake form](https://aka.ms/facerecognition), some of these functions won't work.
8179
8280
[!code-csharp[](~/cognitive-services-quickstart-code/dotnet/Face/Quickstart.cs?name=snippet_single)]
8381

@@ -86,7 +84,7 @@ Get started with facial recognition using the Face client library for .NET. The
8684

8785
#### [Visual Studio IDE](#tab/visual-studio)
8886

89-
Run the application by clicking the **Debug** button at the top of the IDE window.
87+
Run the application by selecting the **Debug** button at the top of the IDE window.
9088

9189
#### [CLI](#tab/cli)
9290

articles/ai-services/computer-vision/includes/quickstarts-sdk/identity-javascript-sdk.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,15 @@ ms.date: 05/03/2022
1212
ms.author: pafarley
1313
---
1414

15-
Get started with facial recognition using the Face client library for JavaScript. 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. Follow these steps to install the package and try out the example code for basic face identification using remote images.
15+
Get started with facial recognition using the Face client library for JavaScript. The Face service provides you with access to advanced algorithms for detecting and recognizing human faces in images. Follow these steps to install the package and try out the example code for basic face identification using remote images.
1616

1717
[Reference documentation](https://aka.ms/azsdk-javascript-face-ref) | [Library source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/face/ai-vision-face-rest) | [Package (npm)](https://www.npmjs.com/package/@azure-rest/ai-vision-face) | [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/face/ai-vision-face-rest/samples)
1818

1919
## Prerequisites
2020

21-
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services/)
21+
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services/).
2222
* The latest version of [Node.js](https://nodejs.org/en/)
23-
* Once you have your Azure subscription, [Create a Face resource](https://portal.azure.com/#create/Microsoft.CognitiveServicesFace) in the Azure portal to get your key and endpoint. After it deploys, select **Go to resource**.
24-
* You'll need the key and endpoint from the resource you create to connect your application to the Face API.
25-
* You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
23+
* Once you have your Azure subscription, [Create a Face resource](https://portal.azure.com/#create/Microsoft.CognitiveServicesFace).You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
2624

2725

2826
## Create environment variables
@@ -54,7 +52,7 @@ Get started with facial recognition using the Face client library for JavaScript
5452

5553
Your app's `package.json` file is updated with the dependencies.
5654

57-
1. Create a file named `index.js`, open it in a text editor, and paste in the following code:
55+
1. Create a file named `index.js`, open it in a text editor, paste in the following code, and save it to the folder that contains the app.
5856

5957
> [!NOTE]
6058
> If you haven't received access to the Face service using the [intake form](https://aka.ms/facerecognition), some of these functions won't work.

articles/ai-services/computer-vision/quickstarts-sdk/identity-client-library.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ feedback_help_link_url: https://learn.microsoft.com/answers/tags/156/azure-face
2020
# Quickstart: Use the Face service
2121

2222
[!INCLUDE [GDPR-related guidance](../includes/identity-data-notice.md)]
23-
[!INCLUDE [Gate notice](../includes/identity-gate-notice.md)]
2423

24+
> [!CAUTION]
25+
> Face service access is limited based on eligibility and usage criteria in order to support our Responsible AI principles. Face service is only available to Microsoft managed customers and partners. Use the [Face Recognition intake form](https://aka.ms/facerecognition) to apply for access. To complete the steps in this quickstart, request the **[Face API] Facial Identification (1:N or 1:1 matching) with optional facial liveness detection for touchless access control** use case. For more information, see the [Face limited access](/azure/ai-foundry/responsible-ai/computer-vision/limited-access-identity) page.
2526
2627
::: zone pivot="foundry-portal"
2728

0 commit comments

Comments
 (0)