opencv/modules/python/test/leak4.py
2012-11-23 22:57:22 +04:00

12 lines
166 B
Python
Executable File

#/usr/bin/env python
import cv2.cv as 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)