Ask Your Question

Revision history [back]

Get the color of an object

Hello,

I am trying to extract the dominant color of an object for color analysis but It seems like I don't get the true color using Core.mean() [RGB] in OpenCV3. Do we have a way to get the dominant color or the actual color of an object?

Here's my sample image.

image description

and Here's the result after Core.Mean();

image description

Hope someone will guid me. TIA