projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a15ff8
)
doc output
author
Gary Bradski
<no@email>
Fri, 3 Dec 2010 19:55:30 +0000
(19:55 +0000)
committer
Gary Bradski
<no@email>
Fri, 3 Dec 2010 19:55:30 +0000
(19:55 +0000)
samples/cpp/drawing.cpp
patch
|
blob
|
history
diff --git
a/samples/cpp/drawing.cpp
b/samples/cpp/drawing.cpp
index
28f4828
..
446030e
100644
(file)
--- a/
samples/cpp/drawing.cpp
+++ b/
samples/cpp/drawing.cpp
@@
-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;