In this demo, you will use one of the Microsoft Cognitive Services API's to bring intelligence to a Xamarin.Forms application.
The first goal is to use the Microsoft Cognitive Services Emotion API to get your emotion after taking a picture of yourself with the device/emulator camera.
The second goal is to use the Microsoft Cognitive Services Computer API to get a description after taking a picture of an object with the device/emulator camera.
We can analyze our photo and see what celebrity we look like and analyze the text of an image.
The walkthrough below should help you, but you can also get in touch with me @Wilson_VargasM I will be happy to help!
This demo requires either:
- Visual Studio 2015 Update 2 (with Xamarin tools installed)
- Xamarin Studio with either an Android or iOS phone
-
To get a trial key and be able to use the APIs, go to www.microsoft.com/cognitive-services, use the My account link on the top-right corner and login with a Microsoft Account (ex Live ID).
-
Click on the "Request new trials" button, choose the Emotion API product, Computer Vision API and Face API then accept the terms of service and the privacy statement to subscribe.
-
Keep one of the generated keys with you as you will need it later.