Memory leak in [camera start] / [camera stop] methods iOS7
Repeatedly calling [camera start] and [camera stop] leads to a much greater than linear memory increase over time, and what looks to be a linear increase in CPU usage. By the 5th time you restart the camera, the application becomes almost unusable. This issue is independent of whether you release and reallocate the CvVideoCamera *camera each time you restart it, and also independent of whether you supply a parent view in the initializer. This has been tested in iOS 7 on an iphone 5s with opencv version 2.4.8.
I wanted to post this here before I file a bug report to see if anyone has any ideas about what might be going on.
Hi, I have the same issue, as you say more or lest the 5th time is when it changes and is start being unusable due to the CPU usage which starts being 99% and the memory usage. There is another thread talking about the same thing in: http://answers.opencv.org/question/22880/cvvideocamera-on-ios7/ but I am not sure if there is a solution already