openCV Memory leak

At this post, as you can see the pictures below, i have successfully extracted colored objects from camera captured image. What is more, both circle and rectangle (squares) detections are available now. as well, the angle of rectangles could be calculated by four corners’ position.

So, until now, colors*shape*angle=>infinite, the future looks bright to code some application of interactive objects recognition. But these founded a problem that is memory leaking in C++. I am newbie of C++ and i used Actionscript to make codes which were automatically recyling all the memory trash. But now, the trash memory have to be delete manually, terrible nightmare to me.

or

or2

or3

Author: Andol Li

A HCI researcher, a digital media lecturer, an information product designer, and a python/php/java coder.

Leave a comment
Due to technical adjustments, the comment function is shortly closed and will be re-openning soon. Thanks.


Copyrights 2006-2017 © All rights reserved
Theme Tree2, re-designed by Andol Li, powered by WordPress and Bootsrap
WWW.ANDOL.ME | 浙ICP备15040508号-1
公安备案图标 浙公网安备33010602004018号
Back to top