Cheetah Speech-to-Text
Go Quick Start
Platforms
- Linux (x86_64)
- macOS (x86_64, arm64)
- Windows (x86_64)
- Raspberry Pi (3, 4, 5)
Requirements
- Picovoice Account & AccessKey
- Go 1.16+
- Windows only: a gcc compiler like Mingw in $PATH
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your AccessKey
.
Make sure to keep your AccessKey
secret.
Quick Start
Setup
Download and install Go language.
Install the Cheetah Streaming Speech-to-Text Go Package using the Go CLI:
Usage
Create an instance of the Cheetah Streaming Speech-to-Text engine:
Transcribe audio:
When done be sure to explicitly release the resources using cheetah.Delete()
.
Demo
For the Cheetah Streaming Speech-to-Text Go SDK, we offer demo applications that demonstrate how to use the Speech-to-Text engine on real-time audio streams (i.e. microphone input) and audio files.
Setup
Clone the Cheetah Streaming Speech-to-Text repository from GitHub using HTTPS:
Usage
To see the usage options for the demos, use the -h
flag:
Ensure you have a working microphone connected to your system and run the following command to perform live speech-to-text:
For more information on our Cheetah Streaming Speech-to-Text demos for Go, head over to our GitHub repository.