Machine vision is used to identify products with defects