Skip to content
Python SDK for the Microsoft Speaker Recognition API, part of Cognitive Services
Branch: master
Clone or download

Microsoft Speaker Recognition API: Python Sample

This repo contains Python samples (using Python 3) to demonstrate the use of Microsoft Speaker Recognition API, an offering within Microsoft Cognitive Services, formerly known as Project Oxford.

Run the Sample

First, you must obtain a free Speaker Recognition API subscription key by following the instructions on our website.

To use this sample application, there are four different scenarios:

  1. Create a user profile: python Identification\ <subscription_key>
  2. Print all user profiles: python Identification\ <subscription_key>
  3. Enroll user profiles: python Identification\ <subscription_key> <profile_id> <enrollment_file_path>
  4. Identify test files: python Identification\ <subscription_key> <identification_file_path> <profile_ids>...


We welcome contributions. Feel free to file issues and pull requests on the repo and we'll address them as we can. Learn more about how you can help on our Contribution Rules & Guidelines.

You can reach out to us anytime with questions and suggestions using our communities below:

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.


All Microsoft Cognitive Services SDKs and samples are licensed with the MIT License. For more details, see LICENSE.

Sample images are licensed separately, please refer to LICENSE-IMAGE.

You can’t perform that action at this time.