Research on Pedestrian Dynamics and Its Environmental Factors in a Jiangnan Water Town Integrating Video-Based Trajectory Data and Machine Learning
Jiangnan water towns, as distinctive cultural landscapes in China, are confronting the dual challenge of surging tourist flows and imbalances in spatial distribution. Research on pedestrian dynamics has so far offered narrow coverage of influencing factors and limited insight into underlying mechanisms, falling short of a systemic perspective and an interpretable theoretical framework. This study uses Nanxun Ancient Town as a case study to address this gap. Pedestrian trajectories were captured using temporarily installed closed-circuit television (CCTV) cameras within the scenic area and extracted using the YOLOv8 object detection algorithm. These data were then integrated with quantified environmental indicators and analyzed through Random Forest regression with SHapley Additive exPlanations (SHAP) interpretation, enabling quantitative and interpretable exploration of pedestrian dynamics. The results indicate nonlinear and context-dependent effects of environmental factors on pedestrian dynamics and that tourist flows are jointly shaped by multi-level, multi-type factors and their interrelations, producing complex and adaptive impact pathways. First, within this enclosed scenic area, spatial morphology—such as lane width, ground height, and walking distance to entrances—imposes fundamental constraints on global crowd distributions and movement patterns, whereas spatial accessibility does not display its usual salience in this context. Second, perceptual and functional attributes—including visual attractiveness, shading, and commercial points of interest—cultivate local “visiting atmospheres” through place imagery, perceived comfort, and commercial activity. Finally, nodal elements—such as signboards, temporary vendors, and public service facilities—produce multi-scale, site-centered effects that anchor and perturb flows and reinforce lingering, backtracking, and clustering at bridgeheads, squares, and comparable nodes. This study advances a shift from static and global description to a mechanism-oriented explanatory framework and clarifies the differentiated roles and linkages among environmental factors by integrating video-based trajectory analytics with machine learning interpretation. This framework demonstrates the applicability of surveillance and computer vision techniques for studying pedestrian dynamics in small-scale heritage settings, and offers practical guidance for heritage conservation and sustainable tourism management in similar historic environments.
Authors
- Zhengwei Xia (ORCID: https://orcid.org/0009-0001-5807-9052)
- Shengwei Xing (ORCID: https://orcid.org/0000-0002-1970-5030)
- R. Wang (ORCID: https://orcid.org/0009-0002-8208-5687)
- Wang Miao (ORCID: https://orcid.org/0000-0003-1968-3764)
- Chenpeng Xu (ORCID: https://orcid.org/0009-0009-5217-2844)
- Hongshi Cao (ORCID: https://orcid.org/0009-0008-8292-3146)
Institutions
- Bunkyo University (JP)
- State Administration of Cultural Heritage (CN)
- Huzhou Normal University (CN)
- Soochow University (CN)
- The University of Tokyo (JP)
Publication Details
- Journal
- Buildings
- Published
- 2025-11-05
- DOI
- https://doi.org/10.3390/buildings15213996
- Primary Topic
- Evacuation and Crowd Dynamics
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Government of Jiangsu Province
- Natural Science Foundation of Jiangsu Province