How to Display Multiple Images in One Window using OpenCV Python? Last Updated : 03 Jan, 2023 Summarize Comments Improve Suggest changes Share Like Article Like Report Prerequisites: Opencv In this article, we will show how to display Multiple Images In One window using OpenCV in Python. Approach Import moduleLoad the Multiple images using cv2.imread()Concatenate the images using concatenate(), with axis value provided as per orientation requirementDisplay all the images using cv2.imshow()Wait for keyboard button press using cv2.waitKey()Exit window and destroy all windows using cv2.destroyAllWindows()Functions Usedcv2.imread(): reads an image file from the given specific locationconcatenate((image1,image2), axis): concatenates multiple images along a given mentioned axis (horizontal or vertical), The value of axis is given as 1 for combining them horizontally and 0 for combining them vertically.cv2.imshow(): displays an image in a windowcv2.waitKey(): is a keyboard binding function. Its argument is the time in milliseconds. The function waits for specified milliseconds for any keyboard event.cv2.destroyAllWindows(): If you have multiple windows open and you do not need those to be open, you can use cv2.destroyAllWindows() to close those all. Program: Python3 import cv2 import numpy as np # Read First Image img1 = cv2.imread('GFG.png') # Read Second Image img2 = cv2.imread('GFG.png') # concatenate image Horizontally Hori = np.concatenate((img1, img2), axis=1) # concatenate image Vertically Verti = np.concatenate((img1, img2), axis=0) cv2.imshow('HORIZONTAL', Hori) cv2.imshow('VERTICAL', Verti) cv2.waitKey(0) cv2.destroyAllWindows() Input: GFG.png Output: Comment More infoAdvertise with us Next Article Draw Multiple Rectangles in Image using Python-Opencv B biswasarkadip Follow Improve Article Tags : Python OpenCV Python-OpenCV Practice Tags : python Similar Reads How to Display an OpenCV image in Python with Matplotlib? The OpenCV module is an open-source computer vision and machine learning software library. It is a huge open-source library for computer vision, machine learning, and image processing. OpenCV supports a wide variety of programming languages like Python, C++, Java, etc. It can process images and vide 2 min read Draw Multiple Rectangles in Image using Python-Opencv In this article, we are going to see how to draw multiple rectangles in an image using Python and OpenCV. Function used:imread(): In the OpenCV, the cv2.imread() function is used to read an image in Python. Syntax: cv2.imread(path_of_image, flag) rectangle(): In the OpenCV, the cv2.rectangle functio 2 min read Opening multiple color windows to capture using OpenCV in Python OpenCV is an open source computer vision library that works with many programming languages and provides a vast scope to understand the subject of computer vision.In this example we will use OpenCV to open the camera of the system and capture the video in two different colors. Approach: With the lib 2 min read Python | Create video using multiple images using OpenCV Creating videos from multiple images is a great way for creating time-lapse videos. In this tutorial, weâll explore how to create a video from multiple images using Python and OpenCV. Creating a video from images involves combining multiple image frames, each captured at a specific moment in time, i 5 min read Resize Multiple Images using OpenCV-Python In this article, we are going to write a python script using the OpenCV library to Resize Multiple Images and save them as an image file. Resizing the image refers to the growth of the images. Measurement works best in the use of multiple images and in machine learning applications. It helps to redu 2 min read How to display image using Plotly? A Plotly is a Python library that is used to design graphs, especially interactive graphs. It can plot various graphs and charts like histogram, barplot, boxplot, spreadplot, and many more. It is mainly used in data analysis as well as financial analysis. plotly is an interactive visualization libra 2 min read Like