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. |
Hi,
On Wed, 20 Jun 2007, Chulaka Gunasekara wrote: > 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.. That is a cool project! For starters, it would be good to provide example images, so that people who have experience with image processing can assess what kind of algorithm will give the best results... Ciao, Dscho |
In reply to this post by Chulaka Gunasekara
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. > |
In reply to this post by Chulaka Gunasekara
Hi Chulaka,
Could you get a picture of the car park when it is empty, and do a background comparison against that? You could try ImageJ's particle analyzer on the subtracted image, setting the minimum size above a certain threshold, with identified particles corresponding to cars or other large objects. -Curtis On 6/20/07, Chulaka Gunasekara <[hidden email]> wrote: > 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. > |
Chulaka
Are there any marks or numbers in the parking spots that may be covered by a parked car ? An idea like Curtis's except you look for that instead of the car. No visible mark, then the spot is filled. Adam Curtis Rueden <[hidden email]> wrote: Hi Chulaka, Could you get a picture of the car park when it is empty, and do a background comparison against that? You could try ImageJ's particle analyzer on the subtracted image, setting the minimum size above a certain threshold, with identified particles corresponding to cars or other large objects. -Curtis On 6/20/07, Chulaka Gunasekara wrote: > 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. > |
Free forum by Nabble | Edit this page |