2 ms·
You do not even need to count the pixels. OpenCV will identify the objects, then their dominant colour can be determined.
by dotancohen 8y ago
You do not even need to count the pixels. OpenCV will identify the objects, then their dominant colour can be determined.