8
$\begingroup$

I have been trying to implement an algorithm for successfully counting cars in an image. I have tried implementing A Method for Vehicle Count in the Presence of Multiple-Vehicle Occlusions in Traffic Images

It estimates the background from a set of various images. I have looked into various other techniques for this purpose and all of these in one way or the other use either background estimation from a set of images or require a video. I have as an input, traffic images where the background (probably road in most of the papers) is hardly visible. Moreover, the images are from different areas so they don't have common backgrounds as well. How should I proceed in that case ?

I am thinking that if somehow I can match the structure of vehicles (car) then probably they can be matched. But I don't know if this is feasible and if it is how to proceed since the image contains multiple occluded vehicles as well.

Any hints or even research papers are also welcome.

A sample image is as follows: Traffic Sample Image

Traffic Sample Image 2

$\endgroup$
  • 2
    $\begingroup$ Can you post one or two representative example images? $\endgroup$ – bjoernz Apr 18 '13 at 12:15
  • $\begingroup$ I would look into template matching if I were you $\endgroup$ – Olivier_s_j Apr 18 '13 at 13:04
  • $\begingroup$ @bjoernz I have added the sample image. $\endgroup$ – krammer Apr 19 '13 at 4:46
  • 1
    $\begingroup$ This is tough. Do you always see the cars from the front? Maybe something can be done with the windshield/roof combination... How accurate does the counting need to be? How many images need to be processed? Maybe manual labeling is an option mturk.com/mturk :) $\endgroup$ – bjoernz Apr 19 '13 at 5:12
  • $\begingroup$ @bjoernz I can't depend upon an mturk ;-). I think I don't want it to be very accurate. Initially only a few counts would do. I think SIFT/SURF could help. I can train the classifier from multiple car data sets(most of them have 1 car/image). But I do not know if it would be able to detect multiple cars in an image (may be way less complex than this but still having more than one partially occluded vehicles ) $\endgroup$ – krammer Apr 19 '13 at 5:24
2
$\begingroup$

As mentioned the object counting problem is very challenging. A good account of some common approaches is given in http://www.robots.ox.ac.uk/~vilem/NIPS2010.pdf.

Creating a SIFT feature database on training images would appear to be the natural path to go down. That in combination with some image segmentation may be the way to go.

Another path might be to look at HOG http://chrisjmccormick.wordpress.com/2013/05/09/hog-person-detector-tutorial/, which is similarly a feature detection algorithm, could be adapted for cars.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.