https://github.com/do-me/play-the-radio
Speech recognition for playing the radio in 12 lines of code
https://github.com/do-me/play-the-radio
Last synced: 2 months ago
JSON representation
Speech recognition for playing the radio in 12 lines of code
- Host: GitHub
- URL: https://github.com/do-me/play-the-radio
- Owner: do-me
- Created: 2020-01-12T12:53:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-08T20:20:29.000Z (almost 5 years ago)
- Last Synced: 2025-01-16T03:44:26.921Z (4 months ago)
- Language: Python
- Size: 516 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# play-the-radio
Speech recognition for playing any web radio (or technically doing anything on the web) in 12 lines of code using Python´s speech recognition package and selenium.For a small tutorial see [my blog](https://geo.rocks/post/speechrecognition).
Prerequistites:
- Anaconda virtual environment (for clean installation of all required packages and to avoid Pythons´s dependency hell)
- speech_recognition package
- selenium package
- geckodriver (Firefox), chromedriver (Chrome)Feel free to adopt for other purposes:
- play youtube videos (i.e. from youtube, but take care of add blocking, see [stack overflow]( https://stackoverflow.com/questions/20832159/python-using-adblock-with-selenium-and-firefox-webdriver))
- play spotify (requires login every time)
- order pizza
... be creative!
