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 [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.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.0.8.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

pvleoparddemo-1.0.8-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pvleoparddemo-1.0.8.tar.gz
Algorithm Hash digest
SHA256 ee895da0a465f509fea1d0c410f2bc19ecf424267b91da8d4238b52b76bd49d1
MD5 3cb990acc64116ce601447ad833b3b81
BLAKE2b-256 71ea41324420147349defb466c6e822ebdde828dad14ad9f9796e544ec178296

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pvleoparddemo-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4e1fb8d0a10542bf6c0062b194ec4543eb38c9bdc2486aca9d3ebf807b573be9
MD5 3c778aea9c611fcca2e879c0bcdb5fc2
BLAKE2b-256 801f6ae073ca20a54f1141aeba4822f73296dae9cc78ea4bdf9b2aa7799a781f

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