Researchers have developed a smart hat that can guide visually impaired users by detecting a red or green traffic light using an optoelectronic sensor.