I need to be able to zoom in and out of an image I show using cv2.imshow(). I read that this can be done by adding a flag that enables an expanded gui display.
cv2.namedWindow('image',cv2.WINDOW_GUI_EXPANDED)
However, running this does not seem to make a difference, and I don't see any buttons on the gui window I create. Is there anything I need to install and how should I run it? I'm not getting any errors.
Thank you.