Re: How to identify free parking slots of a car park using image processing in java

Posted by Rotella, Anthony M. (GRC)[] on
URL: http://imagej.273.s1.nabble.com/How-to-identify-free-parking-slots-of-a-car-park-using-image-processing-in-java-tp3699056p3699059.html

Chulaka,

        One idea I can think of right now, is that if the cement/parking
lot is black, you might be able to draw lines across the rows of parked
cars, and try to pick out the drops in the plot profile arrays to count
the number of spots that don't have cars. Of course this won't work
perfectly, since some cars are black, and you'd have to figure out how
to deal with the spaces in between the cars that are also black, but it
may be an idea. Another idea is to convert the image to 8-bit greyscale
and threshold to count the number of cars, then subtract that from the
number of the available spots. Again though, black cars would be a
problem. Interesting project! I hope this might get you started.

Tony

>-----Original Message-----
>From: ImageJ Interest Group [mailto:[hidden email]] On
>Behalf Of Chulaka Gunasekara
>Sent: Wednesday, June 20, 2007 8:23 AM
>To: [hidden email]
>Subject: How to identify free parking slots of a car park
>using image processing in java
>
>Hi all,
>
>       I'm doing a project in java which uses image
>processing, to identify free parking slots of a car park. I'm
>new to image processing and for the moment confused about the
>algorithm I should use to identify the parking slots. Can
>somebody please help me... I don't have any idea..
>
>
>--
>Chulaka Gunasekara
>Dept. of Computer Science & Engineering
>University of Moratuwa.
>Sri Lanka.
>