August 2021
Intermediate to advanced
384 pages
9h 15m
English
In this chapter, we’ll begin interacting with Python through speech. We’ll first install the SpeechRecognition module; the installation process can be a source of frustration and will therefore require some careful attention. You’ll then create a script to let Python recognize your speech and print it out to ensure that the voice recognition function works smoothly on your computer.
You’ll use voice control to complete several tasks, including voice dictation, opening web browsers, opening files, and playing music on your computer. You’ll put all code related to speech recognition into a custom local module so the final ...
Read now
Unlock full access