From: Angelos on
I would like to ask you if you know a way to find all cars (dark-colored and light-colored) in a video. I have seen the code from this site: http://www.mathworks.com/products/image/demos.html?file=/products/demos/shipping/images/ipextraffic.html
but here it removes the dark-colored ones. Can anyone help?

Thanks in advance.
From: ImageAnalyst on
On Apr 14, 10:38 am, "Angelos " <angelpa...(a)gmail.com> wrote:
> I would like to ask you if you know a way to find all cars (dark-colored and light-colored) in a video. I have seen the code from this site:http://www.mathworks.com/products/image/demos.html?file=/products/dem...
> but here it removes the dark-colored ones. Can anyone help?
>
> Thanks in advance.
--------------------------------------------------------------------------
What happens if you change this
darkCarValue = 50;
to this:
darkCarValue = 200; % Or some similar value for bright cars.
then combine light and dark car detection in a single algorithm?