DEV Community

Cover image for Day 13: Voice Recognition with Ubuntu
Dilek Karasoy for Picovoice

Posted on

Day 13: Voice Recognition with Ubuntu

Big Tech prioritizes their own platforms. You might have already built voice products for macOS or Windows. How about Linux-based systems?

Billions of people use Linux. Is it surprising? Shouldn't be. Android uses the Linux kernel, so every Android user actually uses Linux.

Ubuntu is Linux’s most popular distro. Picovoice devs love their Ubuntu machines, so we couldn't leave it out.

Here's the Leopard Speech-to-Text tutorial with Ubuntu!

Install Leopard Python package using PIP:

pip3 install pvleopard
Enter fullscreen mode Exit fullscreen mode

*Get your AccessKey
It's day 12, you may be pretty familiar with this process. Sign up for the Picovoice Console and grab your AccessKey for free.

Create an instance of Leopard STT and transcribe a file:

import pvleopard
leopard = pvleopard.create(access_key)

transcript, words = leopard.process_file(path)
Enter fullscreen mode Exit fullscreen mode

Voila! Reach out to Picovoice team on GitHub if you have any questions

Top comments (0)