Skip to content

About

JARVIS 2.0 is a Python-based AI Voice Assistant with a graphical user interface that can perform various tasks using voice commands or text input. The assistant integrates speech recognition, text-to-speech technology, and web automation to provide a simple interactive AI assistant experience.

Resources

Stars

15 stars

Watchers

0 watching

Forks

Latest commit

 

History

69 Commits

Folders and files

Repository files navigation

JARVIS 2.0 - AI Voice Assistant

Features:

  • 🎤 Voice Command Recognition
  • ⌨️ Text Command Input
  • 🌐 Quick Website Access (Google, YouTube, ChatGPT, etc.)
  • 🕐 Time & Date Functions
  • 📚 Wikipedia Search

Installation:

Step 1: Install Required Libraries

pip install pyttsx3
pip install SpeechRecognition
pip install wikipedia
pip install pyaudio

Step 2: For Microphone Access (PyAudio)

Windows:

pip install pipwin
pipwin install pyaudio

Linux/Mac:

sudo apt-get install portaudio19-dev python3-pyaudio
pip install pyaudio

How to Run:

python jarvis_ui.py

Voice Commands:

  • "Wikipedia [topic]" - Search Wikipedia
  • "Open YouTube" - Opens YouTube
  • "Open Google" - Opens Google
  • "Open ChatGPT" - Opens ChatGPT
  • "What's the time" - Tells current time
  • "What's the date" - Tells current date
  • "Open LinkedIn" - Opens LinkedIn
  • "Open Instagram" - Opens Instagram
  • "Open WhatsApp" - Opens WhatsApp Web
  • "Open Gmail" - Opens Gmail
  • "Exit/Quit/Bye" - Closes the assistant

UI Features:

  1. Voice Command Button - Click and speak your command
  2. Type Command Button - Type your command manually
  3. Quick Actions - One-click buttons for common tasks
  4. Chat Display - Shows conversation history
  5. Status Indicator - Shows current status (Ready/Listening/Processing)

Tips for Freshers:

  • Speak clearly when using voice commands
  • Wait for "Listening..." status before speaking
  • Use Type Command if voice recognition isn't working
  • Try Quick Actions for instant results
  • Check the chat display for responses

Troubleshooting:

Microphone Not Working:

  • Check microphone permissions in system settings
  • Try using "Type Command" instead
  • Install PyAudio properly using steps above

Voice Not Working:

  • Ensure speakers are on
  • pyttsx3 should work offline
  • Check system audio settings

Import Errors:

Make sure all libraries are installed:

pip install -r requirements.txt

Customization:

  • Change voice: Modify self.engine.setProperty('voice', voices[1].id)
    • Use voices[0] for male voice
    • Use voices[1] for female voice
  • Change colors: Edit hex color codes in the UI section
  • Add more commands: Add elif conditions in process_command() method

About

JARVIS 2.0 is a Python-based AI Voice Assistant with a graphical user interface that can perform various tasks using voice commands or text input. The assistant integrates speech recognition, text-to-speech technology, and web automation to provide a simple interactive AI assistant experience.

Resources

Stars

15 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages