Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 2088

The window that opend by flag cv::WINDOW_AUTOSIZE is resized

$
0
0
I got some trouble in window matter. I opened some window to show image init, and i tried resize. I know that window opened by flag `cv::WINDOW_AUTOSIZE` is can't be resize, but in my PC, it resized. I wonder that the size of image is not change and only size of window is resize when i resize the window. Here is some of my code. cv2.namedWindow('origin', cv2.WINDOW_AUTOSIZE) cv2.imshow('origin', img) cv2.moveWindow('origin', 200,200) cv2.waitKey(0) cv2.resizeWindow('origin', 200, 200) I'll upload before and after the resize window This is before the resize. ![image description](/upfiles/15846237545912639.png) and this is after the resize ![image description](/upfiles/1584623798795679.png)

Viewing all articles
Browse latest Browse all 2088

Trending Articles