diff --git a/samples/cpp/convexhull.cpp b/samples/cpp/convexhull.cpp index 298ce5f659..422ff51483 100644 --- a/samples/cpp/convexhull.cpp +++ b/samples/cpp/convexhull.cpp @@ -1,13 +1,25 @@ #include #include +#include +#include using namespace cv; +using namespace std; + +void help() +{ + cout << "\nThis sample demonstrates the use of the convexHull() function\n" + << "Call:\n" + << "./convexhull\n" << endl; +} int main( int argc, char** argv ) { Mat img(500, 500, CV_8UC3); RNG& rng = theRNG(); + help(); + for(;;) { char key;