Speech recognition

From XPUB & Lens-Based wiki
Revision as of 12:31, 21 March 2018 by Angeliki (talk | contribs) (Created page with "For Ubuntu: ''Requirements: Python2.6, 2.7, or 3.3+''<br /> https://pypi.python.org/pypi/SpeechRecognition # Install SpeechRecognition 3.8.1 #*<small>pip install SpeechRecogn...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

For Ubuntu:

Requirements: Python2.6, 2.7, or 3.3+
https://pypi.python.org/pypi/SpeechRecognition

  1. Install SpeechRecognition 3.8.1
    • pip install SpeechRecognition
    • To quickly try it out, run python -m speech_recognition after installing.
  2. PyAudio (for microphone users):
    • Install PyAudio using APT: execute sudo apt-get install python-pyaudio python3-pyaudio in a terminal.
  3. Transcribe an audio file: execute python3 audio_transcribe.py