Raspberry Pi Voice Recognition Works Like Siri
This tutorial demonstrate how to use voice recognition on the Raspberry Pi. By the end of this demonstration, we should have a working application that understand and answers your oral question. This is going to be a simple and easy project because we have a few free API available for all the goals we want to achieve. It basically converts our spoken question into to text, process the query and return the answer, and finally turn the answer from text to speech. I will divide this demonstration into four parts: speech to textquery processingtext to speechPutting Them Together Result Example: This has been a very popular topic since Raspberry Pi came out. You can use an USB Microphone, but I don’t have one so I am using the built-in Mic on my webcam. Of course, the Raspberry Pi as well. You will also need to have internet connection on your Raspberry Pi. sudo apt-get install ffmpeg To use the Google’s voice recognition API, I use the following bash script. [sourcecode language=”bash”] #! . #! . .
• Reco Voc