Skip to main content

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 file which 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


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

If you're not sure about the file name format, learn more about wheel file names.

gcloud_realtimestt-0.3.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file gcloud_realtimestt-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gcloud_realtimestt-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f271dae99439b74c6541f331b21d4b6936a43845f701515e30155886011edff6
MD5 09b818dafae65acb579cb2af7a2ffd8a
BLAKE2b-256 f93469bc5855a2c7ffd20e650412033dc333f900147f8e8423d4cd38a09a84c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page