- OpenCV-Python:
pip install opencv-python - mouse :
pip install mouse - pyautogui:
pip install pyautogui
Make sure you install these inside root
- Clone this repository
- Adjust HSV values in
mouse.pyaccording to the color you are using (I recommend using RED for moving mouse , BLUE and GREEN for click and scroll features) - Open terminal and go to the location of this project
- Type
sudo su( to enter into root) - run the code using
python mouse.py
- For click and scroll features , the code needs to be executed with root permission
- Drag feature can be added
- Right button click