realpython/python-speech-recognition
소개
Speech Recognition with Python examples
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSpeech Recognition with Python
This repository contains resources from The Ultimate Guide to Speech Recognition with Python tutorial on Real Python.
Audio files for the examples in the Working With Audio Files section of the post can be found in the audio_files directory. To download them, use the green "Clone or download" button at the top right corner of this page.
The guessing_game.py file contains the full source code for the "Guess a Word" game example.
NOTE: You will need to install the SpeechRecognition and PyAudio packages in order to run the example. Please see the tutorial for step-by-step instructions.
You can test your SpeechRecognition and PyAudio installation by downloading guessing_game.py and typing the following into a Python REPL session:
>>> import speech_recognition as sr
>>> from guessing_game.py import recognize_speech_from_mic
>>> r = sr.Recognizer()
>>> m = sr.Microphone()
>>> recognize_speech_from_mic(r, m) # speak after running this line
{'success': True, 'error': None, 'transcription': 'hello'}
Of course, your output will vary depending on what you said after running recognize_speech_from_mic(r, m).
관련 프로젝트 살펴보기
불러오는 중…