mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Better tests for ticket #759
This commit is contained in:
@@ -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