GECKO 1.0
Human-computer interface based on hand gesture recognition
void HandDescriptor::update ( const cv::Mat &  skinMask)

Update the internal characteristics stored.

Extracts all the hand characteristics and guesses the current gesture

Parameters:
skinMaskBinary image containing the skin zones of hand candidates
{
    //-- 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:

 All Classes Functions Variables