The invention discloses a lightweight scenic spot
pedestrian counting
system based on improved YOLOv10n and DeepSort. According to the method, an improved YOLOv10n model is adopted as a
detector to obtain a target detection result in a video scene. The influence of outdoor weather on a detection result is considered, and the detection result is more accurate under a complex background by fusing an attention
feature fusion structure DC-FFA of dynamic
convolution. A DeepSort multi-target
tracking model is fused, pedestrians are tracked through Hungary matching and Kalman filtering, an SEAMNet36
pedestrian re-recognition network is designed, and appearance features of the pedestrians can be better extracted. In the counting aspect, the counting
algorithm based on biconvex trajectory measurement and calculation can count the number of pedestrians in the picture and calculate the number of pedestrians entering and leaving the monitoring picture. According to the method, the
model parameter quantity is reduced while the tracking accuracy is improved, the stronger apparent
feature extraction capability is realized through a lighter network, the problems of missing detection,
false detection, too many ID hopping times and the like in the prior art are solved, and the detection and tracking effects are improved.