Skip to main content

Leopard speech-to-text engine demos

Project description

Leopard Speech-to-Text Demos

Made in Vancouver, Canada by Picovoice

Leopard

Leopard is an on-device speech-to-text engine. Leopard is:

  • Private; All voice processing runs locally.
  • Accurate
  • Compact and Computationally-Efficient
  • Cross-Platform:
    • Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64)
    • Android and iOS
    • Chrome, Safari, Firefox, and Edge
    • Raspberry Pi (3, 4, 5)

Compatibility

  • Python 3.9+
  • Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64), and Raspberry Pi (3, 4, 5).

Installation

pip3 install pvleoparddemo

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

File Demo

Run the following in the terminal:

leopard_demo_file --access_key ${ACCESS_KEY} --wav_paths ${AUDIO_FILE_PATH}

Replace ${ACCESS_KEY} with yours obtained from Picovoice Console and ${AUDIO_FILE_PATH} with a path to an audio file you wish to transcribe.

Microphone Demo

You need a working microphone connected to your machine for this demo. Run the following in the terminal:

leopard_demo_mic --access_key ${ACCESS_KEY}

Replace ${ACCESS_KEY} with yours obtained from Picovoice Console. Once running, the demo prints:

>>> Press `ENTER` to start:

Press ENTER key and wait for the following message in the terminal:

>>> Recording ... Press `ENTER` to stop:

Now start recording and when done press ENTER key to get the transcription.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pvleoparddemo-2.0.5.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

pvleoparddemo-2.0.5-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file pvleoparddemo-2.0.5.tar.gz.

File metadata

  • Download URL: pvleoparddemo-2.0.5.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pvleoparddemo-2.0.5.tar.gz
Algorithm Hash digest
SHA256 319b6adf7b9aeb6e812df85b9e61b47f0e2b52d6f02e0c6df7b1cdb965406bdd
MD5 a998f1f74c3f8e1ed7d8d8a1265d81a1
BLAKE2b-256 748b84056ad7d212b44045b8f876d8641ae866811eeaa0a9cdeb5136d9251860

See more details on using hashes here.

File details

Details for the file pvleoparddemo-2.0.5-py3-none-any.whl.

File metadata

  • Download URL: pvleoparddemo-2.0.5-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pvleoparddemo-2.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bf896749dc794a1a71bcbac5fc408d28d3f1e7894ddd1d6dd57e0ca9f5ab8227
MD5 da62df99dec390b49696ed65346bd281
BLAKE2b-256 9943d5ab8e9c916bca735cfa72c081b6b3a3fd5121ed247562ab51e8d682bb72

See more details on using hashes here.

Supported by

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