Speech Recognition and Identification with Windows 10/UWP and ‘Project Oxford’

This post is a direct follow-on from this earlier post which I wrote just 2 weeks ago about how ‘Project Oxford’ has preview APIs that can be used to verify that a piece of recorded speech belongs to a particular (pre-registered) speaker.

Not long after that post, I noticed a few news articles around one of the major UK high street banks starting to adopt voice identification technology as part of their customer login process. I’ve linked to one of the articles that I spotted on the BBC website below;


Just to be clear, I’ve no idea what sort of technology is in use by HSBC but it was very topical for me as I’d just recently been experimenting with those preview ‘Oxford’ APIs and trying out my own version of a similar thing and so it sparked my interest.

With that in mind, I put together this little follow-on sample below which is meant to show;

    • The idea of registering for voice verification by repeating a phrase 3 times over and submitting to the cloud such that a voice profile can be built.
    • The idea of then verifying a voice sample with the cloud to log in to a system.

This demo code uses both ‘Project Oxford’s preview APIs to do the speech verification but it also uses Windows 10 UWP speech APIs on the client side in order to do the work of handling the simple commands required to navigate through the process.

Clearly, the navigation here is a little clunky but you hopefully get the idea as to how it might work. Naturally, a bit more thought might need to be given around how a mechanism like this tried to avoid spoofing with recorded voices and so on but this is just some simple demo code rather than an actual banking system 🙂

The demo code is here for download. It won’t compile until you feed it a key for the ‘Project Oxford’ APIs. and you’ll probably notice that it’s quite simple, basic code.

I’d flag that the association between the user’s account number and the GUID that identifies their online voice profile is being stored locally in the app’s storage whereas, of course, in the real world you’d store this in the cloud somewhere.

2 thoughts on “Speech Recognition and Identification with Windows 10/UWP and ‘Project Oxford’

  1. Pingback: The Morning Brew - Chris Alcock » The Morning Brew #2038

  2. Pingback: Szumma #028 – 2016 8. hét | d/fuel

Comments are closed.