Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4654

Graphics, sound and multimedia • Options for Speech Recognition for Pi 5 running 64b Bookworm?

$
0
0
I've upgraded to all Pi 5 (8GB) units, but I apparently cannot run a microphone with Speech Recognition due to (apparently) no compatible version of PyAudio for the 64 bit Bookworm OS - at least that runs in a VE (see below). Looking for suggestions, including - are there better options for OFFLINE speech recognition than Speech Recognition using PocketSphinx as the recognizer and the mic stream dependent of PyAudio? That was what I was using on my Pi4s back around 2018... but a lot has changed.

FWIW:
Outside my Virtual Environment, when I run Python (version 3.11.2) I CAN import pyaudio, but not speech_recognition
Inside my VE, just the opposite: I CAN import speech_recognition, but not pyaudio

Both were installed from within my VE, but pyaudio had no pip, could only apt it... SR was pip'd :)

Both my system-wide Python and my VE Python are the same, v3.11.2
Running "Debian GNU/Linux 12 (bookworm)"
Raspberry Pi 5 8GB

Workarounds, guidance much appreciated

Statistics: Posted by dave xanatos — Tue Feb 11, 2025 10:00 pm — Replies 2 — Views 35



Viewing all articles
Browse latest Browse all 4654

Trending Articles