Sie sind auf Seite 1von 2

VOICE RECOGNITION USING RASPBERRY PI

Nandeep.M,Subash.G
KCG college of technology,Chennai,

India

nandeepnandeep@gmail.com

zubazh@gmail.com

Abstract— This paper is about the voice recognition software mb RAM. It basically use linux kernel base operating systems.
using Raspberry Pi. This software is based on using online API’s The install manager of Raspberry pi is NOOBS. For storage it
,It uses Google Voice APIs for converting the speech back to uses SDHC and micro SDHC.
commands .It uses LAN to connect it online. It uses Google
speech ,so that the system can be manipulated to talk back to IV. WORKING PROCESS
commands and queries. We can define our own tasks based on
commands received .The speech is recorded using Mic or web This software is based on using the Google voice and speech
cam. Then it is sent online, using Google speech it is converted to API’s. The voice is recorded using the Microphone. Then
commands. The commands are returned as an output then for using Google speech API’s it is converted to text. The text is
the specified commands specific task is done. All the coding is
compared with previously configured commands in
done using python.Thus voice recognition is done using
Raspberry pi.
configuration command file. The text matches with any of the
commands, thus it performs the specific task. After finding the
Keywords-- Google API’s,commands,Raspberry required commands the bash command for particular task is
pi,webcam,python executed.

I. INTRODUCTION

This paper is about the voice recognition using raspberry


pi.this is a straight forward interface.the voice commands are
recorded using microphone or webcam and it is send online.
Using google speech the voice is converted back to commands
and it is returned. For the particular command specific task is
coded using python.Thus the specific task is done by using the
voice commands.

II. HARDWARE REQUIREMENTS


1) Raspberry pi model b with memory card preloaded
with an os.
2) LAN network cable.
3) An USB microphone or webcam with microphone.

Raspberry pi doesn’t have a sound card,so it doesn’t


support Microphone with audio jacks. V. CHECKING MICROPHONE
III. ABOUT RASPBERRY PI Initial step of this process is to check whether the
microphone/webcam works properly. We have to check
The Raspberry pi is a series of sigle board computer
whether it records properly and checking microphone high
developed in wales by raspberry pi foundation. All raspberry
volumes ,etc are high .First check whether the USB
pi include the same video-core IV GPU and either a single
core ARMv6 or newer ARMv7 quad-core.it is of 256 or 512
microphone is connected properly using the command So if you want to add new voice command just type the
“Isusb”.check whether our mic/webcam comes under the list. command and its action.for an example for the
command”check internet” that pings the google for checking
Then checking the recording in highvolumes.to do this ,type the internet connectivity.then in configuration command file
the command “alsamixer” in the terminal.thus an interface type “check internet==ping google.com”.thus it pings when
appear,arrow buttons are used to increase the volumes.select you say check internet.
the particular usb mic/webcam from the list and check at high
volumes. VIII. CONCLUSION
To check recording is done correctly use the command This software system using raspberry pi is a voice recognition
“arecord –l”.use the command “arecord –D software using the Google API’s .It can be used in many
plughw:1,0test.wav” to record sound.the sound is recorded in ways. It also can be used in home automation system and any
test.wav. other interactive systems. It uses webcam or an microphone of
USB type connected to raspberry pi to record the voice. Voice
To listen to the recorded sound plug in your headphones in
recognition is mainly done by using the Google API’s as it
your raspberry pi device and enter the command “aplay
converts voice to text and the particular task is done for the
test.wav” in the terminal.
specific commands. The coding is done using python. We can
give different tasks for different command. We can add many
VI. INSTALLING VOICE RECOGNISTION
commands in command configuration file.
SOFTWARE IN RASPBERRY PI
REFERENCES
This software utilises Google Voice API’s.To install the
software enter the following commands. 1) oscar liang speech recognition ieee paper
2) j.baker,lid eng,jim glass “research development in speech
1) Wget –no-check-certificatehttp://goo.gl/KrwrBa -0 recognition and understanding” IEEE signal procession
PiAUISuite.tar.gz magazine vol23.no.3,pp-75-80,2009.
2) Tar –xvzf PiAUISuite.tar.gz
3) Cd PiAUISuite/Install/
4) Sudo ./InstallAUISuite.sh
5) Wget command in first line uses two dashes (--)
6) Before no check .During installation several
questions may popup. press(y/n) accordingly .some
of the questions include do you want to set
keyword?.there ill be also questions like do you want
to set filler flag to zero?, do you want to install
youtube-dl?(to use youtube search).for each question
like this respond with (y/n) accordingly.
VII. SETTING UP OWN COMMANDS

We can verify speech to text by using the command “./speech-


recog.sh” in the directory:/home/pi/PiAUISuite/voice
command.this sodftware is run continuously usng the
command “sudo viocecommand –c” in the terminal.by default
the keyword is “pi” to activate.you can change the keyword
and other commands by opening the command configuration
file.this done by entering the command “voicecommand –
e”.by tis we can find no of keywords and commands.in this
each command is linket to particular task or action. For an
example “youtube==youtube-search...” when it records the
voice as youtube apple , it does the youtube search for apple.

Das könnte Ihnen auch gefallen