Leopard Speech-to-Text Engine.
Project description
Leopard Speech-to-Text Engine
Made in Vancouver, Canada by Picovoice
Leopard is an on-device speech-to-text engine. Leopard is:
- Private; All voice processing runs locally.
- Accurate [1]
- Compact and Computationally-Efficient [2]
- Cross-Platform:
- Linux (x86_64)
- macOS (x86_64, arm64)
- Windows (x86_64)
- Android
- iOS
- Raspberry Pi (4, 3)
- NVIDIA Jetson Nano
Compatibility
- Python 3
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (4, 3), and NVIDIA Jetson Nano.
Installation
pip3 install pvleopard
AccessKey
Leopard requires a valid Picovoice AccessKey
at initialization. AccessKey
acts as your credentials when using Leopard SDKs.
You can get your AccessKey
for free. Make sure to keep your AccessKey
secret.
Signup or Login to Picovoice Console to get your AccessKey
.
Usage
Create an instance of the engine and transcribe an audio file:
import pvleopard
handle = pvleopard.create(access_key='${ACCESS_KEY}')
print(handle.process_file('${AUDIO_PATH}'))
Replace ${ACCESS_KEY}
with yours obtained from Picovoice Console and
${AUDIO_PATH}
to the path an audio file. Finally, when done be sure to explicitly release the resources using
handle.delete()
.
Demos
pvleoparddemo provides command-line utilities for processing audio using Leopard.
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 Distribution
Built Distribution
Hashes for pvleopard-1.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 437d809eda1dee0614f862bd86d41923203b7b82505fa0d5c2dd0a7daf05c2b2 |
|
MD5 | acb1679bc573247b3ef2a641371738d2 |
|
BLAKE2b-256 | bc2af8c0a2ff401af43ac3470ab20a361af13157f88c81d79093394ee70c63d4 |