In this Color Detection and Sorting using IOT based project we are using Raspberry Pi, pi 3 camera and arduino.
When we keep red color in front of the camera, It can detect red color and displays on the monitor and moves the object one side . Just like that If you keep Blue color in front of the camera it detects and moves to another side.
The main theme behind the project is in industries if we need to separate items/objects based on the color we can use this algorithm to separate blue items in one box and red items in another box