Python 2/3 client for the Microsoft Speaker Recognition API (Microsoft Cognitive Services)
https://www.microsoft.com/cognitive-services/en-us/speaker-recognition-api
See the examples folder for end to end demonstration.
import cognitive_sr
speech_identification = cognitive_sr.SpeechIdentification(subscription_key)
result = speech_identification.identify_profile(profile_ids, wav_data)
print('Identified wav as profile: ', result['identifiedProfileId'])
print('Confidence is: ', result['confidence'])
Installation
To install, simply:
$ pip install ms-cognitive-speaker-recognition
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ms-cognitive-speaker-recognition-0.1.tar.gz.
File metadata
- Download URL: ms-cognitive-speaker-recognition-0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91a3b20945a6a33f895965dcc9ecb3da9f218bcaaffa589407fe71e13443ac7f
|
|
| MD5 |
eb8b81aa3cc3a147e6910718fe3867f2
|
|
| BLAKE2b-256 |
0da58cb2c4745c402e756b5e21495bd736c5cf298d72ec8433394a5cb372464c
|