TO PURCHASE OUR PROJECTS IN ONLINE (OR) OFFLINE
CONTACT:VENKAT INNOVATIVE PROJECTS
NAME: VENKATARAO GANIPISETTY
Mobile & WhatsApp :+91 9966499110
Mobile & WhatsApp :+91 9573201550
Email :[email protected]
Email :[email protected]
website:https://venkatinnovativeprojects.com/
ABOUT PROJECT:
In this project we are performing mouse operation in virtual environment using inbuilt webcam, for this project to perform mouse operation no need to use any additional hardware called mouse. Our application will use webcam to detect hands movement and based on hands movement position the cursor and if we take hand closer to left side of screen then left click will happen and we take hands movement closer to right side of screen then right click will perform and normal mouse movement can be achieved just by movement of hands.
To build this project we utilize inbuilt webcam and OPENCV API from python, OPENCV will detect webcam and look for hands in webcam stream and then move mouse based on hands movement detection. To move mouse we make use of X and Y Coordinates (Pixels) of screen, whenever hands move then OPENCV extract current X and Y location of hands in webcam and then using python PYAUTOGUI API it will instruct mouse to go to that location by using various methods called pyautogui.moveTo(100, 150), pyautogui.moveRel(0, 10) ,pyautogui.dragTo(100, 150), pyautogui.dragRel(0, 10) .
To detect hands OPENCV will use inbuilt ‘hand.xml’ haarcascade file which contains all possible shapes of hands in integer format and using that shapes only OPENCV will understand whether moving images in webcam contains hands or any other image.