Skip to content

engakob/OpenCV-Multi-Window-Fullscreen-Display

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCV Multi-Window Fullscreen Display

In most computer vision projects, you might like to see several windows at the same time. This code allows you to display 9 windows side-by-side. Calling the cv2.imshow(_ , _) function multiple times displays the windows on top of each other. This code offers you 2 huge benefits:

  1. Replace cv2.imshow('image',img) by Display3x3('image',img,1). That's it! No additional code is required.
  2. The original video will be automatically scaled to fit on your screen while preserving the aspect ratio.

image text

Low-res Video Sample:

image text

Requirements

Python 2 or 3
numpy
cv2
tkinter

How to start

  1. Make sure that you have the A3x3.py file in your working directory
  2. Add from A3x3 import *
  3. Type Display3x3("image",img,2), number "2" indicates the window position where you want the window to be.

Check A3x3.py for more info about window positions.

About

OpenCV tool to display up to 9 windows side by side

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages