Ask Your Question

Revision history [back]

Detect the dominance of specific colors in an image usin opencv

I want to make an android project that uses OpenCV, to detect the dominance of some colors in an image, and then placethe dominance percentage of the colors in a textview, besides the color. How can I do this, with a high accuracy, since what I currently have is a project in which I have to tap an area in the image, to detect the colors, and I want to detect the colors in the entire image. Any help will be greatly appreciated. If someone can please show me where I can find some exaples, that can help me accomplish this, I would be really thankful. Thanks.