opencv/tests/python/leak4.py

10 lines
134 B
Python
Raw Normal View History

2011-01-25 09:05:12 +08:00
import cv
import math
import time
N=50000
print "leak4"
while True:
seq=list((i*1., i*1.) for i in range(N))
cv.Moments(seq)