Failures causes: Automatic white balance (AWB) of the Camera module for Raspberry Pi.
Effect: the target color deviated from reality, sometimes can not detected.
Solve: using the Python language because the color coding can control the camera. Reduces error detection.