mirror of
https://github.com/opencv/opencv.git
synced 2024-11-30 06:10:02 +08:00
8 lines
174 B
Python
8 lines
174 B
Python
|
import cv
|
||
|
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)
|