基于轻量级主干的YOLOv5驾驶员疲劳检测算法
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TP391

基金项目:

国家自然科学基金(61976030);高端外国专家项目(GDW20165200063);重庆理工大学研究生教育高质量发展行动计划资助成果(gzlcx20233077)


Driver fatigue detection algorithm based on lightweight YOLOv5
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对目前基于深度学习的驾驶员疲劳检测算法存在着参数量和计算成本较大,难以在算力较低的设备上得到有效应用这一问题,提出了一种基于轻量级主干的YOLOv5驾驶员疲劳检测算法,通过检测闭眼、张嘴、低头这三种标签的时间占比来进行疲劳判断。算法使用EfficientViT网络作为模型的主干网络,降低了整个模型的参数量以及计算成本,在模型的颈部网络部分加入上下文变换器模块并将归一化沃瑟斯坦距离作为新的损失函数以此来提高模型的准确度,减小轻量级主干所带来的损失。实验结果表明,改进后的算法准确率达到了97.9%,与YOLOv5、YOLOv7、YOLOv8相比,其参数量分别降低了3.4、17.7和5.4倍,计算量分别降低了4.5、29.5和8.2倍,在CPU上的单幅图片推理速度加快至76.4ms,能够有效地完成实时检测任务。

    Abstract:

    Aiming at the problem that the current driver fatigue detection algorithm based on deep learning requires a large number of parameters and calculation costs, and it is difficult to be effectively applied on low-computing devices, a YOLOv5 driver algorithm based on a lightweight backbone is proposed. Fatigue is judged by detecting the proportion of time that the three labels of closing eyes, opening mouth, and lowering head occupy. The EfficientViT network was utilized as the backbone network of the model, resulting in a reduction in both the model's parameter count and computational costs. Within the bottleneck network section of the model, a contextual transformer module was integrated, and the Normalized Wasserstein Distance was adopted as the new loss function. This was done to enhance the model's accuracy and alleviate any potential losses caused by the lightweight backbone. The experimental results show that the improved algorithm has an accuracy rate of 97.9%. Compared with YOLOv5, YOLOv7, and YOLOv8, its parameters are reduced by 3.4, 17.7, and 5.4 times, and the amount of calculation is reduced by 4.5, 29.5, and 8.2 times. The inference speed of a single image on the CPU is accelerated to 76.4ms, and it can effectively complete the real-time detection task.

    参考文献
    相似文献
    引证文献
引用本文

蒋启超,余成波,宣以国,等. 基于轻量级主干的YOLOv5驾驶员疲劳检测算法[J]. 科学技术与工程, 2024, 24(16): 6766-6774.
JIANG Qi-chao, YU Cheng-bo, XUAN Yi-guo, et al. Driver fatigue detection algorithm based on lightweight YOLOv5[J]. Science Technology and Engineering,2024,24(16):6766-6774.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2023-07-12
  • 最后修改日期:2024-03-22
  • 录用日期:2023-10-24
  • 在线发布日期: 2024-06-13
  • 出版日期:
×
喜报!《科学技术与工程》入选国际著名数据库《工程索引》(EI Compendex)!
《科学技术与工程》“智能机器人关键技术”专栏征稿启事暨“2025智能机器人关键技术大会”会议通知