I am a robot builder from India and i need some expert ideas for one of my projects. it is a robot competition and it requires colored objects to be detected by an overhead camera and put them in their corresponding slots.
The arena will have 6 cubic blocks each having different colors. there will be slots of corresponding colors and the robot being started from one corner of the arena, must use the image from a stationary overhead camera and push them into the slots. the one who is putting all the blocks into the slots will be the winner. iam not able to find an effective algorithm that addresses this problem. please guide me!