Multi-language Recognizer With AIY
by David_Lin in Circuits > Raspberry Pi
1222 Views, 5 Favorites, 0 Comments
Multi-language Recognizer With AIY
![MOV 0701](/proxy/?url=https://content.instructables.com/F1F/BEZO/JC2Y87Q7/F1FBEZOJC2Y87Q7.jpg&filename=MOV 0701)
![Alexa say something...](/proxy/?url=https://content.instructables.com/FDA/7A8I/JC0UCPFD/FDA7A8IJC0UCPFD.jpg&filename=Alexa say something...)
In outer space stations.
there are many astronauts over there.
n~
the astronauts come from many planets(countries).
so, therefor
AI should work in many languages over there !
Materials
![Raspberry-Pi-3-top-down-web.jpg](/proxy/?url=https://content.instructables.com/FU4/5VRC/J1GPIZ6S/FU45VRCJ1GPIZ6S.jpg&filename=Raspberry-Pi-3-top-down-web.jpg)
![AIY.png](/proxy/?url=https://content.instructables.com/FAM/BO43/JC0UDE26/FAMBO43JC0UDE26.png&filename=AIY.png)
1) RPi 3 * 1
2) AIY Voice HAT * 1
3) wireless keyboard and mouse * 1(for set up)
Set AIY Up !
![DSC_0704.JPG](/proxy/?url=https://content.instructables.com/F69/FFLQ/JC0UEETT/F69FFLQJC0UEETT.jpg&filename=DSC_0704.JPG)
Reference Link: AIY project page
Code
![turn_light_1.jpg](/proxy/?url=https://content.instructables.com/F5G/YLL9/JC0UDW9B/F5GYLL9JC0UDW9B.jpg&filename=turn_light_1.jpg)
![GH01.png](/proxy/?url=https://content.instructables.com/FLJ/UG19/JC0UE557/FLJUG19JC0UE557.png&filename=GH01.png)
![DSC_0702.JPG](/proxy/?url=https://content.instructables.com/FHN/JTA5/JC0UEEI2/FHNJTA5JC0UEEI2.jpg&filename=DSC_0702.JPG)
run a terminal:
src/cd_cloud_speech_demo.py
Modify some lines in order to recogonize English and Alexa phrases
and the Chinese and Taiwaness !
run another terminal:
src/assistant_library_demo.py
ps:you can use any other languages, of course!
at here i use the language code "zh".
Test Run
![2018年1月11日](/proxy/?url=https://content.instructables.com/FRZ/TPSE/JC6K5ABH/FRZTPSEJC6K5ABH.jpg&filename=2018年1月11日)
![Voice control 1](/proxy/?url=https://content.instructables.com/FKK/MCUI/JC0UEFVQ/FKKMCUIJC0UEFVQ.jpg&filename=Voice control 1)
![Voice control 2 , use another language test](/proxy/?url=https://content.instructables.com/FJ9/SXHJ/JC0UEFWL/FJ9SXHJJC0UEFWL.jpg&filename=Voice control 2 , use another language test)