Skip to content

paveldat/drag_and_drop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drag and Drop

In this project I am going to learn how to create a virtual drag and drop system using opencv and python

How to install

  1. Clone this repository on your computer https://github.com/paveldat/drag_and_drop.git
  2. Install all the requirements run libraries.bat or pip install -r requirements.txt
  3. Run the program python main.py

Help

You might face issue with webcam not showing and you get errors. To solve it just change the value in this line (for example to 1). cap = cv2.VideoCapture(0) Increment this number until you see your webcam.

Hand Landmarks

Click

In order to simulate a click, you need to connect the index and middle fingers on your hand. An example of a valid click is shown in the image below.

Result

Alt Text

About

Virtual Drag and Drop using OpenCV Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published