Python – OpenCV – imread – Displaying Image
Looks like the image is too big and the window simply doesn’t fit the screen. Create window with the cv2.WINDOW_NORMAL flag, it will make it scalable. Then you can resize it to fit your screen like this: from __future__ import division import cv2 img = cv2.imread(‘1.jpg’) screen_res = 1280, 720 scale_width = screen_res[0] / img.shape[1] … Read more