How to use template matching for car detection?

1 view (last 30 days)
I want to detect car from an input image. the brand of car is not an issue. I want to use template matching method for detection. I want to use binary edge detected image of car as template and any road image for input image. How can i start? Do i have to create a train data set with more then one template for detecting any car? How can i do that?

Answers (1)

sandeep
sandeep on 20 Nov 2014
Try normalized cross correlation to do template matching. Follow this link http://www.mathworks.com/help/images/examples/registering-an-image-using-normalized-cross-correlation.html

Community Treasure Hunt

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

Start Hunting!