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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pvoctopusdemo-1.1.6.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for pvoctopusdemo-1.1.6.tar.gz
Algorithm Hash digest
SHA256 df1d620c537f8e4d3201f70aa9aa74b802be3787c7da790377d4789711d188ec
MD5 0bf89903c617977dae2156e178abec27
BLAKE2b-256 765fab9fdd49703594afcb62acca5b64bde7ccefda5d4c4d2ae3153289312dc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pvoctopusdemo-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6835d6b20fa74411944d964e48dc9fe8ef237e3f0bb9773d7f26c2ec152ad443
MD5 8335334d39ed53dcac8117cbe1ffe87d
BLAKE2b-256 5efa0953176b1c8cd9023b88d562077e17eaa282e82f96cf66a6dafd674759ca

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