Giter Site home page Giter Site logo

leonichel / leap-motion-gesture-recognition Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.06 MB

Gesture recognition experiments for hospital environments using Leap Motion sensor.

Jupyter Notebook 100.00%
classification dataset google-colab healthcare hospital jupyter leap-motion-sensor machine-learning numpy pandas plotly python research-project sklearn skopt

leap-motion-gesture-recognition's Introduction

Leap Motion Gesture Recognition

This repository contains the code of the experiments and the dataset created for the researched solution to minimize the risks of contamination through the recognition of hand gestures. It includes a defined gesture vocabulary, a dataset consisting of 9 distinct gestures, and 20,000 samples and experiments with various classifiers. The achieved accuracy of 95.8% demonstrates the potential of this approach. Improve hygiene and efficiency in hospital environments with this innovative touchless control system.

Table of Contents

Project Overview

This repository contains experiments on the use of machine learning for gesture recognition using the Leap Motion sensor, ilustred in the figure.

leap-motion-sensor

Dataset

The dataset comprises 250 frames per person, collected from 9 individuals, with 10 distinct gestures, resulting in a total of 22,500 samples. The same gesture vocabulary as Marin 2014 was employed, as shown in figure.

gesture-vocabulary

Usage

Install the required dependencies from requirements and run the code in Jupyter Notebook. Alternatively, you can easily open the notebook directly in Google Colab for seamless execution.

Open In Colab

Methodology

We conducted experiments using various classifiers, including:

  • Ridge
  • Logistic Regression
  • SGD
  • Perceptron
  • Passive Aggressive
  • SVM
  • KNN
  • Decision Tree
  • Multi Layer Perceptron
  • Random Forest
  • Gradient Boosting
  • Extra Trees
  • Bagging
  • LGBM
  • XGB

The classifiers were evaluated and optimized using Bayesian search for hyperparameter tuning. Based on the results, the best models were selected, and combinations of these models were explored.

Results

The best combinations of models reached 95.8% accuracy. The figures illustrates the best combination along with their corresponding hyperparameters, and the confusion matrix of the model validation. best-model best-model

leap-motion-gesture-recognition's People

Contributors

leonichel avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.