Python Quick Start
- Linux (x86_64)
- macOS (x86_64, arm64)
- Windows (x86_64)
- Picovoice Account & AccessKey
- Python 3
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your
Make sure to keep your
Install Python 3 .
Install the pvoctopus Python package using PIP:
Create an instance of the engine and index an audio file by passing in the absolute path to the file:
Search audio using the generated metadata object:
Free resources used by
Use the corresponding model file (
.pv), to index and search non-English data.
The model files for all supported languages are available
on the Octopus GitHub repository .
Pass in the model file using the
model_path input argument to change the detection language:
For the Octopus Python SDK, we offer demo applications that demonstrate how to use the Speech-to-Index engine on audio files.
Install the pvoctopusdemo Python package using PIP:
This package installs command-line utilities for the Octopus Python demos.
--help flag to see the usage options for the demo:
Run the following command to transcribe an audio file:
For more information on our Octopus demos for Python, head over to our GitHub repository .