Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.39 KB

README.md

File metadata and controls

48 lines (30 loc) · 1.39 KB

OpenCV Drag and Drop ■👌🏻🐍

This Python application demonstrates drag and drop functionality using OpenCV and Datapipe. By leveraging computer vision techniques, users can interact with objects on the screen by performing simple hand gestures.

Features

  • Drag and Drop Interaction: Use the 👌🏻 gesture to drag objects within the application window.
  • Real-time Feedback: The application provides real-time visual feedback, allowing users to see their hand gestures reflected on the screen.

Prerequisites

Before running the application, ensure you have the following installed:

  • Python 🐍 (For logic)
  • OpenCV 👁️ (For computer vision and image processing)
  • Datapipe 👌🏻 (for gesture recognition)

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/viniciusfinger/opencv-drag-and-drop.git
  2. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Run the application:

    python main.py
  2. Place your hand within the camera's field of view.

  3. Do the 👌🏻 gesture to drag objects.

  4. Release your hand to drop the object.

Customization

Feel free to customize the application to suit your needs. You can modify the gesture recognition logic, add new gestures, add new elements or integrate additional functionality.