GECKO 1.0
Human-computer interface based on hand gesture recognition
|
Plot the contours on display. { //-- Allocate the display matrix if needed: if ( dst.total() == 0 ) dst = src.clone(); //-- Plot contours: if ( _hand_found ) { //-- Draw contours: cv::drawContours( dst, _hand_contour, 0, cv::Scalar( 0, 0, 255), 1, 8); //cv::fillConvexPoly( dst, contours[largestId], cv::Scalar( 255, 255, 255)); } else std::cerr << "No contours found!" << std::endl; } |