pvleoparddemo


Namepvleoparddemo JSON
Version 2.0.5 PyPI version JSON
download
home_pagehttps://github.com/Picovoice/leopard
SummaryLeopard speech-to-text engine demos
upload_time2025-02-06 00:20:03
maintainerNone
docs_urlNone
authorPicovoice
requires_python>=3.9
licenseNone
keywords speech-to-text asr speech recognition voice recognition automatic speech recognition
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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, 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

```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} --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:

```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": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "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/74/8b/84056ad7d212b44045b8f876d8641ae866811eeaa0a9cdeb5136d9251860/pvleoparddemo-2.0.5.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, arm64)\n  - Android and iOS\n  - Chrome, Safari, Firefox, and Edge\n  - Raspberry Pi (3, 4, 5)\n\n## Compatibility\n\n- Python 3.9+\n- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64), and Raspberry Pi (3, 4, 5).\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} --wav_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": null,
    "summary": "Leopard speech-to-text engine demos",
    "version": "2.0.5",
    "project_urls": {
        "Homepage": "https://github.com/Picovoice/leopard"
    },
    "split_keywords": [
        "speech-to-text",
        " asr",
        " speech recognition",
        " voice recognition",
        " automatic speech recognition"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9943d5ab8e9c916bca735cfa72c081b6b3a3fd5121ed247562ab51e8d682bb72",
                "md5": "da62df99dec390b49696ed65346bd281",
                "sha256": "bf896749dc794a1a71bcbac5fc408d28d3f1e7894ddd1d6dd57e0ca9f5ab8227"
            },
            "downloads": -1,
            "filename": "pvleoparddemo-2.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "da62df99dec390b49696ed65346bd281",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 9498,
            "upload_time": "2025-02-06T00:20:01",
            "upload_time_iso_8601": "2025-02-06T00:20:01.972001Z",
            "url": "https://files.pythonhosted.org/packages/99/43/d5ab8e9c916bca735cfa72c081b6b3a3fd5121ed247562ab51e8d682bb72/pvleoparddemo-2.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "748b84056ad7d212b44045b8f876d8641ae866811eeaa0a9cdeb5136d9251860",
                "md5": "a998f1f74c3f8e1ed7d8d8a1265d81a1",
                "sha256": "319b6adf7b9aeb6e812df85b9e61b47f0e2b52d6f02e0c6df7b1cdb965406bdd"
            },
            "downloads": -1,
            "filename": "pvleoparddemo-2.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "a998f1f74c3f8e1ed7d8d8a1265d81a1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 8533,
            "upload_time": "2025-02-06T00:20:03",
            "upload_time_iso_8601": "2025-02-06T00:20:03.899022Z",
            "url": "https://files.pythonhosted.org/packages/74/8b/84056ad7d212b44045b8f876d8641ae866811eeaa0a9cdeb5136d9251860/pvleoparddemo-2.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-06 00:20:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Picovoice",
    "github_project": "leopard",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pvleoparddemo"
}
        
Elapsed time: 4.34395s