1 | initial version |
For your application, you do not really need to simultaneously resize both the image and window.
Once you have read the images, you can resize them using cv2.resize()
explained here.
Then you have to combine these images together to form one large image then the window dimensions etc will be taken care of. If you feel like the final image is too big, you can either resize the individual frames or the final huge image.
How do I display multiple images in one window? My previous answer will be helpful.
2 | No.2 Revision |
For your application, you do not really need to simultaneously resize both the image and window.
Once you have read the images, you can resize them using cv2.resize()
explained here.
Then you have to combine these images together to form one large image then the window dimensions etc will be taken care of. If you feel like the final image is too big, you can either resize the individual frames or the final huge image.
Another way is to read all individual frames together without scaling, combine them then perform the scaling on the final huge frame. (personal favourite)
How do I display multiple images in one window? My previous answer will be helpful.