A Python-based voice assistant with a graphical interface built using PyQt5. This application leverages modern speech recognition and synthesis technologies to create an interactive and intelligent assistant that can understand voice commands, respond with synthesized speech, and perform a variety of useful tasks like browsing the web, fetching information from Wikipedia, and telling jokes.
The Python Voice Assistant is a desktop-based virtual assistant application that responds to user voice commands. It includes a sleek and user-friendly graphical interface, allowing users to start and stop listening with a simple button click.
Under the hood, it integrates several powerful libraries:
- PyQt5 for building the graphical user interface.
- SpeechRecognition for converting spoken words to text.
- pyttsx3 for converting text responses into speech.
- Wikipedia API to provide instant access to summarized knowledge.
- pyjokes for delivering a dose of humor.
- Webbrowser module to open requested websites directly.
This project is a great starting point for developers interested in creating AI-powered desktop applications or experimenting with natural language processing in Python.
- 🎤 Real-time voice recognition
- 🔊 Speech response with pyttsx3
- 🌐 Web browsing via voice command
- 📚 Fetch and speak summaries from Wikipedia
- 😂 Tell programming jokes using
pyjokes - 🖼️ Stylish GUI with start/stop listening buttons
- 🎨 Custom design using PyQt5
Follow the steps below to install and run the project on your local machine:
git clone https://github.com/your-username/voiceAssistant.git
cd voiceAssistantpython -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activateMake sure you have pip installed. Then install all dependencies with:
pip install -r requirements.txt- On Windows:
pip install pipwin
pipwin install pyaudio- On Linux:
sudo apt-get install portaudio19-dev
pip install pyaudiopython voice_assistant.py🎙️ Speak clearly into your microphone to interact with the assistant.
- Python 3.6 or above
- PyQt5
- pyttsx3
- SpeechRecognition
- wikipedia
- pyjokes
- pyaudio
All dependencies are listed in requirements.txt.
This project is licensed under the MIT License. See the LICENSE file for more information.
- Python community for its amazing libraries
- Contributors to open-source packages used here
- Users and developers who continue to improve voice-based technologies


