Raspberry pi 3 is a really nice tool for small scale image processing projects.
I prepared a project for drivers.
Sometimes we have to drive quiete a long way and this can be quiete tiring and usually result in falling asleepb
It is obviously a terrible situation for other drivers and us.
In my practice, I check that someone's eyes are open or shut If shut time is quiete long system warns with a buzzer sound.
I use OpenCV on python