Hi - look at this post
http://www.chiefdelphi.com/forums/sh...ferrerid=46078
I have not experienced any memory leak but I have not been running too long.
Regarding the analysis using WPI - you will see that Paul has posted a wrapper to access the IPLImage underneath. Does using the IPLImage avoids the findcontour and prevents the leak ?
Also I have not found that using the RGB space (= using WPI) allows to identify a specific color - how does it work for you ? Does not the litterature says that color identification is better done using HSV space (therefore the IPLImage) ? This is confusing to me...