From: Antonio Ospite Date: Sat, 10 Oct 2020 20:10:39 +0000 (+0200) Subject: opencv_trail_effect.cpp: set window size and title X-Git-Url: https://git.ao2.it/experiments/opencv_trail_effect.git/commitdiff_plain/refs/heads/master opencv_trail_effect.cpp: set window size and title Set window size and title to make the interaction a little nicer. --- diff --git a/opencv_trail_effect.cpp b/opencv_trail_effect.cpp index c78f326..98e3aed 100644 --- 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::resizeWindow("Frame", frame_size); + cv::setWindowTitle("Frame", "OpenCV Trail Effect"); for (;;) { inputVideo >> input_frame;