This Python script creates a personal voice assistant utilizing speech recognition. It allows users to interact with the computer through voice commands.
- Text-to-Speech: Converts text input into spoken audio.
- Speech-to-Text: Recognizes speech input to execute commands.
- Time-based Greetings: Greets the user based on the time of day.
- Task Execution: Executes various tasks based on user commands, such as:
- Opening applications (Notepad, Command Prompt, Counter-Strike)
- Accessing system information (IP address)
- Interacting with web services (Wikipedia, YouTube, Google)
- Playing music
- Accessing the webcam
- Continual Interaction: After executing a command, the assistant asks if there's anything else it can do.
- Clone this repository.
- Install the required dependencies:
pip install pyttsx3 speechrecognition opencv-python wikipedia
- Run the script.
- Run the script.
- When prompted, provide your name for personalized greetings.
- Speak commands to interact with the assistant.
- Python 3.x
pyttsx3
library for text-to-speech functionalityspeech_recognition
library for speech recognitionopencv-python
library for accessing the webcamwikipedia
library for accessing Wikipedia content
This project is licensed under the MIT License.