1 | initial version |
no, it's not related to your os. (well, apple users always think it is so...)
cv2.namedWindow("Trial") # here's the problem
if you open a namedWindow with default args, it will use cv2.WINDOW_AUTOSIZE , meaning: the window will get adjusted to the image size
what you want instead is:
cv2.namedWindow("Trial", cv2.WINDOW_NORMAL)
this will do the opposite, resizing the image to your windowsize (you can also resize it now)
2 | No.2 Revision |
no, it's not related to your os. (well, apple users always think it is so...)
cv2.namedWindow("Trial") # here's the problem
if you open a namedWindow with default args, it will use cv2.WINDOW_AUTOSIZE , meaning: the window will get adjusted to the image size
what you want instead is:
cv2.namedWindow("Trial", cv2.WINDOW_NORMAL)
this will do the opposite, resizing the image to your windowsize (you can also resize it now)now manually(or from code))
3 | No.3 Revision |
no, it's not not related to your os. (well, apple users always think it is so...)
cv2.namedWindow("Trial") # here's the problem
if you open a namedWindow with default args, it will use cv2.WINDOW_AUTOSIZE , meaning: the window will get adjusted to the image size
what you want instead is:
cv2.namedWindow("Trial", cv2.WINDOW_NORMAL)
this will do the opposite, resizing the image to your windowsize (you can also resize it now manually(or from code))