Perform the following steps:
- Once the Computer Vision API account is generated, you can navigate to the Keys blade and grab any of the following keys:
- Navigate to your Azure functions app, configure Application settings with the name Vision_API_Subscription_Key, and use any of the preceding keys as the value. This key will be used by the Azure Functions Runtime to connect to and consume the Computer Vision Cognitive Services API.
- Make a note of the location where you are creating the computer vision service. In my case, I have chosen West Europe. It is important when you are passing the images to the Cognitive Services API to ensure that the endpoint of the API starts with the location name. It would be something like this: https://westeurope.api.cognitive.microsoft.com/vision/v1.0/analyze?visualFeatures=Faces&language=en.