Welcome to Rider Pi Robot repository
4.Speech recognition
Speech Recognition
This tutorial is specific to CM5 version; CM4 version users can skip this step. This document only covers operational instructions; for program-related information, please refer to the main program source code.
x
#cm4/home/pi/RaspberryPi-CM4-main/demos/speech_AI #All files under this path#cm5/home/pi/RaspberryPi-CM5/demos/speech_AI #All files under this pathExplanation
The functions of the buttons on the car's screen
For example:
A: Move left
B: Move right
C: Back button
D: Confirm button
Operation Steps
- First, ensure the main startup program is running normally. Generally, the main startup program starts automatically upon boot. If you have closed it, you can restart the car or enter the following command to temporarily enable the main program.
If the main program is already running, do not enter the following command; simply skip it, otherwise it may cause screen errors.
x
#cm4cd ~sh start1.sh#cm5source ~/.bashrc cd ~/RaspberryPi-CM5python3 kill.pyThis will launch the large program.
- Then enter the example program and enable speech recognition.
If the volume is too low or there is no sound, you need to turn it up in the volume settings.

- With the network connected, wake up the robot with the wake word "lulu," and then follow the on-screen prompts to have the robot perform movements according to the keywords, or enter the corresponding AI mode.
Make sure the robot is connected to the network.
Function Experience
- Power on the robot first. Enter the example mode by pressing the button in the upper right corner of the screen, and then select the speech recognition function.

- After entering the speech recognition function, wake it up with the voice command "lulu."

- Upon hearing a "ding" sound, guide the robot to perform movements according to keywords or enter the corresponding AI mode based on the on-screen prompts.


- riderPi will then recognize the semantics and perform relevant pattern processing.
Functional Principle The specific flowchart is as follows:
