2013-04-11 16:34:04 +02:00
|
|
|
#!/usr/bin/env python
|
2012-11-23 19:57:22 +01:00
|
|
|
|
2011-07-12 14:56:03 +02:00
|
|
|
import cv2.cv as cv
|
2011-05-03 18:00:31 +02:00
|
|
|
import numpy as np
|
|
|
|
cv.NamedWindow('Leak')
|
|
|
|
while 1:
|
|
|
|
leak = np.random.random((480, 640)) * 255
|
|
|
|
cv.ShowImage('Leak', leak.astype(np.uint8))
|
|
|
|
cv.WaitKey(10)
|