speechRecognition
module use Google Speech API
in python
. This module performs speech recognition and converts to text. Also use YARP
to send text detection by network. Also admits YARP
source audio like input. This module also publish recognition results in YARP
port.
Documentation available on docs.
speechRecognition
requires audio like input.
The process to running the program:
- Execute programs/speechRecognition.py, to start de program.
python speechRecognition.py
- Connect recognition source.
yarp connect /speechRecognition/data:o /yourport/data:i
NOTE:
- Data results are published on
/speechRecognition/data:o
speechRecognition
requires:
- Install YARP 2.3.XX+
- Install pip
- Install SpeechRecognition:
(Using YARP with Python 2.7 bindings)
pip2 install SpeechRecognition
(Using YARP with Python 3 bindings)
pip3 install SpeechRecognition
Tested on: ubuntu 14.04
, ubuntu 16.04
, ubuntu 18.04
, lubuntu 18.04
and raspbian
.