GECKO 1.0
Human-computer interface based on hand gesture recognition
void HandDescriptor::plotComplexHull ( cv::Mat &  src,
cv::Mat &  dst,
bool  show_points = false,
cv::Scalar  color = cv::Scalar( 0, 255, 255),
int  thickness = 1 
)

Plot the hand complex hull:

{
    if ( dst.empty() )
        dst = src.clone();

    if ( _hand_found )
    {
        std::vector< std::vector < cv::Point > > points_to_show;
        points_to_show.push_back( _hand_hull);

        cv::drawContours( dst, points_to_show, 0, color, thickness);

        if ( show_points )
            for (int i = 0; i < points_to_show[0].size(); i++)
                cv::circle( dst, points_to_show[0].at(i), 2, color, thickness);

    }
}
 All Classes Functions Variables