Python OpenCV – moveWindow() Function
When we show the image using the imshow() function output window will open at the center or default position of a computer screen. Even if there are multiple image windows all windows will be displayed at the same position and we have to move windows manually. If we want to show image windows at a specific position moveWindow() function of OpenCV will do it.
- window_name: name of the window which you want to move at particular position
- x: Value of x coordinate
- y: Value of y coordinate
Example 1: Image with a specific position
In this example, we will display only one window at a particular position.
Example 2: Multiple images in different positions
In this example, we will display Multiple windows at a particular position.