Microsoft Cognitive Services Trial Sign Up

As an alternative to signing up for a trial or student Azure account, you can sign up for access to just the Cognitive Services you will require for the game you are playing. This gives you a limited number of calls to the services for a 7 day period only, but should be sufficient if you are at one of our events or just want to experiment for a short time with these games. If you prefer to return to the Azure sign up instructions, please click here

In order to participate in the Microsoft Match Game, you only need to sign up for the Computer Vision API, in order to participate in the Microsoft Who's Who game, you need to sign up for both the Face API and the Computer Vision API.

Microsoft Match Game

To start, please click the following link, and click the green button:

aka.ms/cognitive

cog1.png

You will see the following screen to select your APIs. We will be signing up for the Computer Vision API only.

cog2.png

Select the Get API Key option by Computer Vision and accept the terms and conditions on the following screen. Microsoft then requires you sign in using one of the following services:

cog3.png

Sign in using your preferred service, then choose an option on the next screen to determine if you wish to remain logged in, and close the Welcome and information screens.

The site will then display your security keys for the Computer Vision API, you should copy and paste Key1 into the demo code in the Online Code Editor as described below. Key2 can be ignored for now.

computer%20vision%20API%20example.png

The "Key1" you created through the above process can now be used in the demo code supplied in our Online Code Editor replacing the placeholder YOUR-WEST-EUROPE-API-KEY-HERE:

headers_vision = {'Ocp-Apim-Subscription-Key': 'YOUR-WEST-EUROPE-API-KEY-HERE'}

Important note:

As the Cognitive trial uses the default region of westcentralus, please update the URLs in the demo client in the Online Code Editor from westeurope to westcentralus as follows:

vision_base_url = "https://westcentralus.api.cognitive.microsoft.com/vision/v2.0/"

Microsoft Who's Who Game

To start, please click the following link, and click the green button:

aka.ms/cognitive

cog1.png

You will see the following screen to select your APIs. We will be signing up for both of the Vision APIs: Face and Computer Vision.

cog2.png

Select the Get API Key option by Face API and accept the terms and conditions on the following screen. Microsoft then requires you sign in using one of the following services:

cog3.png

Sign in using your preferred service, then choose an option on the next screen to determine if you wish to remain logged in, and close the Welcome screen.

The site will then display your security keys for the Face API, you should copy and paste Key1 into the demo code in the Online Code Editor as described below. Key2 can be ignored for now.

cog4.png

Click "Add >" below Computer Vision in "You might also be interested in", close the Welcome screen and the Computer Vision API keys will be shown.

cog5.png

The two "Key1"s you created through the above process can now be used in the demo code supplied in our Online Code Editor replacing the placeholders:

headers_face = {'Ocp-Apim-Subscription-Key': 'YOUR-MICROSOFT-FACE-API-KEY-HERE'}
headers_vision = {'Ocp-Apim-Subscription-Key': 'YOUR-MICROSOFT-COMPUTER-VISION-API-KEY-HERE'}

As the Cognitive trial uses the default region of westcentralus, please update the URLs in the demo client in the Online Code Editor from westeurope to westcentralus as follows:

face_api_url = 'https://westcentralus.api.cognitive.microsoft.com/face/v1.0/detect'
face_compare_api_url = 'https://westcentralus.api.cognitive.microsoft.com/face/v1.0/verify'
ocr_vision_api_url = 'https://westcentralus.api.cognitive.microsoft.com/vision/v1.0/ocr'
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License