Detects the colours on a rubik cube allowing the cube to be digitized