-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Closed
Description
System Information
OpenCV python version: >=4.10.0.82
Operating System / Platform: Ubuntu 20.04 or Ubuntu 24.04
Python version: 3.9.20
Detailed description
Expected behaviour
Calling cv2.resizeWindow on a cv2.WINDOW_NORMAL namedWindow used to upscale the image to the new size if the window size was larger then the image size.
Actual behaviour
Since version 4.10.0.82 (at least this is the first pypi version where this issue occurs), the window gets resized, but the image will stay at it's original size if you resize the window to be bigger then the image. (downscaling still works as expected)
Steps to reproduce
Steps to reproduce
python3 -m pip install "opencv-python==4.10.0.84"Run the attached example:
tar xvf MREResizeWindow.tar.gz && cd MREresizeWindow
python3 mre_resize_window.pyExpected (ran on 4.9.0.80):
Actual (ran on 4.10.0.84):
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- I updated to the latest OpenCV version and the issue is still there
- There is reproducer code and related data files (videos, images, onnx, etc)
Reactions are currently unavailable

