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-3.0.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

pvleoparddemo-3.0.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pvleoparddemo-3.0.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.12

File hashes

Hashes for pvleoparddemo-3.0.0.tar.gz
Algorithm Hash digest
SHA256 8cee9f537fdbc18035e52851d4808e79825437d85c22b048d6035562d4e0dca8
MD5 565717fdd1ad47cecedc0be8a3f6a30f
BLAKE2b-256 973f41dbff3e7eee6a84e17c78d193615bb51eacd51cf3f5595a44de1d833fe3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pvleoparddemo-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.12

File hashes

Hashes for pvleoparddemo-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b971b7e9748017db8b973ba2a6c3361ba20b1fc240e418378d1ce01849f321a6
MD5 f2962e17bd64428d61e0fdb9e9b5751d
BLAKE2b-256 d21302c10aa7e626eb6d5a13c4f5c6744c7011cf4eda49875bc5ea4f09eb80fe

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