James Hobson and his team at Chico State University have created a device to monitor drivers and their facial movements to determine if they are looking at the road. They’ve used a Pi and camera module plus OpenCV to do facial tracking. Read more about the project here.