Text this: Development of a driver detection system for somnolence and alertness based on image processing techniques