Skip to main content

API client for Microsoft Cognitive Services (Speaker Recognition)

Project description

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

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ms-cognitive-speaker-recognition-0.1.tar.gz (3.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page