They train them to pick between black and white objects. Once they master that, they move on to other colors, if they can learn to pick on color over another, they can tell the difference between the two. If not, one or both of those colors are ones they cannot distinguish.
Latest Answers