Voice Assistant is a simple yet powerful voice recognition application designed to assist you with various tasks using voice commands. With Voice Assistant, you can effortlessly open applications, perform Google searches, play commands, and much more, all through intuitive voice input.
- Interactive UI: Voice Assistant comes with a user-friendly tkinter-based graphical user interface (GUI).
- Voice Recognition: Recognizes voice commands using the Google Speech Recognition API.
- Application Opener: Opens applications installed on the system.
- Google Search: Performs Google searches based on voice commands.
- Play Command: Executes commands to play media or perform specific tasks.
- Command Playback: Control media playback or perform specific actions by simply speaking your command.
Voice Assistant comes with a user-friendly tkinter-based graphical user interface (GUI) that provides a seamless experience for interacting with the assistant. The UI presents easy-to-use buttons and input fields, making it convenient for users to input voice commands and receive responses from the assistant.
-
Users must have python installed in there PC: Download Python
-
Clone the repositry
git clone https://github.com/VickyDev810/Voice-Assistant.git
cd Voice-Assistant- Create a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`- Install required packages:
pip install -r requirements.txt- Run the application:
python -u main.pyOn clicking on the mic button, you will be prompted to say something on terminal then you can speak any query:
i. Searching Query The Voice Assistant will search for anything you say. For example, if you say "hello," it will be searched online.
ii. Open Application This feature works only for a few apps that are defined in your OS path. Some example commands are:
open calc
open notepad
open explorer
open spotify works when you have spotify installed from microsoft store
open cmd ( This command may cause errors as it will open the cmd in vs code terminal itself)iii. Play Command You can use these commands to play videos on YouTube or search for them:
play 'Video Name'Opens up a video defined by user when prompted you can change it inside play_command.py
play song or play a song or play somethingYou can also simply type the query in the textbox and click the search button to perform a Google search or execute a command.
Contributions are welcome! Please fork the repository and submit a pull request.
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch. - Make your changes and commit them:
git commit -m 'Add new feature'. - Push to the branch:
git push origin feature-branch. - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
