why video processing slows down over time?
1 view (last 30 days)
Show older comments
Kurian Thomas
on 8 Jan 2014
Commented: Kurian Thomas
on 8 Jan 2014
I wrote a program to detect an object from a live video. For this background subtraction is used. Program runs in realtime for some time from start. Over time it is slowing down. The processing used is just some image arithmetic and morphological operations which run in 0.05 seconds, and this is done in video timer function. Timer period is 0.1 seconds. How can i solve the 'slowing down problem.
0 Comments
Accepted Answer
Image Analyst
on 8 Jan 2014
Are you storing the images in an axes, like you're using image() or imshow()? Try inserting a "cla('reset')" just before and see if that speeds it up. Otherwise you may be loading all of the images in there instead of replacing them.
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!