[NumPy-Tickets] [NumPy] #2036: Leak when mixing OpenCV GetMat and NumPy asarray

NumPy Trac numpy-tickets@scipy....
Thu Feb 2 13:00:38 CST 2012


#2036: Leak when mixing OpenCV GetMat and NumPy asarray
--------------------+-------------------------------------------------------
 Reporter:  r2d3    |       Owner:  somebody   
     Type:  defect  |      Status:  new        
 Priority:  normal  |   Milestone:  Unscheduled
Component:  Other   |     Version:  1.6.1      
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by r2d3):

 Oups, here with correct formating
 {{{
 import cv
 import numpy as N

 while True:
     img = cv.CreateImage((800,600), 8, 1);
     numpy_Img = N.asarray(cv.GetMat(img))
 }}}

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/2036#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list