Inattentiveness or visual diversion from the primary driving task leads to safety failures. Identifying these states allows for preemptive intervention and reduced accident risk.