Jiao Dan, Fei Teng
School of Resource and Environmental Sciences, Wuhan University, Wuhan, Hubei, China.
PeerJ Comput Sci. 2023 Jan 25;9:e1226. doi: 10.7717/peerj-cs.1226. eCollection 2023.
The walking speed of pedestrians is not only a reflection of one's physiological condition and health status but also a key parameter in the evaluation of the service level of urban facilities and traffic engineering applications, which is important for urban design and planning. Currently, the three main ways to obtain walking speed are based on trails, wearable devices, and images. The first two cannot be popularized in larger open areas, while the image-based approach requires multiple cameras to cooperate in order to extract the walking speed of an entire street, which is costly. In this study, a method for extracting the pedestrian walking speed at a street scale from in-flight drone video is proposed. Pedestrians are detected and tracked by You Only Look Once version 5 (YOLOv5) and Simple Online and Realtime Tracking with a Deep Association Metric (DeepSORT) algorithms in the video taken from a flying unmanned aerial vehicle (UAV). The distance that pedestrians traveled related to the ground per fixed time interval is calculated using a combined algorithm of Scale-Invariant Feature Transform (SIFT) and random sample consensus (RANSAC) followed by a geometric correction algorithm. Compared to ground truth values, it shows that 90.5% of the corrected walking speed predictions have an absolute error of less than 0.1 m/s. Overall, the method we have proposed is accurate and feasible. A particular advantage of this method is the ability to accurately predict the walking speed of pedestrians without keeping the flight speed of the UAV constant, facilitating accurate measurements by non-specialist technicians. In addition, because of the unrestricted flight range of the UAV, the method can be applied to the entire scale of the street, which assists in a better understanding of how the settings and layouts of urban affect people's behavior.
行人的步行速度不仅反映了一个人的生理状况和健康状态,也是评估城市设施服务水平和交通工程应用的关键参数,对城市设计和规划具有重要意义。目前,获取步行速度的三种主要方法是基于步道、可穿戴设备和图像。前两种方法无法在较大的开放区域推广,而基于图像的方法需要多个摄像头协同工作才能提取整条街道的步行速度,成本较高。在本研究中,提出了一种从无人机飞行视频中提取街道尺度行人步行速度的方法。在从飞行的无人机拍摄的视频中,使用你只看一次版本5(YOLOv5)和带有深度关联度量的简单在线实时跟踪(DeepSORT)算法对行人进行检测和跟踪。使用尺度不变特征变换(SIFT)和随机抽样一致性(RANSAC)的组合算法,再结合几何校正算法,计算行人在每个固定时间间隔内相对于地面行进的距离。与地面真值相比,结果表明90.5%的校正后步行速度预测的绝对误差小于0.1米/秒。总体而言,我们提出的方法准确可行。该方法的一个特别优点是能够在不保持无人机飞行速度恒定的情况下准确预测行人的步行速度,便于非专业技术人员进行精确测量。此外,由于无人机的飞行范围不受限制,该方法可应用于整条街道的尺度,有助于更好地理解城市的设置和布局如何影响人们的行为。