Jarvis Assistant is a desktop-based voice assistant built using Python. It listens for voice commands and responds or acts accordingly.
- Voice Recognition (Speech-to-Text)
- Voice Command Handling
- GUI Interface with a logo and header (built using Tkinter)
- Continuous Listening Mode
- Robust error handling for silent environments
Install the following Python libraries before running the application:
pip install speechrecognition
pip install pyttsx3
pip install pyaudio
pip install tkinter (usually comes pre-installed with Python)
If you encounter issues installing PyAudio, use:
pip install pipwin
pipwin install pyaudio
- Clone or download the project files.
- Ensure you have a working microphone.
- Open the terminal in the project directory.
- Run the Python script:
python jarvis_assistant.py
- Jarvis will start and display a GUI.
- Speak your commands once you see "Listening..." in the console.
-
WaitTimeoutError:
- Occurs when no speech is detected in the timeout window.
- The assistant now handles this gracefully and keeps listening.
-
Microphone Not Found:
- Ensure your microphone is connected and enabled.
-
Speech Recognition Service Error:
- Ensure you have an active internet connection for Google Speech Recognition.
- The UI uses a simple dark theme with a centered logo and title.
- Listening is continuous and non-blocking.
- Make sure to speak clearly into the microphone.
- Built with Python.
- Uses
speech_recognition
for capturing audio. pyttsx3
can be added for text-to-speech responses (optional enhancement).
This project is open-source for personal and educational use.