How to improve Vehicle Color Detection accuracy? [closed]
I am doing a vehicle color detection. i have implemented a simple method. Steps are below.
- Getting the ROI ( above the license plate on the vehicle bonnet area) (Extracted Image Window)
- Getting the HS histogram of ROI
- Histogram Back-projection ( BackProj Window)
- From the Back-projection area extracting the vehicle image (devide Window)
- Calculating distance of HS values from predefined HS values for colors. (Doing this for each and every pixcel on the vehicle area shown in devide Window)
- Voting the color and getting the color which has the maximum number of votes.
From thees steps i have only achieved an accuracy of 75%. How can i increase the accuracy? Is there any other method to do this?
I am very new to opencv :) :)
You did not normalize somewhere for the current lighting conditions, so comparing colors will always be biased ... not sure if you can get a higher accuracy if you don't do this.
please explain how to normalize as for the current lighting conditions. i am very new to this.
http://www.dpreview.com/articles/9025...