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.3.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pvoctopusdemo-1.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 84da29acba940a2cc9d3846d5f55b4bfc851f7ce228a1bb02f7b8e4809ed3a1e
MD5 8e3c6b4af521ec5ab1720540ea6054f3
BLAKE2b-256 f68bf4b2c05445d2cb48104cd4b3bcb446978d346d9418950cc35ea759c4d1e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pvoctopusdemo-1.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2347dcb3ddd48f90acc27483eb5991968ceb326ff23a061a96ce48ba72c6dbaa
MD5 72b7702e48fb9dbd3a3801f4c5821ac3
BLAKE2b-256 32edca070efbd0a6da7c6a9124b99bf024a4ed196a8fae6d55d011e58f40a8b1

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