1793ee12c6df9cad3806238d32528c49a3ff9331dNoah Presler#!/usr/bin/env python 2793ee12c6df9cad3806238d32528c49a3ff9331dNoah Presler 3793ee12c6df9cad3806238d32528c49a3ff9331dNoah Preslerimport cv2.cv as cv 4793ee12c6df9cad3806238d32528c49a3ff9331dNoah Preslerimport numpy as np 5793ee12c6df9cad3806238d32528c49a3ff9331dNoah Preslercv.NamedWindow('Leak') 6793ee12c6df9cad3806238d32528c49a3ff9331dNoah Preslerwhile 1: 7793ee12c6df9cad3806238d32528c49a3ff9331dNoah Presler leak = np.random.random((480, 640)) * 255 8793ee12c6df9cad3806238d32528c49a3ff9331dNoah Presler cv.ShowImage('Leak', leak.astype(np.uint8)) 9793ee12c6df9cad3806238d32528c49a3ff9331dNoah Presler cv.WaitKey(10) 10