A python library for realtime transcription from and audio stream using google-cloud-speech API
Project description
Realtime Speech-to-text using Audio Input Stream and google-cloud-speech API
Installation:
pip3 install gcloud-realtimestt
Get credentials.json
- Go to your google cloud console
- Choose existing project or create a new project
- Go to APIs and Services and enable
Cloud Speech-to-Text API - Create a service account to authenticate the API
- Create new keys and download the account
<project-name>-credentials.json filewhich contains your API key - Copy the JSON file in your project and use this package.
Usage:
import gcloud_realtimestt as stt
text = stt.listen('/path/to/credentials.json')
print(text)
Reference: Docs for Google Cloud Speech-to-text API
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gcloud_realtimestt-0.3.0-py3-none-any.whl.
File metadata
- Download URL: gcloud_realtimestt-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f271dae99439b74c6541f331b21d4b6936a43845f701515e30155886011edff6
|
|
| MD5 |
09b818dafae65acb579cb2af7a2ffd8a
|
|
| BLAKE2b-256 |
f93469bc5855a2c7ffd20e650412033dc333f900147f8e8423d4cd38a09a84c2
|