doc output
authorGary Bradski <no@email>
Fri, 3 Dec 2010 19:55:30 +0000 (19:55 +0000)
committerGary Bradski <no@email>
Fri, 3 Dec 2010 19:55:30 +0000 (19:55 +0000)
samples/cpp/drawing.cpp

index 28f4828..446030e 100644 (file)
@@ -1,8 +1,15 @@
 #include <opencv2/core/core.hpp>
 #include <opencv2/highgui/highgui.hpp>
-
+#include <iostream>
 using namespace cv;
 
+void help()
+{
+       std::cout
+       << "\nThis program demonstrates OpenCV drawing and text output functions\n"
+       "Call:\n"
+       "./drawing\n" << std::endl;
+}
 static Scalar randomColor(RNG& rng)
 {
     int icolor = (unsigned)rng;