Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Microsoft Cognitive Services
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning Microsoft Cognitive Services

Learning Microsoft Cognitive Services

By : Leif Larsen Henning Larsen
close
close
Learning Microsoft Cognitive Services

Learning Microsoft Cognitive Services

By: Leif Larsen Henning 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 (14 chapters)
close
close
Appendix A. LUIS Entities and Intents
Appendix B. Additional Information on Linguistic Analysis

Knowing who is speaking


Using the Speaker Recognition API we can identify who is speaking. By defining one or more speaker profiles, with corresponding samples, we can identify if any of these is speaking at any time.

To be able to utilize this feature, we need to go through a few steps:

  1. We add one or more speaker profile to the service.

  2. Each speaker profile enrolls several spoken samples.

  3. We call the service to identify a speaker based on audio input.

    Note

    If you have not already done so, sign up for an API key for the Speaker Recognition API at https://www.microsoft.com/cognitive-services/en-us/speaker-recognition-api .

Start by adding a new NuGet package to your Smart-House application. Search for and add Microsoft.ProjectOxford.SpeakerRecognition.

Add a new class called SpeakerIdentification to the Model folder of your project. This class will hold all the functionality related to speaker identification.

Beneath the class, we add another class, containing EventArgs for status updates:

    public...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY