基于多目标跟踪的课堂人数自动统计算法研究
Research on Automatic Algorithm for Counting the Number of People in Classrooms Based on Multi-Object Tracking
摘要: 本文聚焦于基于多目标跟踪的课堂人数自动统计这一主题,提出将YOLOv8和SORT (Simple Online and Realtime Tracking)算法相结合的方法。其中,YOLOv8作为先进的单阶段目标检测算法,能迅速识别图像或视频帧中的目标并输出关键信息;SORT算法借助卡尔曼滤波预测目标位置变化。研究通过运用特定的软硬件配置开展实验,对模型进行训练与验证。该方法旨在实现课堂人数的精准自动统计,满足课堂管理和动态监控的需求,为教师及管理人员提供有力工具。其不仅在算法应用上具有创新性,而且在教育管理实践中具有重要的实用价值,有望对智慧教育领域的课堂管理产生积极深远的影响。
Abstract: This paper focuses on the theme of automatic counting of the number of people in the classroom based on multi-object tracking and proposes a method that combines the YOLOv8 and SORT algorithms. Among them, YOLOv8, as an advanced single-stage target detection algorithm, can quickly identify targets in an image or video frame and output key information. The SORT algorithm predicts the position change of the target with the help of Kalman filtering. The research conducts experiment by using specific software and hardware configurations to train and validate the model. This method aims to achieve accurate automatic counting of the number of people in the classroom, meet the needs of classroom management and dynamic monitoring, and provide a powerful tool for teachers and administrators. It is not only innovative in algorithm application, but also has important practical value in educational management practice, and is expected to have a positive and far-reaching impact on classroom management in the field of smart education.
文章引用:王一磊, 刘小军, 余成锟, 唐笋, 何一驰, 刘磊, 王波. 基于多目标跟踪的课堂人数自动统计算法研究[J]. 人工智能与机器人研究, 2025, 14(3): 783-798. https://doi.org/10.12677/airr.2025.143075

参考文献

[1] 朱春原. 基于改进YOLOv8算法的小目标检测研究[D]: [硕士学位论文]. 大连: 大连交通大学, 2024.
[2] 杜磊. 基于SORT算法的图像轨迹跟踪混合控制方法[J]. 现代电子技术, 2024, 47(13): 32-35.
[3] 曹洁, 牛瑜, 梁浩鹏. 基于优化权重的YOLOv7密集行人检测算法[J]. 液晶与显示, 2025, 40(3): 505-515.
[4] 曾如明. K-means聚类算法的改进及其应用研究[D]: [硕士学位论文]. 南充: 西华师范大学, 2022.
[5] 孟喆, 冯辉, 徐海祥. 跨层级特征融合的水面多尺度目标检测算法[J/OL]. 武汉理工大学学报(交通科学与工程版): 1-8.
http://kns.cnki.net/kcms/detail/42.1824.U.20250402.1641.020.html, 2025-04-22.
[6] 寇晓. 基于鲁棒无迹卡尔曼滤波的电力系统动态状态估计研究[D]: [硕士学位论文]. 西安: 西安理工大学, 2022.
[7] 陈广交, 邓明阳. 基于YOLOv8m融合匈牙利算法的智能网联汽车环境感知方法[J]. 北华大学学报(自然科学版), 2025, 26(2): 245-253.
[8] 王红林, 黄浩, 孙彩云, 等. 基于YOLOv5s和DeepSORT的改进多目标跟踪算法[J]. 计算机仿真, 2025, 42(3): 263-269+303.
[9] 王谭, 王磊磊, 张卫国, 等. 基于张正友标定法的红外靶标系统[J]. 光学精密工程, 2019, 27(8): 1828-1835.
[10] 林新颖. 基于Faster R-CNN的视频车辆识别方法研究[J]. 中国信息界, 2024(8): 201-203.
[11] Peng, D., Sun, Z., Chen, Z., Cai, Z., Xie, L. and Jin, L. (2018) Detecting Heads Using Feature Refine Net and Cascaded Multi-Scale Architecture. 2018 24th International Conference on Pattern Recognition (ICPR), Beijing, 20-24 August 2018, 2528-2533. [Google Scholar] [CrossRef
[12] 冯桂尔. 基于Python的GUI (Tkinter)实例开发[J]. 信息与电脑(理论版), 2023, 35(1): 175-178.
[13] 李永盛, 何佳洲, 刘义海, 等. 基于图像检测识别的数据增强技术[J]. 舰船电子对抗, 2021, 44(1): 66-70.
[14] 李旺, 张娜娜. 基于改进FairMOT的多目标跟踪算法[J]. 计算机工程与应用, 2024, 60(11): 139-146.
[15] 杨思燕, 苗凯彬, 王锋, 等. 视频图像中人脸自动检测与统计算法[J]. 电子科技, 2020, 33(8): 1-9.
[16] 何源. 基于人工智能的智慧课堂教学模式研究与探索[J]. 甘肃教育研究, 2025(1): 39-42.