Forum Discussion
Altera_Forum
Honored Contributor
11 years agoMoving object detection using D5M/DE1-SoC
Hi, I have implemented a video streaming design using DE1-SoC interfaced to D5M camera and VGA display. It works fine for still objects or very slowly moving objects. But if I move the object a...
Altera_Forum
Honored Contributor
11 years agoThe D5M camera has an image sensor with rolling shutter. This may explain why your algorithm doesn't work for fast moving objects. At 640 x 480 you should be able to get more frames per second, by shortening the exposure time and at the same time increasing the illumination of the scene.
Also detecting black pixels comparing them to (only) 0 is a bit optimistic. When moving (fast) a pixel sees a mixture of black and white, especially when you have a relatively long exposure time. Setting a threshold of 1/10th (or so) would probably work better.