Hand Gesture Recognition
Research project done in Tsinghua University
This is the research project I did in Tsinghua University during my senior year at college.
This is a post that gives a brief description of the algorithm of hand gesture recognition that I developed. It serves as a reminder of what has been done and what remains to be done. You can download the codes in Github, feel free to try out and change the code.Let me introduce our algorithm step by step.
- Find the contour points and connect them in a consecutive manner.
- Find the centroid of hand gesture using distance transform.
- Find the direction of the hand gesture using the relative positions of contour points (using just Step 1).
- Transform the hand contour (points above the centroid, which contribute more to the hand direction) into a time-series curve.
- Find the initial positions of the fingertips and fingerroots (using just Step 1).
- Refine the positions of fingertips and fingerroots(using Step 2).
- Find the accurate direction of the hand gesture using the directions of fingers(using Step 2).
- Recognition scheme 1: Use the positions of the fingertips and fingerroots for recognition.
- Recognition scheme 2: Transform the contour points into the time-series curve again and take samples. For each gesture, we can obtain a feature vector. Use Machine Learning algorithm to train the data for recognition.
This is pretty much everything about our hand gesture recognition algorithm, the source code is constantly changing because I am still refining the algorithm. If you are interested, please go to my Github page to download the latest version.