pvcheetah


Namepvcheetah JSON
Version 2.0.1 PyPI version JSON
download
home_pagehttps://github.com/Picovoice/cheetah
SummaryCheetah Speech-to-Text Engine.
upload_time2024-02-06 01:32:51
maintainer
docs_urlNone
authorPicovoice
requires_python>=3.7
license
keywords speech-to-text speech recognition voice recognition asr automatic speech recognition
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Cheetah Binding for Python

## Cheetah Speech-to-Text Engine

Made in Vancouver, Canada by [Picovoice](https://picovoice.ai)

Cheetah is an on-device streaming speech-to-text engine. Cheetah 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), and 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 (5, 4, 3), and NVIDIA Jetson Nano.

## Installation

```console
pip3 install pvcheetah
```

## AccessKey

Cheetah requires a valid Picovoice `AccessKey` at initialization. `AccessKey` acts as your credentials when using Cheetah 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

Create an instance of the engine and transcribe audio:

```python
import pvcheetah

handle = pvcheetah.create(access_key='${ACCESS_KEY}')

def get_next_audio_frame():
    pass

while True:
    partial_transcript, is_endpoint = handle.process(get_next_audio_frame())
    if is_endpoint:
        final_transcript = handle.flush()
```

Replace `${ACCESS_KEY}` with yours obtained from [Picovoice Console](https://console.picovoice.ai/). When done be sure
to explicitly release the resources using `handle.delete()`.

## Demos

[pvcheetahdemo](https://pypi.org/project/pvcheetahdemo/) provides command-line utilities for processing audio using
Cheetah.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Picovoice/cheetah",
    "name": "pvcheetah",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "Speech-to-Text,Speech Recognition,Voice Recognition,ASR,Automatic Speech Recognition",
    "author": "Picovoice",
    "author_email": "hello@picovoice.ai",
    "download_url": "https://files.pythonhosted.org/packages/8c/41/c580e0a7ffa2d392f176e66c2d82706613dab5b41de677e64a1840b29f49/pvcheetah-2.0.1.tar.gz",
    "platform": null,
    "description": "# Cheetah Binding for Python\n\n## Cheetah Speech-to-Text Engine\n\nMade in Vancouver, Canada by [Picovoice](https://picovoice.ai)\n\nCheetah is an on-device streaming speech-to-text engine. Cheetah 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), and 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 (5, 4, 3), and NVIDIA Jetson Nano.\n\n## Installation\n\n```console\npip3 install pvcheetah\n```\n\n## AccessKey\n\nCheetah requires a valid Picovoice `AccessKey` at initialization. `AccessKey` acts as your credentials when using Cheetah 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\nCreate an instance of the engine and transcribe audio:\n\n```python\nimport pvcheetah\n\nhandle = pvcheetah.create(access_key='${ACCESS_KEY}')\n\ndef get_next_audio_frame():\n    pass\n\nwhile True:\n    partial_transcript, is_endpoint = handle.process(get_next_audio_frame())\n    if is_endpoint:\n        final_transcript = handle.flush()\n```\n\nReplace `${ACCESS_KEY}` with yours obtained from [Picovoice Console](https://console.picovoice.ai/). When done be sure\nto explicitly release the resources using `handle.delete()`.\n\n## Demos\n\n[pvcheetahdemo](https://pypi.org/project/pvcheetahdemo/) provides command-line utilities for processing audio using\nCheetah.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Cheetah Speech-to-Text Engine.",
    "version": "2.0.1",
    "project_urls": {
        "Homepage": "https://github.com/Picovoice/cheetah"
    },
    "split_keywords": [
        "speech-to-text",
        "speech recognition",
        "voice recognition",
        "asr",
        "automatic speech recognition"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d98f3fbd58dbbdd69cf083fc95967e2879b2983200aa40f9e860c8208b2bdd3e",
                "md5": "4f33dc6546578ba77b03b392cb09e732",
                "sha256": "a725eb5611270eebf113e47977d49f918eb916802754e8848e607001aa43ad11"
            },
            "downloads": -1,
            "filename": "pvcheetah-2.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4f33dc6546578ba77b03b392cb09e732",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 29568269,
            "upload_time": "2024-02-06T01:32:45",
            "upload_time_iso_8601": "2024-02-06T01:32:45.158880Z",
            "url": "https://files.pythonhosted.org/packages/d9/8f/3fbd58dbbdd69cf083fc95967e2879b2983200aa40f9e860c8208b2bdd3e/pvcheetah-2.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8c41c580e0a7ffa2d392f176e66c2d82706613dab5b41de677e64a1840b29f49",
                "md5": "5a73b31942c7cdbbcdcc4ffb58f6d333",
                "sha256": "5b65f9192134f5369bdcdd7f7dfa00ae899948b89f4f494ad0b84e690e7fe550"
            },
            "downloads": -1,
            "filename": "pvcheetah-2.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "5a73b31942c7cdbbcdcc4ffb58f6d333",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 29557109,
            "upload_time": "2024-02-06T01:32:51",
            "upload_time_iso_8601": "2024-02-06T01:32:51.625542Z",
            "url": "https://files.pythonhosted.org/packages/8c/41/c580e0a7ffa2d392f176e66c2d82706613dab5b41de677e64a1840b29f49/pvcheetah-2.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-06 01:32:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Picovoice",
    "github_project": "cheetah",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pvcheetah"
}
        
Elapsed time: 0.19161s