Updated by Andrey Kamaev about 13 years ago
The following code leaks memory when getting the array out of cv.GetMat
I am testing on :
OSX 10.6
Python 2.6
OpenCV 2.3.1
<pre><code class="python"> <pre>
import cv
while True:
img = cv.CreateImage((800,600), 8, 1);
cv.GetMat(img).+array_struct+
</code></pre> </pre>
I am testing on :
OSX 10.6
Python 2.6
OpenCV 2.3.1
<pre><code class="python"> <pre>
import cv
while True:
img = cv.CreateImage((800,600), 8, 1);
cv.GetMat(img).+array_struct+
</code></pre> </pre>