Closed sam6134 closed 5 years ago
Hi, @sam6134
To resize window, you can adjust drawSize
here.
For example, this is half size of current setting.
const cv::Size drawSize = cv::Size(disparity.cols / 2, disparity.rows / 2);
Or, using cv::namedWindow
and cv::WINDOW_NORMAL
enables resizing window by cursor.
cv::Mat legend;
drawLegend(legend, classes, colors);
+ cv::namedWindow("Semantic Stixels Demo", cv::WINDOW_NORMAL);
+
for (int frameno = 0;; frameno++)
{
cap1 >> I1;
Regards, Gishi
Thanks a lot that works. Regards Samarth
The code is compiling fine on my system but the only problem is the window size of the output is too big thus all the four images are not visible on the whole screen. Also the window is not resizing I tried moving the cursor but it does not resize. Could you help me with this issue?