Coder Social home page Coder Social logo

robsonmafra / sign-language-and-static-gesture-recognition-using-sklearn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mon95/sign-language-and-static-gesture-recognition-using-sklearn

2.0 2.0 1.0 32.51 MB

A Machine Learning pipeline that performs hand localization and static-gesture recognition built using the scikit learn and scikit image libraries. Fork project from mon95/Sign-Language-and-Static-gesture-recognition-using-sklearn

Python 7.14% Jupyter Notebook 92.86%
python scikit-learn sign-language

sign-language-and-static-gesture-recognition-using-sklearn's Introduction

Sign Language and Static-Gesture Recognition using scikit-learn

Do check out my blog post explaining the project!

To use the code in /dataset/gesture_recognizer1.py or the code in /dataset/pipeline_final.ipynb, download the Dataset.zip file and extract the data into the folder containing the above code.

That is, your folder structure should be:

/home/../../dataset
       |----gesture_recognizer1.py
       |----pipeline_final.ipynb
       |----user_3
       |----user_10
       ....
       ....
       |----user_1
              |---A0.jpg
              |---A1.jpg
              |---A2.jpg
              |---...
              |---Y9.jpg
       |----user_2
              |---A0.jpg
              |---A1.jpg
              |---A2.jpg
              |---...
              |---Y9.jpg
       |---- ...
       |---- ...

Using gesture_recognizer1.py:

  1. Modify the main function in gesture_recognizer1.py to use the correct list of users. Train and save the gesture recognizer. (Uncomment the lines in main() accordingly) https://github.com/mon95/Sign-Language-and-Static-gesture-recognition-using-sklearn/blob/master/dataset/gesture_recognizer1.py#L509

  2. Then, use the load_model method to load the previously saved gesture recognizer objec. Now, the test images, can be tested using the recognize_gesture function.

The functions in the pipeline_final.ipynb ipython notebook can be used to build your own pipeline using various classifier combinations from the scikit learn toolbox.

A slightly more detailed explanation here: mon95#3

Install requirements:

pip install -r requirements.txt

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.