My 3rd Year Engineering Design Project in which the robot used various speech-to-text converting APIs to receive input from a Mic (client based on a Raspberry Pi 2), stored information on a server (Raspberry Pi 3), and then wrote the text on paper after converting to text. My part of the project was to design an Android Application in Android Studio, which displayed the recorded text on the application, and allowed the user to start/stop recording, edit the text, and send the text to the 'WriteBot' in their choice of font.
-
Clone this repo:
$ git clone https://github.com/BuzyFranklin/WriteBot.git
-
On the Raspberry Pi 3, start the server:
$ python server.py
It will ask for 6 arguments, the address of the Raspberry Pi 3 (server) and port, the address of the Raspberry Pi 2 (mic client) and port, and the address of the android app and port.
- On the Raspberry Pi 2, start the mic client:
$ python MICClient.py
It will ask for 6 arguments, the address of the Raspberry Pi 3 (server) and port, and the address of the Raspberry Pi 2 (mic client) and port.
Get the correct modules with pip:
pip install speechrecognition
pip install pyaudio
pip install pyalsaaudio
- Under
My Application
build and run the android application on a simulator or real device.