Home / Companies / Deepgram / Blog / Post Details
Content Deep Dive

Speech Recognition with Vonage and Python

Blog post from Deepgram

Post Details
Company
Date Published
Author
Tonya Sims
Word Count
1,266
Company Posts That Month
8
Language
English
Hacker News Points
-
Summary

In this tutorial, we learn how to transcribe voice calls using Python with the help of Vonage and Deepgram. We first set up a virtual environment for the project and install necessary dependencies such as deepgram-sdk, vonage, python-dotenv, Flask, pysondb, etc. Then, we create an application in the Vonage API Dashboard and store the required environment variables in a .env file. We implement endpoints in our Python script for handling answer calls, recording calls, transcribing audio using Deepgram's speech-to-text feature, and displaying the transcript on a webpage. Finally, we make a phone call and use another non-Vonage phone to initiate a conversation with the provided Vonage number. After hanging up, the transcript appears in the browser when navigating to http://127.0.0.1:5000/transcribe.

Trends Found in this Post

No tracked trend matches for this post yet.