How can i detect car using tail light color and shape of the car?

2 次查看(过去 30 天)
I m working on car detection from a given image. I m thinking about using tail light color and shape of the rear side of car as my feature. I used color segmentation and edge detection. now i m stuck with classification. I can't use SVM as my supervisor won't allow SVM. What can i do? I attached my color segmentation and edge detection code. Also an image of car.

采纳的回答

Dima Lisin
Dima Lisin 2014-10-31
Out of curiosity, is there any reason your supervisor does not let you use SVM?
You can try using the trainCascadeObjectDetector function in the Computer Vision System Toolbox to train a boosted cascade detector. It is not an SVM, and it does not use color information at all. Since you only need to detect the rear side of cars, it may be feasible.
  3 个评论
Image Analyst
Image Analyst 2014-11-1
I don't know of anyway to figure out what release a feature was first introduced other than manually going through the release notes looking for it. See http://www.mathworks.com/help/relnotes/index.html
Dima Lisin
Dima Lisin 2014-11-5
Yes, trainCascadeObjectDetector is available in 2013a. There is also a GUI tool for labeling ground truth on the File Exchange. If you get a more recent version, then you can use the Training Image Labeler app.

请先登录,再进行评论。

更多回答(2 个)

Image Analyst
Image Analyst 2014-10-30
That's a very challenging problem. You should look up CBIR since the tools used in that will help you. Warning though - it's not trivial. You'll use things like SURF and SIFT and HOG and lots of other things.
As far as color goes, that will probably be a fruitless attempt. There are so many ways the color in your digital image could change and the change from one lighting condition to the next will most likely be way more than the color change between two different cars under the same lighting. In other words, if your mean RGB of a tail light is [160, 60, 70], there's no way to know what model of car it is from just that color. It could be a Toyota in daylight, or a BMW at dusk, or a Ford in the morning.
  1 个评论
Nahid Islam
Nahid Islam 2014-10-30
I am just willing to find car only.. Don't care which brand it is...I m taking light because no matter which is the brand all tail light will be red color. and i m using HSV color model.

请先登录,再进行评论。


Muhammad Talib
Muhammad Talib 2016-2-27
further i am also working on car make and model recognition system. for that i used these feature as well out of others ....

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by