pvleoparddemo


Namepvleoparddemo JSON
Version 2.0.4 PyPI version JSON
download
home_pagehttps://github.com/Picovoice/leopard
SummaryLeopard speech-to-text engine demos
upload_time2025-01-16 17:02:45
maintainerNone
docs_urlNone
authorPicovoice
requires_python>=3.8
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.8+
- 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.8",
    "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/a3/b5/c99c8f77dbd98ef18988b6d2628307a2f837a2ab1342b37d3928bd243da8/pvleoparddemo-2.0.4.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.8+\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.4",
    "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": "8ffa4e3bc0778d9591a2d0b228344234806c36b117750ada60a954a16897f2e6",
                "md5": "1668f5d8c92a6c2d17fdb0299209edfb",
                "sha256": "ed296a5ff901ac5ce2daced4b88b9a87d2ffa378b412e863625d9356adb16f2e"
            },
            "downloads": -1,
            "filename": "pvleoparddemo-2.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1668f5d8c92a6c2d17fdb0299209edfb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 9499,
            "upload_time": "2025-01-16T17:02:43",
            "upload_time_iso_8601": "2025-01-16T17:02:43.558477Z",
            "url": "https://files.pythonhosted.org/packages/8f/fa/4e3bc0778d9591a2d0b228344234806c36b117750ada60a954a16897f2e6/pvleoparddemo-2.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a3b5c99c8f77dbd98ef18988b6d2628307a2f837a2ab1342b37d3928bd243da8",
                "md5": "4b0a445bf15312cc34f755a0d72c951d",
                "sha256": "b05555983fee9e36947e8edfbc3e1e4f3db62768de304a03d439e2da0e4c58dd"
            },
            "downloads": -1,
            "filename": "pvleoparddemo-2.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "4b0a445bf15312cc34f755a0d72c951d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 8509,
            "upload_time": "2025-01-16T17:02:45",
            "upload_time_iso_8601": "2025-01-16T17:02:45.897360Z",
            "url": "https://files.pythonhosted.org/packages/a3/b5/c99c8f77dbd98ef18988b6d2628307a2f837a2ab1342b37d3928bd243da8/pvleoparddemo-2.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-16 17:02:45",
    "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: 0.63765s