JARVIS is a Python-based personal AI assistant that can perform a variety of tasks, including sending emails, retrieving weather information, recognizing hand gestures, browsing the web, and more. It utilizes speech recognition to take voice commands from the user and respond accordingly.
- Voice Interaction: JARVIS can listen to your commands through the microphone and respond with speech.
- Wikipedia Search: Search and retrieve information from Wikipedia.
- Web Browsing: Open popular websites like YouTube, Google, and GeeksforGeeks.
- Application Control: Open applications like Notepad, Visual Studio Code, and Steam.
- Music Player: Play music from a specified directory on your system.
- Time and Date: Get the current time.
- Email Sending: Send emails through voice commands.
- Weather Information: Retrieve and read out the weather information for a specified city.
- Hand Gesture Recognition: Use the webcam to recognize hand gestures and count fingers.
- Clone the Repository:
git clone https://github.com/Murghendra/JARVIS.git cd JARVIS
For the weather feature, you need an API key from OpenWeatherMap. Replace the placeholder in the getWeather function with your API key.
JARVIS will greet you based on the time of day and ask how it can assist you. Here are some commands you can use:
- Wikipedia Search: "Search Wikipedia for [topic]".
- Open Websites: "Open YouTube", "Open Google", "Open GeeksforGeeks"
- Open Applications: "Open Notepad", "Open Code", "Open Steam"
- Play Music: "Play music"
- Get Time: "What is the time?"
- Send Email: "Email to John Doe"
- Weather Information: "Get weather"
- Hand Gesture Recognition: "Start video"
Ensure you have Python 3.x installed. Install the required libraries using pip:
pip install pyttsx3 SpeechRecognition wikipedia smtplib requests opencv-python numpy