SpeechFoundry on the Raspberry Pi 3 Model B
The entire installation should take about 15 minutes depending on the speed of your internet connection.
Requirements:
- A Raspberry Pi 3 Model B.
- A USB microphone, or a USB adaptor and analog microphone.
- The latest Full Desktop version of Raspbian Jessie already installed and set up to work (e.g. connected to the internet, keyboard layout, fonts installed etc.).
- A decent internet connection either by WiFi or ethernet (preferred to minimize latency issues).
- At least 1Gb of free space on your SD card
NOTE: Although all speech recognition is performed locally on your Raspberry Pi, an internet connection is still required for this free release version and audio data will be uploaded to your SpeechFoundry account where you can review, transcribe and manage the recordings.
# Make sure you have a USB microphone (or USB adaptor and analog microphone) plugged in to your Raspberry Pi 3 Model B. # Turn on your Raspberry Pi 3 Model B and boot into the Desktop # Using the web browser sign up for an account at: https://accounts.speechfoundry.com/accounts/register/ # Check your email inbox for the activation email and click "Confirm my account" and log in (if not logged in automatically) # Click the "RASPBERRY PI" tab at the top left of the screen # Click the "Download installer" button # Read the "Software Licence Agreement" and if you agree with the Terms click "Agree". # You will then be prompted to download a zip-file containing an installation script and your user credentials. # Save this file in /home/pi/ or somewhere you can easily find it again. # Open a terminal window and type the following: cd /home/pi/ # Assuming you saved the inferret_rpi_installer.zip file in /home/pi/Downloads/ type: cd /home/pi/ unzip Downloads/inferret_rpi_installer.zip # This will create a directory called inferret_rpi_installer in which there are the following three files called:
- README.txt
- installer.sh
- credentials.txt
Trouble-shooting
*) Lots of error messages like the following when running the ./startSofia.sh script: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = "en_US.UTF-8", LC_CTYPE = "UTF-8", LANG = "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). To fix use the following commands and strings appropriate to the errors you are seeing: sudo locale-gen en_US en_US.UTF-8 sudo dpkg-reconfigure locales *) Lots of "Please wait a minute..." notifications of high latency Are you seeing a small square in the top-right corner of your screen? If you are your Pi is not set up properly. If the square is "rainbow" colour, your power supply is under-voltage. You're probably using a spare USB telephone charger you had lying around. Don't! Get a proper stable USB power supply that will supply the correct voltage. Our ASR uses a lot of CPU when it's trying to work out what you're saying. If you see a small "red" square the CPU is getting too hot. You did put those heatsinks on, didn't you? No? If you see a small "yellow" square it means that CPU throttling is taking place again due to things getting too hot apparently down to only 600Mhz! That's why you're seeing all those latency warnings about not speaking. Put the heatsinks on, direct a fan at your Pi if necessary and cool things down. The warnings should go away although you'll still see them from time to time if you talk too much. wrong.