Ask Your Question

Revision history [back]

How can I detect the color of a certain portion of an image if I know the coordinates of this portion as a rectangle?

I'm working on contour and color detection, I managed to detect the contours and determine the shapes (rect, tri ...) but I want to identify the color of the rectangle for example how can I do so?

Thanks in advance.