Learn how to transcribe speech to text using Picovoice Leopard Speech-to-Text Python SDK. Leopard performs speech recognition locally, keeping your voice data private (i.e. GDPR and HIPAA compliant by design). The SDK runs on Linux, macOS, Windows, Raspberry Pi, and NVIDIA Jetson.

Leopard can also run on Android, iOS, and even inside a Web Browser!

Speech-to-text (STT), automatic speech recognition (ASR), automatic transcription, and large-vocabulary speech recognition (LVSR) are the same.

Install Speech-to-Text Python SDK

Install the SDK:

Sign up for Picovoice Console

Log in to (sign up for) Picovoice Console. It is free, and no credit card is required! Copy your AccessKey to the clipboard.

Implementation

The transcription code is only three lines, as promised.

Line 1

Import Leopard ASR package:

Line 2

Create an instance of the STT object with your AccessKey:

Line 3

Transcribe an audio file: