This project demonstrates the creation of a virtual mouse using OpenCV, allowing users to control the mouse cursor with movement of hand and fingers using computer vision techniques.
Before you begin, ensure you have the following prerequisites installed:
Python 3.x
OpenCV
mediapipe
pyautogui
or run pip install -r required_packages.txt
in terminal to install all packages.
Run python virtual_mouse.py
in terminal to start the virtual mouse.
Note:
Want to use your mobile camera, no problem dowmload IP webcam [https://play.google.com/store/apps/details?id=com.pas.webcam] mobile application on mobile then start server there you will seeIPv4 or IPv6
copy any one and paste it in url wih/video
at last of the copied link. Now use your mobile camera.