Most automated robotic projects start with a line-following robot, the Grove - Line finder v1.1 is designed to help you achieve this task quickly and easily.
The eye-like sensors on the board are actually IR emitting LEDs and sensitive phototransistors. When the phototransistor detects the reflected infrared light from the IR emitting LED, it will output a digital signal, which changes from HIGH to LOW.