Skip to main content

Octopus Speech-to-Index engine demo.

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pvoctopusdemo-2.0.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pvoctopusdemo-2.0.0.tar.gz
Algorithm Hash digest
SHA256 fd5e868151eb2c46bf6833ae1e627c8a0b55a627a314c701754bf033c70cad82
MD5 95fed1337e2cecfc7663f0f4e13b246c
BLAKE2b-256 ef5b3a6d85123b83bfcd21e9cc9c96f25436552bfa2fefaf9b6c51043cdacd0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pvoctopusdemo-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14ffc5cae4af62c59c0ee340d8d1eb6e46dca6cf5191d301795c4cbb4c9c5288
MD5 2de9bbea455a0372909fa232ec2d43c8
BLAKE2b-256 3296ba4307eba38541884b79bab353c829a0cae1b21ee111389b82593586c552

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