A smart desktop assistant that uses speech recognition and face authentication to interact with users and execute system-level commands.
Create a virtual environment to isolate dependencies:
python -m venv venvActivate it:
-
Windows:
venv\Scripts\activate
-
macOS/Linux:
source venv/bin/activate
Install the following packages in the virtual environment:
pip install SpeechRecognition pyttsx3 datetime pywhatkit opencv-python pandas numpy Pillow subprocess psutil pyautogui pyperclipNote: Some packages like sys, subprocess, webbrowser, and urllib.parse are part of Pythonโs standard library โ no need to install them via pip.
Go to the Face2 directory and follow these steps:
-
Generate Face Samples
python sample_generator.py
-
Train the Model
python model_trainer.py
-
Run Face Recognition for Authentication
python face_recognition.py
Inside the Engine folder, update Path.xlsx with:
- Application names
- Their corresponding absolute file paths
Example: Chrome | C:\Program Files\Google\Chrome\Application\chrome.exe
Start the assistant by executing:
python main.pyTo explore the full list of voice commands the assistant can respond to, refer to:
run.py