Zebra Translate
Python Quick Start
Platforms
- Linux (x86_64)
- macOS (x86_64, arm64)
- Windows (x86_64, arm64)
- Raspberry Pi (3, 4, 5)
Requirements
- Picovoice Account & AccessKey
- Python 3.9+
- PIP
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your AccessKey.
Make sure to keep your AccessKey secret.
Quick Start
Setup
Install Python 3.
Install the pvzebra Python package using PIP:
Usage
Create an instance of the engine and translate text:
Read more about how to select a model in the Translation Models section.
Free resources used by Zebra Translate:
Translation Models
Supported Zebra translation models are located in our GitHub repository. The selected model decides the source and target translation languages.
The format of the model follows:
Where ${SOURCE} is the language code of the source language and ${TARGET} is the language code of the target language for the translation.
Demo
For the Zebra Translate Python SDK, we offer a demo application that demonstrates how to use the Translate engine.
Setup
Install the pvzebrademo Python package using PIP:
This package installs command-line utilities for the Zebra Translate Python demo.
Usage
Use the --help flag to see the usage options for the demo:
Run the following command to translate text:
For more information on our Zebra Translate demos for Python, head over to our GitHub repository.