Each sensor charges an output pin high, then measures the decay time as the phototransistor discharges it through a resistor.
A shorter decay time (faster fall to low) indicates higher reflectance (white surface), while a longer time indicates lower reflectance (black line/surface).
This timed measurement (pulse width) is read by a microcontroller’s digital pin.