To be able to use Azure Cognitive Services to scan images for adult content, we need to create a resource in the Azure portal. This will give us a key that we can use when making calls to the API. Proceed as follows:
- Create a new Computer Vision resource.
- Give the resource a name and select a subscription.
- Select a location that is close to your users.
- Select a pricing tier.
- Select the same resource groups that you selected for the other resources.
- Click OK to create the new resource.
Refer to the following screenshot to view the preceding information:
We have now finished creating the Cognitive Service. We will come back later to grab a key that we will use for the calls we will make against the API.