Advanced Python Technologies I

qrcode, Speech Recognition in Python, Google Speech Recognition #PurePythonSeries — Episode #12

J3
Jungletronics
5 min readOct 18, 2022

--

Tech 1 # qrcode

visit: https://pypi.org/project/qrcode/

What is a QR Code?

A Quick Response code is a two-dimensional pictographic code used for its fast readability and comparatively large storage capacity

Install the lib:

Run this code:

Please visit jungletronics on media dot com 😉

Tech 2 # Simplified Answering Machine

To test it please run as much as you like!

Three words or sets of words must exist in the sentence spoken and captured by the microphone:

And wait for the answer 😉

The code:

Tech 3 # Speech Recognition in Python

In the code below:

First we install pyaudio and SpeechRecognitions from google.

Then, obtain audio from the microphone.

And finaly, Recognize speech using Google Speech Recognition

Say something and wait the answer 👈

The code:

Here we mixed the two codes above and see what happened!

To test it please run as much as you like!

Three words or sets of words must exist in the sentence spoken and captured by the microphone:

The code:

Now say what’s your name

Tech 4 # Speech Recognition in Python

visit: https://pypi.org/project/pyttsx3/

It Supports multiple TTS engines, including Sapi5, nsss, and espeak.

The code:

You will hear the sentence written above on your computer speakers.

And finally:

The credits goes to:

👉Github (PPY-12)

Related Posts

00#Episode#PurePythonSeries — Lambda in Python — Python Lambda Desmistification

01#Episode#PurePythonSeries — Send Email in Python — Using Jupyter Notebook — How To Send Gmail In Python

02#Episode#PurePythonSeries — Automate Your Email With Python & Outlook — How To Create An Email Trigger System in Python

03#Episode#PurePythonSeries — Manipulating Files With Python — Manage Your Lovely Photos With Python!

04#Episode#PurePythonSeries — Pandas DataFrame Advanced — A Complete Notebook Review

05#Episode#PurePythonSeries — Is This Leap Year? Python Calendar — How To Calculate If The Year Is Leap Year and How Many Days Are In The Month

06#Episode#PurePythonSeries — List Comprehension In Python — Locked-in Secrets About List Comprehension

07#Episode#PurePythonSeries — Graphs — In Python — Extremely Simple Algorithms in Python

08#Episode#PurePythonSeries — Decorator in Python — How To Simplifying Your Code And Boost Your Function

12#Episode#PurePythonSeries — Advanced Python Technologies — qrcode, Speech Recognition in Python, Google Speech Recognition #PurePythonSeries (this one)

13#Episode#PurePythonSeries — Advanced Python Technologies II — qFace Recognition w/ Jupyter Notebook & Ubuntu

14#Episode#PurePythonSeries — Advanced Python Technologies III — Face Recognition w/ Colab

15#Episode#PurePythonSeries — ISS Tracking Project — Get an Email alert when International Space Station (ISS) is above of us in the sky, at night

16#Episode#PurePythonSeries — Using Gemini Chat on Collab — Random Number Generation, List Manipulation & Rock-Paper-Scissors Game Implementations

17#Episode#PurePythonSeries — Python — Basics — Functions, OOP, file handling, calculator, loops

18#Episode#PurePythonSeries — Python — Efficient File Handling in Python — Best Practices and Common Methods

19#Episode#PurePythonSeries — Python — How To Securely Save Credentials in Python — Like API tokens, passwords, or other sensitive data

--

--

J3
Jungletronics

😎 Gilberto Oliveira Jr | 🖥️ Computer Engineer | 🐍 Python | 🧩 C | 💎 Rails | 🤖 AI & IoT | ✍️