2022 Developer Survey is open! Take survey.
6 votes

Integration with Google Assistant

Not possible with Google directly, but you can get other voice services installed. Here are 3 that I've tried on Raspberry Pi: Mycroft Open source, very capable https://github.com/MycroftAI/...
user avatar
  • 161
6 votes

Integration with Google Assistant

This is not possible as of January 2017. This article from CNet explains it clearly: Here are eight things Amazon's assistant can do that Google's can't. [...] Back in March, Amazon released an API ...
user avatar
  • 6,158
5 votes
Accepted

no module named 'speech_recognition'

Your tag says python3. If you are running your code in python3 you need to install speechrecognition with pip3.
user avatar
  • 851
5 votes

Speech processing on the Raspberry Pi

I went with pocketsphinx_continuous and a $4 sound card. To manage the fact that it needs to stop listening when using speech synth I used amixer to handle to input volume to the mic (this was ...
user avatar
  • 151
4 votes
Accepted

Which ai service should I use in for my own ai raspberry pi project? And what are the best sources for learning to build an AI in raspberry Pi?

I think your best bet is to sit back and actually do more research. It seems that you don't quite know what you want to do, or don't know how to ask. This isn't a bad thing, it just seems that you are ...
user avatar
4 votes
Accepted

How to make speak Marathi/Hindi language in Raspberry Pi?

I believe those (u092e, etc) are Hindi Unicode characters. Whatever software you're using to convert those characters into speech apparently doesn't handle them. You need to check its documentation ...
user avatar
  • 10.5k
4 votes
Accepted

Voice recognition on arduino or raspberry pi?

I'd go so far to say that the computational power of an arduino would be quite a limit to voice recognition. Bitvoicer for example uses the arduino to sample the speech but not to process and ...
user avatar
  • 15.5k
3 votes

Perform a task upon a voice command

You are going to need an internet connection, an OS, (I suggest Raspbian) and a microphone. The first step is to get the microphone set-up. Start by opening a terminal window and running lusb. This ...
user avatar
  • 4,075
3 votes

How to install Google Cloud SDK on Raspberry Pi 2 Jessie

W: Failed to fetch http://packages.cloud.google.com/apt/dists/cloud-sdk-jessie/InRelease If you go to that page you'll notice near the top: Architectures: amd64 i386 These refer to what are ...
user avatar
  • 55.6k
3 votes

Speech to text conversion for Raspberry Pi 2

I think the "nano" project - or parts thereof - (that soundly beat me in the Christmas Prizes for Best project of 2015) - might be of interest. It does feature both text-to-speech and speech-to-text ...
user avatar
  • 3,583
3 votes
Accepted

How to make PocketSphinx use ALSA? (instead of pulseaudio or jack)

Configure looks for the presence of the development libraries of PulseAudio, Jack and ALSA, in that order. That is why in answers like this it is mentioned that "...It also appears that ALSA will not ...
user avatar
2 votes
Accepted

Using PocketSphinx with Blue Microphone on RPi

layla writes on http://robot.laylamah.com/?p=35 Note, if you receive an error such as the following: Error opening audio device plughw:1,0 for capture: Connection refused Mixer load failed: Invalid ...
user avatar
  • 36
2 votes

Having trouble starting Jasper in RPi 2

Well I just find out that google speech API is not working as it used to anymore, now it ask for a captcha making it impossible to use for jasper, Now im using Wit.io and Festival
user avatar
  • 31
2 votes

Speech Recognition

Yes there is Pocketsphinx to convert speech to text, that has python APIs For installation do: apt-cache search pocketsphinx and install all of them. Or I have a shorcut to do this: :D apt-get ...
user avatar
  • 149
2 votes
Accepted

SpeechRecognition / PyAudio OSError: [Errno -9997] Invalid sample rate RaspberryPI2

I found the problem and fixed it. Using pyaudio's get_device_info_by_index and looking at the Microphone class in SpeechRecognition i was able to determine that it was defaulting to the wrong device ...
user avatar
2 votes

How to install Google Cloud SDK on Raspberry Pi 2 Jessie

As mentioned, there is no pre-compiled binaries for the PI. However, installing from the tar.gz works just as well as from apt-get. Follow instructions here: "Versioned Archives" https://cloud.google....
user avatar
1 vote

no module named 'speech_recognition'

As T. M.'s answers points out you need to make sure that the modules are installed for the Python version you are using. If you're running several version of Python and pip you might want to check ...
user avatar
  • 15.5k
1 vote

Voice recognition of just 1 word

I think the next links can help you: https://www.techradar.com/how-to/how-to-control-the-raspberry-pi-with-your-voice https://tutorials-raspberrypi.com/build-raspberry-pi-voice-control-for-home-...
user avatar
1 vote
Accepted

How can I redirect input from a TV to my Pi, then send output back to the TV for automatic captioning?

As noted on Super User, the Pi itself doesn't have a HDMI input port, but there are various products which will allow you to add a HDMI input (either from a USB adapter or through a dedicated HAT like ...
user avatar
  • 6,158
1 vote

Pocketsphinx not working; Input Overflowed -9981

Even the small custom dictionary was giving me the same error. Maybe this has to do something with the pyAudio itself. What helped in this case was setting "exception_on_overflow = False" as the ...
user avatar
1 vote

Pocketsphinx not working; Input Overflowed -9981

It is not possible to recognize large vocabulary speech on Raspberry Pi, it is too slow for that. This was discussed before. You can stream the data to the server or configure small grammar for ...
user avatar
1 vote

Integration with Google Assistant

assistant pi is the way to go. installs both alexa and google home with hotword recognition - https://github.com/xtools-at/AssistantPi
user avatar
1 vote

Integration with Google Assistant

Luckily things change. Google assistant integration was announced today 4/27/2017 http://www.theverge.com/2017/4/27/15442994/google-assistant-sdk-smart-speaker-actions-gadgets-raspberry-pi
user avatar
  • 11
1 vote

Voice recognition in Raspberry Pi in custom language

According to this related question on our sister Stack Exchange "Can I get Speech Recognition in language other than English on Android?" Pocket Sphinx might be a possible route to go down. The ...
user avatar
  • 3,583
1 vote
Accepted

Using Pocketsphinx for voice control applications

Update: in 2020 we recommend to try our new software library called Vosk. It provides much better accuracy than pocketsphinx. You need to write python code, like this: import sys, os, pyaudio from ...
user avatar
1 vote

Training Pocketsphinx on raspberry pi 3

It is quite hard, unless you have a lot of data. You'd better use radio alphabet "alpha", "bravo", "charlie".
user avatar
1 vote

How to install Google Cloud SDK on Raspberry Pi 2 Jessie

Try to add the Cloud SDK distribution URI as a package source. There's more information about how to do that on 1. It should work just fine.
user avatar
1 vote

How to create a virtual microphone that reads from a file?

You are doing too much things with a command line. After you recognized you need to process the data, you need to handle errors and so on. It is much better to write your server with pocketsphinx ...
user avatar
1 vote
Accepted

Is audio card necessary for audio input from USB webcam?

No, most USB webcams have a built in audio card. The USB audio cards you see people referring to are one's like these: These are for if you want 3.5mm jack audio input. If you had a microphone with ...
user avatar
  • 6,185
1 vote
Accepted

Recorded Audio not recognized by Google Speech API

So, I tweaked my settings and for some reason the Google Speech API likes the Unsigned 8bit 11025Hz recording so I changed my code to be the following and now it works: #!/bin/bash echo "Recording......
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible