Computer algorithms developed by engineering researchers can accurately determine when drivers are texting or engaged in other distracting activities.