mirror of
https://github.com/opencv/opencv.git
synced 2024-12-30 21:25:58 +08:00
57d4c86b2b
Also, removed the one from modules/python/src2/cv.py and cleared its executable bit, since it's not a script.
12 lines
167 B
Python
Executable File
12 lines
167 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)
|