Skip to content

mstftmk/Camera-Trackpad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Trackpad from Camera

In this repo, there is a “mouse with hand gestures” that I created with OpenCV, MediaPipe and pyautogui libraries. There are several things with that you can do with your hands:

  • you can move cursor,
  • you can click on items,
  • you can make right click,
  • you can scroll up and down.

Hand Gestures

Neutral Hand Gesture Image1

Cursor Move Gesture Image2

Mouse Click Gesture Image3

Right Click Gesture Image4

Page Down Gesture Image5

Page Up Gesture Image6

Requirements

import cv2
import numpy
import mediapipe
import pyautogui

Setup

update and install first:

$ pip install cv2
$ pip install mediapipe
$ pip install pyautogui

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Releases

No releases published

Packages

 
 
 

Languages