Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (22 loc) · 1.92 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.92 KB

Notebook run instructions

Step 0: Azure Account

Navigate to the Azure Portal and login in to your subscription. If you don't have one, you can create your Azure free account here.

Step 1: Create the Azure Cognitive Service API

Once you have your Azure subscription, create a Face API resource in the Azure portal to get a key and endpoint.

Face API Service Creation

Toggle the checkbox and click on Review and Create to proceed to the last step: click the Create button. When the resource has been deployed, click on Go to resource or navigate to the Resource Group where you deployed it.

Step 2: Gather information on the service and fill up config file

To make the notebook work correctly, you'll need to put some information into the config.json file. Open the file.

On your resource on Azure left menu, navigate to the Overview tab. Copy-paste the values listed below as values in the config file:

  • Subscription id --> subscription_id
  • Resource group name --> resource_group_name ;
  • Face API Endpoint --> face_api_endpoint;
  • Location --> face_api_location.

Face API Overview

On the left side menu, navigate to Keys and Endpoints and click on the button on the right of the Key 1 to copy and paste the key into your config.json as face_api_key value.

Face API Overview

Step 3: Run your notebook

You can simply start the notebook locally or on Azure Machine Learning Service.

Few recommendations:

  • You might need to download the packages imported in the first cell
  • You need to insert the image url. There are test images available here