Drowsiness of drivers is a severe problem for safe driving in Bangladesh. Drowsiness and fatigue are the major contributing causes of accidents on the road. In this paper, we proposed a design of a system to detect drowsiness of drivers up to an extend angle position of the head of the driver while driving, and notify them. The awakeness of the driver is also detected during driving mode. The range of the multiple angles of head position using FaceMesh machine learning solution have been shown for determining the detection drowsiness. Moreover, different positions of the face are calculated to detect the drowsiness of the driver with 97.5% accuracy in straight face position, as well as the response time of the system is calculated that is around 3 s. We have found out that our proposed system is less complex in design, low cost and performs better than related contemporary works.