1 #!/usr/bin/env python 2 3 import cv2.cv as cv 4 import numpy as np 5 import time 6 7 while True: 8 for i in range(4000): 9 a = cv.CreateImage((1024,1024), cv.IPL_DEPTH_8U, 1) 10 b = cv.CreateMat(1024, 1024, cv.CV_8UC1) 11 c = cv.CreateMatND([1024,1024], cv.CV_8UC1) 12 print "pause..." 13