https://github.com/ai-forever/dynamic_gestures

https://github.com/ai-forever/dynamic_gestures

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: ai-forever
  • Language: Python
  • Default Branch: main
  • Size: 50.1 MB
Statistics
  • Stars: 56
  • Watchers: 5
  • Forks: 0
  • Open Issues: 2
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme License

readme.md

HaGRID Dynamic Gestures

HaGRID main repo

Overview

This repository contains using HaGRID dataset for dynamic gesture recognition. The dataset is available here.

Project

├── ocsort/ # source code for Observation-Centric Sorting │ ├── kalmanfilter.py # Kalman filter │ ├── kalmanboxtracker.py # Kalman box tracker │ ├── association.py # Association of boxes with trackers ├── utils/ # useful utils │ ├── action_controller.py # Action controller for dynamic gestures │ ├── box_utils_numpy.py # Box utils for numpy │ ├── enums.py # Enums for dynamic gestures and actions │ ├── hand.py # Hand class for dynamic gestures recognition │ ├── drawer.py # Debug drawer ├── onnx_models.py # ONNX models for gesture recognition ├── main_controller.py # Main controller for dynamic gestures recognition, uses ONNX models, ocsort and utils ├── run_demo.py # Demo script for dynamic gestures recognition

Installation

Clone and install required python packages: ```bash git clone https://github.com/ai-forever/dynamic_gestures.git

or mirror link:

cd dynamic_gestures

Create virtual env by conda or venv

conda create -n dynamicgestures python=3.9 -y conda activate dynamicgestures

Install requirements

pip install -r requirements.txt ```

Demo

To run demo, you just need to run run_demo.py script.

bash python run_demo.py --detector <path_to_detector> --classifier <path_to_classifier> --debug --detector (optional) Path to the hand detector model. Default: models/hand_detector.onnx

--classifier (optional) Path to the crops classifier model. Default: models/crops_classifier.onnx

--debug (optional) Enables debug mode to see bounding boxes and class labels.

Dynamic gestures

Next, we will show dynamic gestures in user mode and debug mode. In user mode, we show only the final result of dynamic gesture recognition. In debug mode, we show the result of each step of dynamic gesture recognition: 1. hand detection 2. hand tracking 3. gesture recognition 4. action recognition

At the moment the code supports 6 groups of dynamic gestures:

ZOOM

Zoom In/Out Zoom

DRAG AND DROP

Drag and Drop 1 Drag and Drop 2 Drag and Drop 3

FAST SWIPE UP / DOWN

Fast Swipe Up/Down

CLICK

Clicks

SWIPES LEFT / RIGHT

Swipe Left/Right Swipe 2 Left/Right Swipe 3 Left/Right

SWIPES UP / DOWN

Swipe Up/Down Swipe 2 Up/Down Swipe 3 Up/Down

License

This work is licensed under a variant of Apache License, Version 2.0.

Please see the specific license.

Citation

You can cite the paper using the following BibTeX entry:

@misc{nuzhdin2024hagridv21mimagesstatic,
      title={HaGRIDv2: 1M Images for Static and Dynamic Hand Gesture Recognition},
      author={Anton Nuzhdin and Alexander Nagaev and Alexander Sautin and Alexander Kapitanov and Karina Kvanchiani},
      year={2024},
      eprint={2412.01508},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2412.01508},
}

Owner

  • Name: AI Forever
  • Login: ai-forever
  • Kind: organization
  • Location: Armenia

Creating ML for the future. AI projects you already know. We are non-profit organization with members from all over the world.

GitHub Events

Total
  • Create event: 4
  • Issues event: 5
  • Watch event: 61
  • Delete event: 1
  • Member event: 1
  • Issue comment event: 2
  • Push event: 3
  • Public event: 1
  • Pull request review event: 1
  • Pull request event: 6
  • Fork event: 5
Last Year
  • Create event: 4
  • Issues event: 5
  • Watch event: 61
  • Delete event: 1
  • Member event: 1
  • Issue comment event: 2
  • Push event: 3
  • Public event: 1
  • Pull request review event: 1
  • Pull request event: 6
  • Fork event: 5

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 5
  • Total Committers: 2
  • Avg Commits per committer: 2.5
  • Development Distribution Score (DDS): 0.2
Past Year
  • Commits: 5
  • Committers: 2
  • Avg Commits per committer: 2.5
  • Development Distribution Score (DDS): 0.2
Top Committers
Name Email Commits
Alex a****v@y****u 4
Anton Nuzhdin a****n@y****u 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 4
  • Total pull requests: 6
  • Average time to close issues: 1 day
  • Average time to close pull requests: about 1 hour
  • Total issue authors: 4
  • Total pull request authors: 2
  • Average comments per issue: 0.25
  • Average comments per pull request: 0.0
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 4
  • Pull requests: 6
  • Average time to close issues: 1 day
  • Average time to close pull requests: about 1 hour
  • Issue authors: 4
  • Pull request authors: 2
  • Average comments per issue: 0.25
  • Average comments per pull request: 0.0
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • miles0428 (1)
  • wanna-learn-backend (1)
  • Miululu (1)
  • shaoyun233 (1)
Pull Request Authors
  • nagadit (4)
  • AntonNuzhdin (2)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

pyproject.toml pypi
requirements.txt pypi
  • filterpy ==1.4.5
  • numpy ==1.23.5
  • onnx ==1.13.0
  • onnxruntime ==1.13.1
  • opencv-contrib-python ==4.6.0.66