How camera recognize colours?


#1

I have a dobot magician lite, and I would like to make different movements with any different colour box, but I don’t know how to use the different classes of colours that I trainned the dobot in the program, I can use the picture from the box, but I’m not able to compare if it is like (colour 1, colour 2 or colour 3), someone already did it? I would like some help to make it!!