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)
    • Android and iOS
    • Chrome, Safari, Firefox, and Edge
    • Raspberry Pi (3, 4, 5)

Compatibility

  • Python 3.8+
  • Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), 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.3.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pvleoparddemo-2.0.3.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for pvleoparddemo-2.0.3.tar.gz
Algorithm Hash digest
SHA256 4437e3962b286896c523d38db0ead424fe288b15fdc57f06e48ab09848f8fe98
MD5 0c63af944efae7ee1102353daa82241d
BLAKE2b-256 47b392693202abb3b77c22f2c0eb37551453170400bc79ccf812c32014a1b176

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pvleoparddemo-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c45c47f4472fe388576d701a266f8646da5118a7b2f45fac87abd88b2552bc3e
MD5 d423611ac92a4e808e2dde73c49ee144
BLAKE2b-256 ca13359b3e4bdb995a1d70dab3825beb01f8dedbcd968b88ab6c7f60954d12e4

See more details on using hashes here.

Supported by

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