First time here? Check out the FAQ!

Ask Your Question
1

Parking slot detection

asked Feb 23 '16

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

Preview: (hide)

2 answers

Sort by » oldest newest most voted
1

answered Feb 23 '16

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.

Preview: (hide)
0

answered Feb 24 '16

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. http://docs.opencv.org/master/d1/dc5/...

Preview: (hide)

Question Tools

1 follower

Stats

Asked: Feb 23 '16

Seen: 2,541 times

Last updated: Feb 23 '16