Skip to main content

Octopus Speech-to-Index engine.

Project description

Octopus Speech-to-Index engine

Made in Vancouver, Canada by Picovoice

This package contains commandline program for indexing and searching inside audio files using Octopus Speech-to-Index engine.

Octopus

Octopus is Picovoice's Speech-to-Index engine. It directly indexes speech without relying on a text representation.

Compatibility

  • Python 3
  • Runs on Linux (x86_64), macOS (x86_64), Windows (x86_64).

AccessKey

Octopus requires a valid Picovoice AccessKey at initialization. AccessKey acts as your credentials when using Octopus SDKs. You can get your AccessKey for free. Make sure to keep your AccessKey secret. Signup or Login to Picovoice Console to get your AccessKey.

Installation

sudo pip3 install pvoctopusdemo

Usage

This demo allows testing Octopus interactively through commandline. It accepts MP3, WAV, FLAC, and OPUS audio files with sample rates higher than 16kHz. The following command processes all files in the space-separated {AUDIO_PATHS} list:

octopus_demo  --access_key {AccessKey} --audio_paths ${AUDIO_PATHS}

where {AccessKey} is an AccessKey which should be obtained from Picovoice Console.

After processing audio files, you are asked for a search phrase:

Enter search phrase (Ctrl+c to exit):

The search phrase can have several words separated by space, but each word should only consist of alphabetic characters. As shown in the prompt above, press Ctrl and C keys at the same time to exit the program.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pvoctopusdemo-1.1.4.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

pvoctopusdemo-1.1.4-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file pvoctopusdemo-1.1.4.tar.gz.

File metadata

  • Download URL: pvoctopusdemo-1.1.4.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for pvoctopusdemo-1.1.4.tar.gz
Algorithm Hash digest
SHA256 1b00b0685b9fdaf7ed9095385c758c602f62499c5c4cd0f881a733a884a4d502
MD5 f5eb21c42a47f6e0c718205c7f150f32
BLAKE2b-256 eb112fd094a3f91cd9c86b728597cc574883538b39f4fdc68848d452a3e53497

See more details on using hashes here.

File details

Details for the file pvoctopusdemo-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: pvoctopusdemo-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for pvoctopusdemo-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4013a0c699688235cf9184be7835b330e385d8046a223a724f4af1e3c30d262d
MD5 05213a4036faf54866a8b15ab0a2b284
BLAKE2b-256 4ca2cc8eda52e95f3a8ca26b360e063e7e0c86b6bf651e4f830fd61eb26fd2db

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page