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 (4, 3) and NVIDIA Jetson Nano

Compatibility

  • Python 3.5+
  • Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (4, 3), and NVIDIA Jetson Nano.

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} --audio_paths ${AUDIO_PATH}

Replace ${ACCESS_KEY} with yours obtained from Picovoice Console and ${AUDIO_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-1.2.3.tar.gz (8.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-1.2.3-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pvleoparddemo-1.2.3.tar.gz
Algorithm Hash digest
SHA256 78d4cb21f8f8736d97b3966a01c26b27a5187e0096ce058c8f1cb38cc539583d
MD5 ca5ae9063e966a9dbff387846ca02433
BLAKE2b-256 d69c7904f5c335636cb385dfaa83d04006329ba4c59ca1e7982aa5180fa390a5

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pvleoparddemo-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0b55b3e96fe2b779092c2eb1cd5dc95216ded4286999ac31a9218ca0214c4d60
MD5 03b138bfb92c9bcac94e1919d5f7c8c5
BLAKE2b-256 a6dd581d5261e6f1c8a1e69a4de2665e8466d1690f9ee18e4c1a376095ce4c83

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