Rio - Personal AI Assistant
Project Description
Rio is a Python-based personal AI assistant designed to perform a wide range of tasks, including web searches, system control, media playback, and automation, using voice commands and a user-friendly GUI. It leverages libraries like pyttsx3, speech_recognition, PyQt5, and pyautogui to provide a seamless and interactive experience.
Features
-
Voice Commands:
- Perform tasks like opening applications, searching the web, playing music, and more using voice commands.
-
Web Integration:
- Search Wikipedia, Google, and YouTube.
- Fetch and read the latest news headlines.
-
System Control:
- Open and close applications like VS Code, Chrome, Notepad, and more.
- Control system functions like shutdown, restart, and sleep mode.
-
Media Playback:
- Play music and movies from local directories.
- Control media playback (play, pause, volume control).
-
Automation:
- Automate repetitive tasks like taking screenshots, reading PDFs, and managing files.
-
Interactive GUI:
- Built with PyQt5 for a modern and intuitive user interface.
Technical Details
-
Languages and Libraries:
- Python for core logic and scripting.
- pyttsx3 for text-to-speech functionality.
- speech_recognition for voice command processing.
- PyQt5 for the graphical user interface.
- pyautogui for system automation and control.
- requests and BeautifulSoup for web scraping and integration.
-
Input/Output:
- Voice commands for input.
- Text-to-speech and GUI for output.
How It Works
-
Initialization:
- Rio greets the user and waits for voice commands.
-
Command Processing:
- Recognizes voice commands using speech_recognition.
- Executes tasks like web searches, system control, or media playback based on the command.
-
Output:
- Provides feedback through text-to-speech or updates the GUI.
Usage
- Ideal for personal use to automate daily tasks and improve productivity.
- Can be extended with additional features like email integration, calendar management, and more.