0% found this document useful (0 votes)
12 views8 pages

Python Based Voice Assistant Presentation

Uploaded by

bigbasket.gui
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views8 pages

Python Based Voice Assistant Presentation

Uploaded by

bigbasket.gui
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Python-Based Voice Assistant

Features and Implementation


Your Name
Date
Introduction
• Overview: Brief introduction to the project.
• Purpose: Explain the goal of creating a voice
assistant.
Features
• Speech Recognition: Utilizes the
speech_recognition module.
• Text-to-Speech: Implements pyttsx3 for
audible interaction.
• Wikipedia Search: Uses the wikipedia module
for information retrieval.
• YouTube Music Player: Plays songs using
pywhatkit.
• Web Browsing: Opens YouTube and Google
with webbrowser.
Modules Used
• pyttsx3: Text-to-speech conversion.
• datetime: Date and time functions.
• speech_recognition (sr): Speech recognition.
• wikipedia: Accessing Wikipedia information.
• os: Starting system applications.
• webbrowser: Opening websites.
• pyjokes: Generating jokes.
• pywhatkit (kit): Playing YouTube songs and
web searches.
Installation
• pyttsx3: pip install pyttsx3
• speech_recognition: pip install
SpeechRecognition
• wikipedia: pip install wikipedia-api
• pywhatkit: pip install pywhatkit
• plyer: pip install plyer
• tkinter: Pre-installed with Python.
• PIL (Pillow): pip install pillow
Code Example - Speech
Recognition
• import speech_recognition as sr

• recognizer = sr.Recognizer()
• with sr.Microphone() as source:
• print("Listening...")
• audio = recognizer.listen(source)
• try:
• text = recognizer.recognize_google(audio)
• print(f"You said: {text}")
Code Example - Text-to-Speech
• import pyttsx3

• engine = pyttsx3.init()
• engine.say("Hello, how can I assist you
today?")
• engine.runAndWait()
Conclusion
• Summary: Recap the features and modules
used.
• Future Work: Potential improvements and
additional features.
• Q&A: Open the floor for questions.

You might also like