Real-Time Hand Gesture Recognition Using Finger Segmentation

Zhihua Chen, Jung‐Tae Kim, Jianning Liang, Jing Zhang, Yubo YuanThe Scientific World JOURNAL 2014

TL;DR

This paper introduces a novel, real-time hand gesture recognition system that focuses on segmenting fingers and the palm to identify gestures. By leveraging background subtraction and a simple rule-based classifier, the method achieves high accuracy and efficiency, outperforming a state-of-the-art approach on a challenging dataset.

What Problem Does This Paper Address?

Human-Computer Interaction (HCI) is increasingly moving beyond traditional keyboard and mouse interfaces. Vision-based gesture recognition, particularly hand gestures, offers a more intuitive and natural way for humans to interact with computers. While existing methods exist, many rely on complex classifiers (like SVM or CRF) that are computationally expensive, hindering real-time applications. Furthermore, some approaches require specialized hardware like data gloves or specific sensors (e.g., depth cameras), limiting their practical use. This paper aims to develop an efficient, real-time hand gesture recognition system that uses only a standard camera and avoids complex computational overhead.

Methods

The proposed method follows a four-stage pipeline:

  1. Hand Detection: The hand region is initially extracted from the background using a background subtraction technique. To refine this, skin color information (using the HSV color model) is employed to distinguish the hand from other potential moving objects. The detected hand image is then resized to a standard resolution (200x200) to ensure scale invariance.
  2. Fingers and Palm Segmentation:
    • Palm Point: The center of the palm is identified using a distance transform on the binary hand image. The pixel with the largest distance to the nearest boundary is considered the palm point.
  3. Inner Circle of Maximal Radius: A circle is drawn centered at the palm point, with its radius expanding until it encounters black pixels (background), defining the maximal inner circle.
  4. Wrist Points and Palm Mask: A larger circle (1.2 times the maximal inner circle's radius) is used to sample points. The nearest boundary points to these sampled points are found and connected to form a palm mask. This mask helps segment the hand accurately. Two "wrist points" are identified as the points on the palm mask with the largest distance between them.
  5. Hand Rotation: An "arrow" is created from the palm point to the midpoint of the wrist line. This arrow is then aligned with the "north" direction, and the hand image is rotated accordingly. This step makes the gesture recognition invariant to hand rotation. Parts of the image below the wrist line are then cropped to remove arm portions.
  6. Fingers and Palm Segmentation: The palm mask is used to separate the palm from the fingers. The area covered by the mask is the palm, and the remaining hand parts are identified as fingers.
  7. Fingers Recognition:
    • Thumb Detection: The centers of detected finger regions are connected to the palm point. The angle between these lines and the wrist line is calculated. If an angle is less than 50 degrees, it's identified as a thumb.
  8. Other Fingers Recognition: A "palm line" is searched, running parallel to the wrist line. This line is divided into four segments, and based on the horizontal position of each finger's center point, the fingers are classified as forefinger, middle finger, ring finger, or little finger.
  9. Hand Gesture Recognition: A simple rule classifier is employed. The gesture is predicted based on the number and type of recognized fingers. This approach is highlighted as a key novelty, replacing computationally intensive classifiers.

Datasets

  • Dataset 1: A custom dataset consisting of 1300 images across 13 distinct hand gestures (labeled 0-9, S1, S2, S3). Each gesture has 100 captured images from 7 subjects (3 female, 4 male).
  • Dataset 2: A dataset collected from 10 subjects, containing 10 gestures (numbers 0-9). This dataset is noted for its cluttered backgrounds and variations in hand orientation, scale, and articulation, posing a greater challenge.

Key Insights and Ideas

  • Finger-centric approach: The core idea is that recognizing individual fingers and their configuration is a more direct and efficient path to gesture recognition than complex global feature extraction or tracking.
  • Simplicity as a virtue: Replacing sophisticated classifiers (SVM, CRF) with a simple rule-based system is a significant contribution, directly addressing the real-time performance requirement.
  • Rotation invariance through alignment: The clever use of an "arrow" from the palm to the wrist line, aligned to the north, effectively normalizes for hand rotation without complex geometric transformations.
  • Leveraging standard cameras: The method's ability to work with a normal camera, without requiring depth sensors or data gloves, makes it more accessible and practical for widespread adoption.

Key Results

  • Dataset 1 Performance: The method achieved a high classification accuracy of 96.69% on the 1300-image dataset.
  • Real-time Efficiency: The average time cost for recognizing a hand gesture across all experiments was a mere 0.024 seconds per image, demonstrating its suitability for real-time applications.
  • Dataset 2 Comparison: On the more challenging dataset, the proposed method outperformed the state-of-the-art FEMD method, achieving an average accuracy of 96.6% compared to FEMD's 93.2%. The average recognition time was also very low at 0.0202 seconds.

Limitations and Future Work

  • Dependence on Hand Detection: The paper acknowledges that the performance is highly dependent on the accuracy of the initial hand detection. Moving objects with skin-like colors can lead to false positives and degrade performance.
  • Future Directions: The authors suggest that machine learning algorithms could be used to further improve hand detection robustness. Additionally, they propose that ToF (Time-of-Flight) cameras, which provide depth information, could enhance hand detection and, consequently, the overall gesture recognition performance.

Summary updated

Abstract

Hand gesture recognition is very significant for human-computer interaction. In this work, we present a novel real-time method for hand gesture recognition. In our framework, the hand region is extracted from the background with the background subtraction method. Then, the palm and fingers are segmented so as to detect and recognize the fingers. Finally, a rule classifier is applied to predict the labels of hand gestures. The experiments on the data set of 1300 images show that our method performs well and is highly efficient. Moreover, our method shows better performance than a state-of-art method on another data set of hand gestures.
BibTeX
@article{chen2014real,
  author = {Zhihua Chen and Jung‐Tae Kim and Jianning Liang and Jing Zhang and Yubo Yuan},
  title = {{Real-Time Hand Gesture Recognition Using Finger Segmentation}},
  journal = {The Scientific World JOURNAL},
  year = {2014},
  doi = {10.1155/2014/267872},
}
Figure