1- Face Detection.
2- Hand gesture Volume Control.
3- Send Whatsapp Messages Automatically in Python
4- Transform Your Eyes into a Mouse
5- Security camera for house
6- Capturing Smiling Face
To run the virtual environment for packages
1- open powershell
2- navigate to the project routes
3- type: cv_env\Scripts\activate
if the script didn't work :
- open powershell as adminstrator
- type :
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser - type Y for yes
- close powershell & repeat the steps again.
4- it should show something like this :
5- install pip install opencv-python mediapipe==0.10.9 pyautogui protobuf==3.20.3
6- type python -c "import mediapipe as mp; print(mp.__version__)" to check if its installed correctly
it should shows: 0.10.9
7- force VS CODE to use the venv
- Open VS Code
- Press Ctrl + Shift + P
- Select Python: Select Interpreter
- Choose THIS EXACT PATH:
{your_project_route}\cv_env\Scripts\python.exe - Restart VS Code completely
Solution: Recreate the virtual environment
1 - Delete the broken folder From:
PS D:\2026\Developing\computer_vision\cv_projects>
Run:
Remove-Item -Recurse -Force .\cv_env
If it says the folder doesn’t exist, that’s fine.
2 - Recreate the virtual environment (CRITICAL COMMAND) Run this exact command:
C:\Users\HP\AppData\Local\Programs\Python\Python310\python.exe -m venv cv_env
Wait until it finishes. It should return you to the prompt with no errors.
3 - Verify it was created correctly Run:
dir .\cv_env\Scripts
You must now see files like:
Activate.ps1
activate.bat
python.exe
pip.exe
If you see these, the environment is valid.
4 - Activate (PowerShell) ``.\cv_env\Scripts\Activate.ps1`
Your prompt must change to:
(cv_env) PS D:\2026\Developing\computer_vision\cv_projects>
5 - Install your packages (inside the venv) With (cv_env) visible:
pip install opencv-python mediapipe==0.10.9 pyautogui protobuf==3.20.3
6 - Tell VS Code to use the venv (important)
Open VS Code
Ctrl + Shift + P
Python: Select Interpreter
Choose:
D:\2026\Developing\computer_vision\cv_projects\cv_env\Scripts\python.exe
Restart VS Code
you should install these packages inside your environment or virtual environment
- Whatsapp automated message
pip install pywhatkit