Detect one Color
With this template you can detect the color of one object by counting pixels. Therefore a camera with a color image chip is necessary. The object can be tracked independent of its position and the region of interest can be created on the relevant part of the object. After transforming the image in a binary black and white image the color can be checked by counting pixels. The digital output switches if the number of white pixels is within the tolerances.