/grlib

Gesture recognition library for Python

Primary LanguagePython

GRLib: An Open-Source Hand Gesture Detection and Recognition Python Library

This repository houses GRLib, a Python library for hand gesture detection and recognition. GRLib is capable of identifying both static and dynamic hand gestures using a combination of image augmentations, MediaPipe Hands and other algorithms.

Installation

pip install grlib

Usage

Use the scripts provided to detect and recognize hand gestures in real-time using an RGB camera. Detailed instructions and examples are included in the script headers.

Structure

  • examples/: Sample scripts demonstrating the library's usage.
  • src/grlib/feature_extraction/: Classes to process the images.
  • src/grlib/load_data/: Classes to load the datasets.
  • src/grlib/dynamic_detector.py: The class for dynamic gesture recognition.

Sample results

Using this library, the authors produce the following results in comparison to MediaPipe Solutions:

ASL HaGRID Kenyan sign language
image image image

Contributing

Contributions to GRLib are welcome and we will actively review PRs and answer issues.

Authors

Mikhail Vlasenko and Jan Warchocki