1#!/usr/bin/env python
2
3import cv2.cv as cv
4import numpy as np
5cv.NamedWindow('Leak')
6while 1:
7    leak = np.random.random((480, 640)) * 255
8    cv.ShowImage('Leak', leak.astype(np.uint8))
9    cv.WaitKey(10)
10