Classroom Behavior Detection Based on Improved YOLOv5 Algorithm Combining Multi-Scale Feature Fusion and Attention Mechanism

被引:16
|
作者
Tang, Longyu [1 ]
Xie, Tao [2 ]
Yang, Yunong [1 ]
Wang, Hong [1 ]
机构
[1] Chongqing Normal Univ, Coll Comp & Informat Sci, Chongqing 401331, Peoples R China
[2] Southwest Univ, Fac Educ, Chongqing 400715, Peoples R China
来源
APPLIED SCIENCES-BASEL | 2022年 / 12卷 / 13期
关键词
classroom behavior detection; attention mechanism; pyramid network; non-maximal suppression; RECOGNITION;
D O I
10.3390/app12136790
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
The detection of students' behaviors in classroom can provide a guideline for assessing the effectiveness of classroom teaching. This study proposes a classroom behavior detection algorithm using an improved object detection model (i.e., YOLOv5). First, the feature pyramid structure (FPN+PAN) in the neck network of the original YOLOv5 model is combined with a weighted bidirectional feature pyramid network (BiFPN). They are subsequently processed with feature fusion of different scales of the object to mine the fine-grained features of different behaviors. Second, a spatial and channel convolutional attention mechanism (CBAM) is added between the neck network and the prediction network to make the model focus on the object information to improve the detection accuracy. Finally, the original non-maximum suppression is improved using the distance-based intersection ratio (DIoU) to improve the discrimination of occluded objects. A series of experiments were conducted on our new established dataset which includes four types of behaviors: listening, looking down, lying down, and standing. The results demonstrated that the algorithm proposed in this study can accurately detect various student behaviors, and the accuracy was higher than that of the YOLOv5 model. By comparing the effects of student behavior detection in different scenarios, the improved algorithm had an average accuracy of 89.8% and a recall of 90.4%, both of which were better than the compared detection algorithms.
引用
下载
收藏
页数:18
相关论文
共 50 条
  • [21] A Decoupled YOLOv5 with Deformable Convolution and Multi-scale Attention
    Yuan, Gui
    Liu, Gang
    Chen, Jian
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2022, 13368 LNAI : 3 - 14
  • [22] Experimental Design of Steel Surface Defect Detection Based on MSFE-YOLO-An Improved YOLOV5 Algorithm with Multi-Scale Feature Extraction
    Li, Lin
    Zhang, Ruopeng
    Xie, Tunjun
    He, Yushan
    Zhou, Hao
    Zhang, Yongzhong
    ELECTRONICS, 2024, 13 (18)
  • [23] A Decoupled YOLOv5 with Deformable Convolution and Multi-scale Attention
    Yuan, Gui
    Liu, Gang
    Chen, Jian
    KNOWLEDGE SCIENCE, ENGINEERING AND MANAGEMENT, PT I, 2022, 13368 : 3 - 14
  • [24] Intelligent Classroom Face Detection Algorithm with Improved YOLOv5
    Zhong, Yuan
    Yuan, Jiazheng
    Li, Hongtian
    Liu, Hongzhe
    Xu, Cheng
    Computer Engineering and Applications, 2024, 60 (11) : 251 - 257
  • [25] Multi-scale ship target detection using SAR images based on improved Yolov5
    Yasir, Muhammad
    Shanwei, Liu
    Mingming, Xu
    Hui, Sheng
    Hossain, Md Sakaouth
    Colak, Arife Tugsan Isiacik
    Wang, Dawei
    Jianhua, Wan
    Dang, Kinh Bac
    FRONTIERS IN MARINE SCIENCE, 2023, 9
  • [26] Research on Multi-Scale Pest Detection and Identification Method in Granary Based on Improved YOLOv5
    Chu, Jinyu
    Li, Yane
    Feng, Hailin
    Weng, Xiang
    Ruan, Yaoping
    AGRICULTURE-BASEL, 2023, 13 (02):
  • [27] Enhanced Multi-scale Target Detection Method Based on YOLOv5
    Hui K.
    Yang W.
    Liu H.
    Zhang Z.
    Zheng J.
    Bai X.
    Binggong Xuebao/Acta Armamentarii, 2023, 44 (09): : 2600 - 2610
  • [28] CRGF-YOLO: An Optimized Multi-Scale Feature Fusion Model Based on YOLOv5 for Detection of Steel Surface Defects
    Yu, Tao
    Luo, Xu
    Li, Qiang
    Li, Lei
    INTERNATIONAL JOURNAL OF COMPUTATIONAL INTELLIGENCE SYSTEMS, 2024, 17 (01)
  • [29] Adaptive feature fusion with attention mechanism for multi-scale target detection
    Moran Ju
    Jiangning Luo
    Zhongbo Wang
    Haibo Luo
    Neural Computing and Applications, 2021, 33 : 2769 - 2781
  • [30] Adaptive feature fusion with attention mechanism for multi-scale target detection
    Ju, Moran
    Luo, Jiangning
    Wang, Zhongbo
    Luo, Haibo
    NEURAL COMPUTING & APPLICATIONS, 2021, 33 (07): : 2769 - 2781