how can i train SVM
I am new to this. I am trying to do machine learning on vehicle color recognition system. Can i know some useful links to learn about SVM training? I have watched some videos and red some stuff about SVM but still i can't understand how to train it.
hahaa i have been searching SVM and i have read some articles too. but still i can't understand how can i train it.
again, please clarify your context.
the data set that i have is image set which contain single car per image. i have tried simple methods like extracting a ROI from the vehicle and getting the histogram and then finding the maximum H value from that histogram. but it just give me 72% of accuracy.
That is not really a problem for a SVM. To train a SVM you need features. This means you need to extract some information about the image. In your scenario such a feature would be the color of the car. And since you need to get the color of the car you don't need a SVM anymore. What is your solution to find the car in the image?
In my honest opinion, what you need is a basic course on image processing first. You want to jump into machine learning but an SVM is not something you are familiar with. Go the the OpenCV tutorials and start working through them! At the end you will be perfectly fine at training your own SVM setup!
" finding the maximum H value from that histogram"
that's already a good idea, still there are "colours", that hsv can't handle properly, like silver,white,black.
maybe you need a "multiple" detection and voting scheme.
(and again, imho an SVM won't help, since all it can give you is "1 best item out of N")
Thanks for your advise! i have uploaded an image to the question. For this project i am getting images from a traffic database. and i am also getting the x,y coordinates of the top right corner of the license plate. From that reference i define a ROI on the vehicle as shown int the picture (On the bonnet). Then from that area i calculate histogram and then back project it on the image again to get the mask as shown in the picture. Then i calculate the histogram for that area and get the maximum bin from the histogram. Problems that i am having is,
hmm, thinking twice, i think, i misunderstood it.
if your actual aim is classifying car colors into fixed "bins" like "silver", "yellow", "brown" , etc., the idea with the svm might not have been all that bad. maybe:
sure worth a try, imho !
where can i get an example for svm training? i couldn't find any good example yet. please help!!