|
GECKO 1.0
Human-computer interface based on hand gesture recognition
|
Update the internal characteristics stored. Extracts all the hand characteristics and guesses the current gesture
{
//-- Do things to update each parameter
contourExtraction( skinMask );
//-- Check if some hand was found:
if ( _hand_found )
{
//-- Find bounding boxes
boundingBoxExtraction();
//-- Find hand palm
handPalmExtraction();
//-- Second roi and contourExtraction
ROIExtraction( skinMask );
cv::Mat remaskedHand;
cv::bitwise_and( skinMask, _hand_ROI, remaskedHand );
contourExtraction( remaskedHand );
//-- Find the min enclosing circle of the latest contour:
cv::minEnclosingCircle( _hand_contour[0], _min_enclosing_circle_center, _min_enclosing_circle_radius );
//-- Find convexity defects
defectsExtraction();
}
if (_hand_found)
{
fingerExtraction();
angleExtraction();
centerExtraction();
gestureExtraction();
}
}
Here is the call graph for this function:
![]() |
1.7.4