基于改进残差网络的驾驶员异常情绪识别方法
2025-08-06潘东杰秦晓崔玉霞王宪伦
摘 要:为了保障交通安全,避免负面情绪影响驾驶员状态导致交通惨剧的发生,提出了一种结合注意力算法的改进残差网络来监测车辆驾驶场景中驾驶员的异常情绪。首先,使用自适应直方图等一系列手段对图像进行预处理,突出表情特征;然后,采用ECA块自优化通道的权重值,实现局部跨信道交互,提高精度,增强信道特性;最后,将注意力机制与特征提取算法融合实现表情识别。结果表明,与改进前的网络相比,该表情识别方法参数更少,速度更快,分类效果更好,在CK+、FER2013和RAF DB数据集上的准确率分别为96.38%、72.25%和87.97%。该算法能够更有效地识别驾驶员的异常情绪,对预防交通事故与保障行车安全具有积极意义。
关键词:深度学习;计算机视觉;表情识别;行为检测
中图分类号:TP242文献标识码:A
Driver Abnormal Emotion Recognition Based on Improved RepVGG
PAN Dongjie1, QIN Xiao1, CUI Yuxia1, WANG Xianlun1,2
(1.College of Electromechanical Engineering, Qingdao University of Science
and Technology, Qingdao, Shandong 266061, China;
2.Qingdao Anjie Medical Technology Co., Ltd., Qingdao, Shandong 266100, China)
Abstract:To ensure traffic safety and avoid negative emotions affecting the driver’s state leading to traffic accidents, this paper proposes an improved residual network combined with attention algorithms to monitor the abnormal emotions of drivers in vehicle driving scenarios. Firstly, a series of techniques such as adaptive histograms are used to preprocess the image and highlight facial features; then, using ECA blocks to self optimize the weight values of channels, achieving local cross channel interaction, improving accuracy, and enhancing channel characteristics; finally, the attention mechanism is integrated with the feature extraction algorithm to achieve expression recognition. The results show that compared with the pre improved network, this expression recognition method has fewer parameters, faster speed, and better classification performance. The accuracy on the CK+, FER2013, and RAF DB datasets is 96.38%, 72.25%, and 87.97%, respectively. This algorithm can more effectively identify abnormal emotions of drivers, which has a positive significance for preventing traffic accidents and ensuring driving safety.
Key words:deep learning;computer version;facial emotion recognition;behavior monitoring
作为人类感知系统的重要组成部分,情绪对交通安全的影响越来越受到人们的关注,研究表明愤怒和沮丧等负面情绪会影响交通安全并增加事故风险[1-2]。Winter和Dodou的一项研究发现,愤怒情绪下的司机更有可能做出攻击性的驾驶行为,如尾随和超速,这会增加交通事故的风险[3]。Dula和Geller的一项研究发现,驾驶员的压力和攻击性驾驶行为之间存在相关性,这会增加交通事故的可能性[4]。Lajunen和Summala的一项研究表明,司机在愤怒和沮丧状态下的车祸率要高得多[5]。
使用车载摄像头和智能系统来检测和解决驾驶员疲劳和其他危险行为是提高驾驶安全的一种有效方法。Kanade等开发了一种智能驾驶员监控系统,该系统使用人脸识别和眼动追踪技术来检测驾驶员的注意力是否集中[6]。……
