- Microsoft HoloLens By Example
- Joshua Newnham
- 284字
- 2025-04-04 18:31:37
Setting up Azure
In this section we will describe the details required to set up the Cognitive Service on Azure; head to https://portal.azure.com/ and sign in with a valid account (or create an account).
Once logged in, you will be taken to your Azure Dashboard; from here, click on the +Next button at the top of the left panel; this will expand a menu. Within this menu, search and click on AI + Cognitive Services, which will spawn another menu where we can select Face API, as shown:

After clicking on the Face API item, you will be presented with a tab requiring you to enter the details of your service, such as Name, Subscription, Location, Pricing tier, and Resource Group. Most of the fields are self-explanatory, but it's important to take note of the location as this affects the URL you use to access the service. With all that done, you have your service up and running; details of this service should be visible on the screen and can be accessed from your Dashboard:

To use your service, you will need to call it with the keys; these can be accessed via the Show access keys... link. When clicked on, it will display a set of keys you will need. For convenience, copy and paste them somewhere easily accessible (Notepad) while you read through this chapter.