Book Image

Learning Microsoft Cognitive Services

By : Leif Larsen
Book Image

Learning Microsoft Cognitive Services

By: Leif Larsen

Overview of this book

Take your app development to the next level with Learning Microsoft Cognitive Services. Using Leif's knowledge of each of the powerful APIs, you'll learn how to create smarter apps with more human-like capabilities. ? Discover what each API has to offer and learn how to add it to your app ? Study each AI using theory and practical examples ? Learn current API best practices
Table of Contents (20 chapters)
Learning Microsoft Cognitive Services
About the Author
About the Reviewer
Customer Feedback
Additional Information on Linguistic Analysis

Adding identification to our Smart-House application

As a part of our Smart-House application, we want the application to recognize who we are. Doing so opens up the opportunity to get responses and actions from the application, tailored to you.

Creating our Smart-House application

Create a new project for the Smart-House application, based on the MVVM template we created earlier.

With the new project created, add the Microsoft.ProjectOxford.Face NuGet package.

As we will be building this application throughout the book, we will start small. In the MainView.xaml file add a TabControl property containing two items. The two items should be two user controls, one called the AdministrationView.xaml file, and one called the HomeView.xaml file.

The administration control will be where we administer different parts of the application. The home control will be the starting point, and the main control to use.

Add corresponding ViewModels to the Views. Make sure they are declared and created in MainViewModel...