{"title":"利用机器学习方法构建智慧城市人流跟踪系统","authors":"Baofeng Yao, Shijun Liu, Lei Wang","doi":"10.2298/csis220813014y","DOIUrl":null,"url":null,"abstract":"In the crowd congestion in smart cities, the people flow statistics is necessary in public areas to reasonably control people flow. The You Only Look Once-v3 (YOLOv3) algorithm is employed for pedestrian detection, and the Smooth_L1 loss function is introduced to update the back propagation parameters to ensure the stability of the object detection model. After the pedestrian is detected, tracking the pedestrian for a certain time is necessary to count out the specific number of pedestrians entering and leaving. Specifically, the Mean Shift algorithm is combined with the Kalman filter to track the target. When the target is lost, the Mean Shift algorithm is used for iterative tracking, and then the Kalman prediction is updated. In the experiment, 7,000 original images are collected from the library, mentioning 88 people of which 82 are recognized, and the detection accuracy reaches 93.18%. The 12,200 original images collected in the teaching building include149 people, of which 139 are recognized, with the detection accuracy reaching 93.29%. Therefore, the people flow statistics system based on machine vision and deep learning can detect and track pedestrians effectively, which is of great significance for the people flow statistics in public areas in smart cities and for the smooth development of various activities.","PeriodicalId":50636,"journal":{"name":"Computer Science and Information Systems","volume":"47 1","pages":"679-700"},"PeriodicalIF":1.2000,"publicationDate":"2023-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Using machine learning approach to construct the people flow tracking system for smart cities\",\"authors\":\"Baofeng Yao, Shijun Liu, Lei Wang\",\"doi\":\"10.2298/csis220813014y\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In the crowd congestion in smart cities, the people flow statistics is necessary in public areas to reasonably control people flow. The You Only Look Once-v3 (YOLOv3) algorithm is employed for pedestrian detection, and the Smooth_L1 loss function is introduced to update the back propagation parameters to ensure the stability of the object detection model. After the pedestrian is detected, tracking the pedestrian for a certain time is necessary to count out the specific number of pedestrians entering and leaving. Specifically, the Mean Shift algorithm is combined with the Kalman filter to track the target. When the target is lost, the Mean Shift algorithm is used for iterative tracking, and then the Kalman prediction is updated. In the experiment, 7,000 original images are collected from the library, mentioning 88 people of which 82 are recognized, and the detection accuracy reaches 93.18%. The 12,200 original images collected in the teaching building include149 people, of which 139 are recognized, with the detection accuracy reaching 93.29%. Therefore, the people flow statistics system based on machine vision and deep learning can detect and track pedestrians effectively, which is of great significance for the people flow statistics in public areas in smart cities and for the smooth development of various activities.\",\"PeriodicalId\":50636,\"journal\":{\"name\":\"Computer Science and Information Systems\",\"volume\":\"47 1\",\"pages\":\"679-700\"},\"PeriodicalIF\":1.2000,\"publicationDate\":\"2023-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computer Science and Information Systems\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://doi.org/10.2298/csis220813014y\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q4\",\"JCRName\":\"COMPUTER SCIENCE, INFORMATION SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Science and Information Systems","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.2298/csis220813014y","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
摘要
在智慧城市人群拥挤的情况下,公共区域的人流统计是合理控制人流的必要条件。行人检测采用You Only Look Once-v3 (YOLOv3)算法,引入Smooth_L1损失函数更新反向传播参数,保证目标检测模型的稳定性。在检测到行人后,需要对行人进行一定时间的跟踪,以计算出进出行人的具体数量。具体来说,将Mean Shift算法与卡尔曼滤波相结合来跟踪目标。当目标丢失时,采用Mean Shift算法进行迭代跟踪,然后对卡尔曼预测进行更新。在实验中,从图库中采集了7000张原始图像,其中88人被识别,其中82人被识别,检测准确率达到93.18%。教学楼采集的12200张原始图像中,有149人被识别,其中139人被识别,检测准确率达到93.29%。因此,基于机器视觉和深度学习的人流统计系统可以有效地检测和跟踪行人,这对于智慧城市公共区域的人流统计以及各种活动的顺利开展具有重要意义。
Using machine learning approach to construct the people flow tracking system for smart cities
In the crowd congestion in smart cities, the people flow statistics is necessary in public areas to reasonably control people flow. The You Only Look Once-v3 (YOLOv3) algorithm is employed for pedestrian detection, and the Smooth_L1 loss function is introduced to update the back propagation parameters to ensure the stability of the object detection model. After the pedestrian is detected, tracking the pedestrian for a certain time is necessary to count out the specific number of pedestrians entering and leaving. Specifically, the Mean Shift algorithm is combined with the Kalman filter to track the target. When the target is lost, the Mean Shift algorithm is used for iterative tracking, and then the Kalman prediction is updated. In the experiment, 7,000 original images are collected from the library, mentioning 88 people of which 82 are recognized, and the detection accuracy reaches 93.18%. The 12,200 original images collected in the teaching building include149 people, of which 139 are recognized, with the detection accuracy reaching 93.29%. Therefore, the people flow statistics system based on machine vision and deep learning can detect and track pedestrians effectively, which is of great significance for the people flow statistics in public areas in smart cities and for the smooth development of various activities.
期刊介绍:
About the journal
Home page
Contact information
Aims and scope
Indexing information
Editorial policies
ComSIS consortium
Journal boards
Managing board
For authors
Information for contributors
Paper submission
Article submission through OJS
Copyright transfer form
Download section
For readers
Forthcoming articles
Current issue
Archive
Subscription
For reviewers
View and review submissions
News
Journal''s Facebook page
Call for special issue
New issue notification
Aims and scope
Computer Science and Information Systems (ComSIS) is an international refereed journal, published in Serbia. The objective of ComSIS is to communicate important research and development results in the areas of computer science, software engineering, and information systems.