A Lightweight Two-Stream Model for Driver Emotion Recognition

In recent years, more and more attention has been paid to the traffic safety of drivers. Studies show that the motor vehicle speed will affect the incidence of traffic accidents and traffic accident casualty rate. In this paper, machine learning vision technology is used for real-time recognition of driver emotions, and a lightweight SIC-NET+RC-NET dual-stream recognition model is designed to cope with different scenarios of vehicle speed during driving. SIC-NET is a lightweight CNN network model, which greatly reduces the number of model parameters and computational power requirements, sacrifices part of accuracy, and greatly improves the real-time performance of model recognition. To improve the residual convolutional network model of inception blocks, RC-NET nested multiple micro-convolutional neural networks are used to identity mapping between different inception blocks to enhance the network training effect, expand network width and convolutional depth, and alleviate network degradation. This article stipulates that when the vehicle speed is greater than 60km/h, SIC-NET is used. When the vehicle speed is less than or equal to 60km/h, SIC-NET+RC-NRT is used. The FER2013 dataset was used for testing and validation in this paper. When SIC-NET is used, the model has better real-time performance and can provide a more timely warning when the vehicle speed is higher. When SIC-NET+RC-NET is used, the accuracy of the model in the FER2013 dataset is 69.65%, and the model can better cope with the scenario of a low vehicle speed. The experiment shows that the lightweight dual-flow model has good robustness and identification effect, which solves the problem of using the same model for different vehicle speeds and can effectively ensure the safety of the driver’s life and property.