CNet describes the so-called "Safe Cap" as such:
— Read the restFord Brazil's heavy-truck division created the Safe Cap, which looks like any other hat. However, it's loaded with sensors and hardware to combat drowsy driving. After identifying behavior that signaled drowsiness, Ford programmed its hat to pick up on those cues using an accelerometer and gyroscope.