This code initializes the Mediapipe and Autopy libraries, sets up the video capture using OpenCV, and then processes each frame from the camera. It uses Mediapipe's hand tracking functionality to detect the landmarks of the hand. It then maps the hand landmarks to the screen coordinates and moves the mouse cursor accordingly using Autopy.
# Clone this repository
$ git clone https://github.com/nandu-k01/computer-vision-mouse.git
# Go into the repository
$ cd computer-vision-mouse
# Install requirements.txt
$ pip install -r requirements.txt
# Run the app
$ python computer-vision-mouse