Ask Your Question

Parking slot detection

asked 2016-02-23 05:05:24 -0600

Vamsi gravatar image

image description

Here if car comes and parks over parking slot the circle turns red and available if green

please give me topics that i have to study and steps to accomplish this. i'm new to the image processing and opencv

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-02-23 08:05:03 -0600

Have a look at the car detector. As it seems your spot are well defined (you could have static bounding box for each car spot), you have to detect if a car is present or not.

The idea is to train a Cascade Classifier with HAAR or LBP, or a HOG Detector. You could find some nice tutorial online for that, as well as book. The training code is provided by OpenCV also here.

edit flag offensive delete link more

answered 2016-02-23 19:32:44 -0600

sai kethamakka gravatar image

As the spots are well defined and assuming camera is fixed, you could use opencv background subtraction with sufficient amount of history to detect if there is an object in a particular parking spot. Look at this opencv tutorial for more information.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-02-23 05:05:24 -0600

Seen: 2,492 times

Last updated: Feb 23 '16