Example Python Code to generate a Viseme json file from Azure Cognitive Services
Prerequisites:
- Azure Account
- add Azure Cognitive Services on your account
- Generate the service keys and replace them on the script
- Install the required libraries
- Install Speech SDK for Python
$ pip install azure-cognitiveservices-speech
Command:
$ python tts-viseme.py
this will generate a viseme.json file on the same directory as the script