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
  • 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.5.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pvleoparddemo-1.0.5.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for pvleoparddemo-1.0.5.tar.gz
Algorithm Hash digest
SHA256 bacc262a1302348352a8ee70b1c2305ce3be52724f8a23b75047e8ea3f88a2d7
MD5 b1f13b53c60eadc37ce3be55dd119533
BLAKE2b-256 154cdd8a27ee137cfd135763227dafffc34a184a7a8fa8d93414b26d3f62438d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pvleoparddemo-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for pvleoparddemo-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 47176dd2bf6ca0e79d0d73c22769e4779b2c6492ebb41c6f622a5cbfce538a78
MD5 784032055886b65d4e0d0ed44ac3799a
BLAKE2b-256 7957362a503248331282c8a40c5056881b44a01e7f991c1a773143964b5d01b3

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