arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.12148cs.CVcs.AI
收藏

应用时空注意力识别驾驶员分心和困倦的视觉Transformer

Applying Spatiotemporal Attention to Identify Distracted and Drowsy Driving with Vision Transformers

Jericho High School(杰里科高中)

Samay Lakhani

摘要:

与2020年相比,2021年的车祸数量增加了20%,这是由于注意力分散和困倦增加。昏昏欲睡和分心驾驶是45%的车祸的原因。作为减少困倦和分心驾驶的手段,使用计算机视觉的检测方法可以被设计成低成本、准确和微创的。这项工作研究了使用视觉Transformer来超越3D-CNN的最先进精度。两个独立的Transformers被训练困倦和分心。昏昏欲睡的视频Transformer模型在国立清华大学昏昏欲睡驾驶数据集(NTHU-DDD)上使用视频Swin Transformer模型在两个类上训练10个时期-昏昏欲睡和非昏昏欲睡模拟超过10.5小时。分心的视频Transformer在驾驶员监控数据集(DMD)上用视频Swin Transformer训练50个时期,超过9个分心相关类。睡意模型的准确率达到44%,并且在测试集上损失值很高,表明过拟合和模型性能较差。过拟合表明有限的训练数据和应用的模型架构缺乏可量化的参数来学习。分心模型在DMD上的表现优于最先进的模型,达到97.5%,这表明有了足够的数据和强大的架构,Transformers适合用于不合适的驾驶检测。未来的研究应该使用更新和更强大的模型,如TokenLearner,以实现更高的准确性和效率,合并现有的数据集,以扩展到检测酒后驾驶和道路愤怒,以创建一个全面的解决方案,以防止交通事故,并部署一个功能原型,以彻底改变汽车安全行业。

英文摘要:

A 20% rise in car crashes in 2021 compared to 2020 has been observed as a result of increased distraction and drowsiness. Drowsy and distracted driving are the cause of 45% of all car crashes. As a means to decrease drowsy and distracted driving, detection methods using computer vision can be designed to be low-cost, accurate, and minimally invasive. This work investigated the use of the vision transformer to outperform state-of-the-art accuracy from 3D-CNNs. Two separate transformers were trained for drowsiness and distractedness. The drowsy video transformer model was trained on the National Tsing-Hua University Drowsy Driving Dataset (NTHU-DDD) with a Video Swin Transformer model for 10 epochs on two classes -- drowsy and non-drowsy simulated over 10.5 hours. The distracted video transformer was trained on the Driver Monitoring Dataset (DMD) with Video Swin Transformer for 50 epochs over 9 distraction-related classes. The accuracy of the drowsiness model reached 44% and a high loss value on the test set, indicating overfitting and poor model performance. Overfitting indicates limited training data and applied model architecture lacked quantifiable parameters to learn. The distracted model outperformed state-of-the-art models on DMD reaching 97.5%, indicating that with sufficient data and a strong architecture, transformers are suitable for unfit driving detection. Future research should use newer and stronger models such as TokenLearner to achieve higher accuracy and efficiency, merge existing datasets to expand to detecting drunk driving and road rage to create a comprehensive solution to prevent traffic crashes, and deploying a functioning prototype to revolutionize the automotive safety industry.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑