I am trying to do a vehicle color recognition program. I have managed to extract the color from vehicle. I can get the color histogram too.
Now i am stuck in matching the extracted color with a predefined color.
1) How can i predefined colors (red,blur,green,black,white and etc)? 2) How can i compare the extracted color with the predefined color?