mon95 / Sign-Language-and-Static-gesture-recognition-using-sklearn

A Machine Learning pipeline that performs hand localization and static-gesture recognition built using the scikit learn and scikit image libraries

Home Page:https://medium.com/free-code-camp/weekend-projects-sign-language-and-static-gesture-recognition-using-scikit-learn-60813d600e79

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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: #3

About

A Machine Learning pipeline that performs hand localization and static-gesture recognition built using the scikit learn and scikit image libraries

https://medium.com/free-code-camp/weekend-projects-sign-language-and-static-gesture-recognition-using-scikit-learn-60813d600e79


Languages

Language:Jupyter Notebook 92.9%Language:Python 7.1%