Background subtraction resource leak

asked 2014-08-28 08:42:45 -0600

hipx gravatar image

Hello, I'm using the new 3.0 Version and the background subtraction-functions with a camera. During the time my computer is running out of memory. The same happens with the source I've found in the example file (C:\opencv3.0.0\samples\cpp\bgfg_segm.cpp). The problem seems to be the apply() method.

Maybe someone can help me so solve the problem (bug?).

Thanks in advance.

edit retag flag offensive close merge delete

Comments

can you narrow it down a bit ?, e.g does it happen with knn or mog2 (or both?), update_bg_model ?

berak gravatar imageberak ( 2014-08-28 08:46:29 -0600 )edit

can't side your findings, btw. quite stable at ~50mb

berak gravatar imageberak ( 2014-08-28 10:19:06 -0600 )edit

It happens on knn and mog2 on win7 64 bit with visual studion 2010. I've try exact the software in the file i've mentioned obove.

hipx gravatar imagehipx ( 2014-08-29 01:31:35 -0600 )edit