pvleoparddemo


Namepvleoparddemo JSON
Version 2.0.3 PyPI version JSON
download
home_pagehttps://github.com/Picovoice/leopard
SummaryLeopard speech-to-text engine demos
upload_time2024-09-16 18:56:57
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)
  - 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), 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/47/b3/92693202abb3b77c22f2c0eb37551453170400bc79ccf812c32014a1b176/pvleoparddemo-2.0.3.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 (3, 4, 5)\n\n## Compatibility\n\n- Python 3.8+\n- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), 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.3",
    "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": "ca13359b3e4bdb995a1d70dab3825beb01f8dedbcd968b88ab6c7f60954d12e4",
                "md5": "d423611ac92a4e808e2dde73c49ee144",
                "sha256": "c45c47f4472fe388576d701a266f8646da5118a7b2f45fac87abd88b2552bc3e"
            },
            "downloads": -1,
            "filename": "pvleoparddemo-2.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d423611ac92a4e808e2dde73c49ee144",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 9496,
            "upload_time": "2024-09-16T18:56:56",
            "upload_time_iso_8601": "2024-09-16T18:56:56.354547Z",
            "url": "https://files.pythonhosted.org/packages/ca/13/359b3e4bdb995a1d70dab3825beb01f8dedbcd968b88ab6c7f60954d12e4/pvleoparddemo-2.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "47b392693202abb3b77c22f2c0eb37551453170400bc79ccf812c32014a1b176",
                "md5": "0c63af944efae7ee1102353daa82241d",
                "sha256": "4437e3962b286896c523d38db0ead424fe288b15fdc57f06e48ab09848f8fe98"
            },
            "downloads": -1,
            "filename": "pvleoparddemo-2.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "0c63af944efae7ee1102353daa82241d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 8405,
            "upload_time": "2024-09-16T18:56:57",
            "upload_time_iso_8601": "2024-09-16T18:56:57.680862Z",
            "url": "https://files.pythonhosted.org/packages/47/b3/92693202abb3b77c22f2c0eb37551453170400bc79ccf812c32014a1b176/pvleoparddemo-2.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-16 18:56:57",
    "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.35353s