cvhelper.py 221 Bytes
Newer Older
tihmels's avatar
tihmels committed
1 2 3 4 5 6 7
import cv2

def createwindow(name, view, x=70, y=70, width=700, height=700):
    cv2.namedWindow(name, cv2.WINDOW_NORMAL)
    cv2.resizeWindow(name, width, height)
    cv2.moveWindow(name, x, y)
    cv2.imshow(name, view)