基于多摄像头的实时人物追踪系统
Real-Time Person Tracking System Based on Multiple Cameras
DOI: 10.12677/csa.2025.158199, PDF,    科研立项经费支持
作者: 谭丽欢, 罗 颂*:警务物联网应用技术公安部重点实验室,北京;重庆理工大学计算机科学与工程学院,重庆;宋鹃伲:成都市公安局锦江区分局信息通信科,四川 成都;陈东升:警务物联网应用技术公安部重点实验室,北京
关键词: 多摄像头追踪边缘计算YOLOv5行人重识别向量数据库Multi-Camera Tracking Edge Computing YOLOv5 Pedestrian Re-Identification Vector Database
摘要: 在智慧城市与智能安防快速发展的背景下,多摄像头人物追踪技术成为提升公共安全管理效率的核心需求。传统方案存在跨摄像头身份关联失效、计算资源消耗大及实时性不足等问题。本文提出一种基于边缘计算与中心数据库协同架构的实时人物追踪系统,采用轻量化模型YOLOv5s进行人体检测,结合OSNet_x0.25提取512维特征向量,通过向量数据库实现毫秒级特征匹配。实验表明,该系统在Market-1501数据集上Rank-1准确率达86.7%,640 × 640视频流实时处理帧率为8.2 FPS,在校园场景中验证了工程实用性。
Abstract: In the context of the rapid development of smart cities and intelligent security, multi-camera person tracking technology has become a core requirement for improving the efficiency of public safety management. Traditional solutions suffer from issues such as failed cross-camera identity association, high computational resource consumption, and insufficient real-time performance. This paper proposes a real-time person tracking system based on a collaborative architecture of edge computing and a central database. It employs the lightweight YOLOv5s model for human detection, combines it with OSNet_x0.25 to extract 512-dimensional feature vectors, and achieves millisecond-level feature matching through a vector database. Experiments show that the system achieves a Rank-1 accuracy of 86.7% on the Market-1501 dataset, with a real-time processing frame rate of 8.2 FPS for 640 × 640 video streams, validating its engineering practicality in campus scenarios.
文章引用:谭丽欢, 宋鹃伲, 陈东升, 罗颂. 基于多摄像头的实时人物追踪系统[J]. 计算机科学与应用, 2025, 15(8): 73-88. https://doi.org/10.12677/csa.2025.158199

参考文献

[1] 胡潇晗. 多摄像头下的多目标追踪算法研究[D]: [硕士学位论文]. 杭州: 杭州电子科技大学, 2024.
[2] 闫铭, 李雷孝, 林浩, 等. 少样本行人重识别研究综述[J/OL]. 计算机工程与应用, 1-30.
https://link.cnki.net/urlid/11.2127.tp.20250122.1400.004, 2025-03-16.
[3] 汪嘉睿. 施工现场跨摄像头人员跟踪[D]: [硕士学位论文]. 西安: 西安理工大学, 2024.
[4] 田煜衡, 肖志涛, 耿磊, 方胜宇. 基于头部特征的行人计数系统[J]. 天津工业大学学报, 2013, 32(3): 66-71.
[5] 黄宏安, 陈国栋, 张神德. 深度学习在塔吊裂缝识别中的应用[J]. 佳木斯大学学报(自然科学版), 2021, 39(1): 13-16.
[6] 闵锋, 刘煜晖, 毛一新, 况永刚, 刘彪. 动态查询感知的行人重识别算法[J]. 计算机工程与应用, 2024, 60(19): 199-208.
[7] 赵师亮, 吴晓富, 张索非. 基于PCB特征加权的行人重识别算法[J]. 信号处理, 2020, 36(8): 1300-1307.
[8] Xu, Z., Yang, J.W., Liu, Y.X., et al. (2024) Staged Encoder Training for Cross-Camera Person Re-Identification. Signal, Image and Video Processing, 18, 2323-2331. [Google Scholar] [CrossRef
[9] Li, H., Mao, Y., Zhang, Y., Qi, G. and Yu, Z. (2025) Domain-Adaptive Person Re-Identification without Cross-Camera Paired Samples. Engineering Applications of Artificial Intelligence, 145, Article 110171. [Google Scholar] [CrossRef
[10] 蒋玉英, 陈心雨. 图神经网络及其在图像处理领域的研究进展[J]. 计算机工程与应用, 2023, 59(7): 15-30.
[11] 赵畅. 基于YOLOv5改进的人脸检测算法的研究与实现[D]: [硕士学位论文]. 长春: 吉林大学, 2022.
[12] Zhou, K., Yang, Y., Cavallaro, A. and Xiang, T. (2019) Learning Generalisable Omni-Scale Representations for Person Re-Identification.
[13] 白海洋, 林俊宪, 陈家合, 等. 基于YOLOv5算法的水位智能监测系统[J]. 计算机科学与应用, 2023, 13(6): 1344-1256.
[14] 解宇敏, 张浪文, 余孝源, 等. 可见光-红外特征交互与融合的YOLOv5目标检测算法[J]. 控制理论与应用, 2024, 41(5): 914-922.
[15] 王志愿. 基于全尺度特征的跨摄像头车辆追踪方法研究[D]: [硕士学位论文]. 重庆: 重庆邮电大学, 2021.
[16] Zhu, X., Lyu, S., Wang, X. and Zhao, Q. (2021) TPH-YOLOv5: Improved YOLOv5 Based on Transformer Prediction Head for Object Detection on Drone-Captured Scenarios. 2021 IEEE/CVF International Conference on Computer Vision Workshops, Montreal, 11-17 October 2021, 2778-2788. [Google Scholar] [CrossRef
[17] 皮任东. 基于路侧激光雷达和摄像头融合的目标轨迹追踪方法研究[D]: [硕士学位论文]. 济南: 山东大学, 2022.
[18] Zhong, Z., Zheng, L., Zheng, Z., Li, S. and Yang, Y. (2018) Camera Style Adaptation for Person Re-Identification. 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, 18-23 June 2018, 5157-5166. [Google Scholar] [CrossRef
[19] 李明, 张伟, 赵强. 基于YOLOv5的行人检测与跟踪研究[J]. 计算机工程与应用, 2021, 57(12): 45-50.
[20] 陈磊, 王芳, 刘洋. 融合YOLOv5与深度特征的跨摄像头行人再识别方法[J]. 图像与图形学报, 2022, 27(3): 567-574.