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 条
  • [41] A Kind of Water Surface Multi-Scale Object Detection Method Based on Improved YOLOv5 Network
    Ma, Zhongli
    Wan, Yi
    Liu, Jiajia
    An, Ruojin
    Wu, Lili
    MATHEMATICS, 2023, 11 (13)
  • [42] Improved YOLOv5 for Aerial Images Based on Attention Mechanism
    Li, Zebin
    Fan, Bangkui
    Xu, Yulong
    Sun, Renwu
    IEEE ACCESS, 2023, 11 : 96235 - 96241
  • [43] Research on improved small scale face detection algorithm based on Yolov5
    Zhang B.
    Cao Y.
    Wang C.
    Wang M.
    J. Intelligent Fuzzy Syst., 2024, 4 (10493-10505): : 10493 - 10505
  • [44] Residual attention mechanism and weighted feature fusion for multi-scale object detection
    Zhang, Jie
    Qi, Qiye
    Zhang, Huanlong
    Du, Qifan
    Wang, Fengxian
    Shi, Xiaoping
    MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 82 (26) : 40873 - 40889
  • [45] Multi-scale feature fusion with attention mechanism for crowded road object detection
    Wu, Jingtao
    Dai, Guojun
    Zhou, Wenhui
    Zhu, Xudong
    Wang, Zengguan
    JOURNAL OF REAL-TIME IMAGE PROCESSING, 2024, 21 (02)
  • [46] Multi-scale feature fusion with attention mechanism for crowded road object detection
    Jingtao Wu
    Guojun Dai
    Wenhui Zhou
    Xudong Zhu
    Zengguan Wang
    Journal of Real-Time Image Processing, 2024, 21
  • [47] Residual attention mechanism and weighted feature fusion for multi-scale object detection
    Jie Zhang
    Qiye Qi
    Huanlong Zhang
    Qifan Du
    Fengxian Wang
    Xiaoping Shi
    Multimedia Tools and Applications, 2023, 82 : 40873 - 40889
  • [48] Detection of Rice Pests Based on Self-Attention Mechanism and Multi-Scale Feature Fusion
    Hu, Yuqi
    Deng, Xiaoling
    Lan, Yubin
    Chen, Xin
    Long, Yongbing
    Liu, Cunjia
    INSECTS, 2023, 14 (03)
  • [49] FE-YOLOv5: Improved YOLOv5 Network for Multi-scale Drone-Captured Scene Detection
    Zhao, Chen
    Yan, Zhe
    Dong, Zhiyan
    Yang, Dingkang
    Zhang, Lihua
    NEURAL INFORMATION PROCESSING, ICONIP 2023, PT II, 2024, 14448 : 290 - 304
  • [50] Object Detection of Remote Sensing Image Based on Multi-Scale Feature Fusion and Attention Mechanism
    Du, Zuoqiang
    Liang, Yuan
    IEEE ACCESS, 2024, 12 : 8619 - 8632