projects
/
experiments
/
opencv_trail_effect.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6dfbf32
)
opencv_trail_effect.cpp: set window size and title
master
author
Antonio Ospite <ao2@ao2.it>
Sat, 10 Oct 2020 20:10:39 +0000
(22:10 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Sat, 10 Oct 2020 20:12:14 +0000
(22:12 +0200)
Set window size and title to make the interaction a little nicer.
opencv_trail_effect.cpp
patch
|
blob
|
history
diff --git
a/opencv_trail_effect.cpp
b/opencv_trail_effect.cpp
index
c78f326
..
98e3aed
100644
(file)
--- a/
opencv_trail_effect.cpp
+++ b/
opencv_trail_effect.cpp
@@
-197,6
+197,8
@@
int main(int argc, char *argv[])
}
cv::namedWindow("Frame", cv::WINDOW_NORMAL);
}
cv::namedWindow("Frame", cv::WINDOW_NORMAL);
+ cv::resizeWindow("Frame", frame_size);
+ cv::setWindowTitle("Frame", "OpenCV Trail Effect");
for (;;) {
inputVideo >> input_frame;
for (;;) {
inputVideo >> input_frame;