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:
- Create a user profile:
python Identification\CreateProfile.py <subscription_key>
- Print all user profiles:
python Identification\PrintAllProfiles.py <subscription_key>
- Enroll user profiles:
python Identification\EnrollProfile.py <subscription_key> <profile_id> <enrollment_file_path>
- Identify test files:
python Identification\IdentifyFile.py <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:
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.