separated opencv 1.x and opencv 2.x wrappers. moved tests/python/* to modules/python/test
This commit is contained in:
7
modules/python/test/leak1.py
Normal file
7
modules/python/test/leak1.py
Normal file
@@ -0,0 +1,7 @@
|
||||
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)
|
Reference in New Issue
Block a user