# Leopard Speech-to-Text Demos
Made in Vancouver, Canada by [Picovoice](https://picovoice.ai)
## Leopard
Leopard is an on-device speech-to-text engine. Leopard is:
- Private; All voice processing runs locally.
- [Accurate](https://picovoice.ai/docs/benchmark/stt/)
- [Compact and Computationally-Efficient](https://github.com/Picovoice/speech-to-text-benchmark#rtf)
- Cross-Platform:
- Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)
- Android and iOS
- Chrome, Safari, Firefox, and Edge
- Raspberry Pi (5, 4, 3) and NVIDIA Jetson Nano
## Compatibility
- Python 3.7+
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (4, 3), and NVIDIA Jetson Nano.
## Installation
```console
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](https://console.picovoice.ai/) to get your `AccessKey`.
## Usage
### File Demo
Run the following in the terminal:
```console
leopard_demo_file --access_key ${ACCESS_KEY} --audio_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:
```console
leopard_demo_mic --access_key ${ACCESS_KEY}
```
Replace `${ACCESS_KEY}` with yours obtained from Picovoice Console. Once running, the demo prints:
```console
>>> Press `ENTER` to start:
```
Press `ENTER` key and wait for the following message in the terminal:
```console
>>> Recording ... Press `ENTER` to stop:
```
Now start recording and when done press `ENTER` key to get the transcription.
Raw data
{
"_id": null,
"home_page": "https://github.com/Picovoice/leopard",
"name": "pvleoparddemo",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "Speech-to-Text,ASR,Speech Recognition,Voice Recognition,Automatic Speech Recognition",
"author": "Picovoice",
"author_email": "hello@picovoice.ai",
"download_url": "https://files.pythonhosted.org/packages/79/dd/40b623830d0103a62aef1483c243723999ac0edd8bfecdf20162572e75a6/pvleoparddemo-2.0.2.tar.gz",
"platform": null,
"description": "# Leopard Speech-to-Text Demos\n\nMade in Vancouver, Canada by [Picovoice](https://picovoice.ai)\n\n## Leopard\n\nLeopard is an on-device speech-to-text engine. Leopard is:\n\n- Private; All voice processing runs locally.\n- [Accurate](https://picovoice.ai/docs/benchmark/stt/)\n- [Compact and Computationally-Efficient](https://github.com/Picovoice/speech-to-text-benchmark#rtf)\n- Cross-Platform:\n - Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)\n - Android and iOS\n - Chrome, Safari, Firefox, and Edge\n - Raspberry Pi (5, 4, 3) and NVIDIA Jetson Nano\n\n## Compatibility\n\n- Python 3.7+\n- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (4, 3), and NVIDIA Jetson Nano.\n\n## Installation\n\n```console\npip3 install pvleoparddemo\n```\n\n## AccessKey\n\nLeopard requires a valid Picovoice `AccessKey` at initialization. `AccessKey` acts as your credentials when using Leopard SDKs.\nYou can get your `AccessKey` for free. Make sure to keep your `AccessKey` secret.\nSignup or Login to [Picovoice Console](https://console.picovoice.ai/) to get your `AccessKey`.\n\n## Usage\n\n### File Demo\n\nRun the following in the terminal:\n\n```console\nleopard_demo_file --access_key ${ACCESS_KEY} --audio_paths ${AUDIO_FILE_PATH}\n```\n\nReplace `${ACCESS_KEY}` with yours obtained from Picovoice Console and `${AUDIO_FILE_PATH}` with a path to an audio file you\nwish to transcribe.\n\n### Microphone Demo\n\nYou need a working microphone connected to your machine for this demo. Run the following in the terminal:\n\n```console\nleopard_demo_mic --access_key ${ACCESS_KEY}\n```\n\nReplace `${ACCESS_KEY}` with yours obtained from Picovoice Console. Once running, the demo prints:\n\n```console\n>>> Press `ENTER` to start:\n```\n\nPress `ENTER` key and wait for the following message in the terminal:\n\n```console\n>>> Recording ... Press `ENTER` to stop:\n```\n\nNow start recording and when done press `ENTER` key to get the transcription.\n",
"bugtrack_url": null,
"license": "",
"summary": "Leopard speech-to-text engine demos",
"version": "2.0.2",
"project_urls": {
"Homepage": "https://github.com/Picovoice/leopard"
},
"split_keywords": [
"speech-to-text",
"asr",
"speech recognition",
"voice recognition",
"automatic speech recognition"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d62b0664f1542d1ad5da6ae0eb978561d980ca67742c91546af7ae726866bf8f",
"md5": "971f23ef1013024f5ff19fa4a0262034",
"sha256": "59f222f90a411f9c2cdd58ee367be0e9cf5613727033fccaa2c2bca569cefa79"
},
"downloads": -1,
"filename": "pvleoparddemo-2.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "971f23ef1013024f5ff19fa4a0262034",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 9519,
"upload_time": "2024-02-06T01:32:19",
"upload_time_iso_8601": "2024-02-06T01:32:19.366693Z",
"url": "https://files.pythonhosted.org/packages/d6/2b/0664f1542d1ad5da6ae0eb978561d980ca67742c91546af7ae726866bf8f/pvleoparddemo-2.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "79dd40b623830d0103a62aef1483c243723999ac0edd8bfecdf20162572e75a6",
"md5": "a95f9584d3301d17432be200890e30ca",
"sha256": "c9025fe6cbe5842e19a691c29b158db76ddb44f0ddf47814d25f04d0b6895e0c"
},
"downloads": -1,
"filename": "pvleoparddemo-2.0.2.tar.gz",
"has_sig": false,
"md5_digest": "a95f9584d3301d17432be200890e30ca",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 8434,
"upload_time": "2024-02-06T01:32:20",
"upload_time_iso_8601": "2024-02-06T01:32:20.819967Z",
"url": "https://files.pythonhosted.org/packages/79/dd/40b623830d0103a62aef1483c243723999ac0edd8bfecdf20162572e75a6/pvleoparddemo-2.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-06 01:32:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Picovoice",
"github_project": "leopard",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pvleoparddemo"
}