Drowsy driving is a major cause of road accidents worldwide, necessitating the development of effective drowsiness detection systems. Each year, there are more accidents and fatalities than ever before for a variety of causes. For instance, there were 22,952 fatalities and 79,545 injuries as a result of nearly 66,500 vehicle accidents in the last 10 years. In this paper, we propose a novel approach for detecting drowsiness based on behavioral cues captured by a digital camera and utilizing the multi-task cascaded convolutional neural network (MTCNN) deep learning algorithm. A high-resolution camera records visual indications like closed or open eye movement to base the technique on the driver's behavior. In order to measure a car user's weariness in the present frame of reference, eyes landmarks are evaluated, which results in the identification of a fresh constraint known as "eyes aspect ratio." A picture with a frame rate of 60 frames per second (f/s) and a resolution of 4,320 eyeballs was used. The accuracy of sleepiness detection was more than 99.9% in excellent lighting and higher than 99.8% in poor lighting, according to testing data. The current study did better in terms of sleepiness detection accuracy than a lot of earlier investigations.