BRAYOLOv7: an improved model based on attention mechanism and raspberry pi implementation for online education
Jiayi Wu, Yingqian Zhang, Lei Fu, Yunrong Luo, Hui Xie, Rongru Hua · International Journal of Sensor Networks · 2024
Traditional machine learning in the education industry is facing difficulties in accurately identifying students' emotions, impacting the personalised delivery of online education. To address this, we propose the development of an enhanced YOLOv7 model called BRAYOLOv7, which utilises the bi-level routing attention mechanism. Our approach includes adjusting the non-maximal suppression parameter to reduce accidental deletion and false detection of objects, employing random erasing and CutMix image augmentation techniques to enhance edge and contour information, integrating the improved convolutional block attention module (ICBAM) into the backbone structure, and replacing the sigmoid-weighted linear unit activation function with the funnel rectified linear unit activation function. Experimental results show the improved model achieving a mean average precision of 99% and notable improvements in precision. This study offers a technical solution for integrating emotion recognition into intelligent online education platforms to enhance evaluation and feedback for students.