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