Measures Color Area to Detect Mixing of Different Bottle Caps

Caps are distinguished by color area, so differentiation is not affected even if the caps are turned or somewhat out of position.