ZenSVI: An open-source software for the integrated acquisition, processing and analysis of street view imagery towards scalable urban science

Abstract

Street view imagery (SVI) has been instrumental in many studies in the past decade to understand and characterize street features and the built environment. Researchers across a variety of domains, such as transportation, health, architecture, human perception, and infrastructure have employed different methods to analyze SVI. However, these applications and image-processing procedures have not been standardized, and solutions have been implemented in isolation, often making it difficult for others to reproduce existing work and carry out new research. Using SVI for research requires multiple technical steps: accessing APIs for scalable data collection, preprocessing images to standardize formats, implementing computer vision models for feature extraction, and conducting spatial analysis. These technical requirements create barriers for researchers in urban studies, particularly those without extensive programming experience. We developed ZenSVI, a free and open-source Python package that integrates and implements the entire process of SVI analysis, supporting a wide range of use cases. Its end-to-end pipeline includes downloading SVI from multiple platforms (e.g., Mapillary and KartaView) efficiently, analyzing metadata of SVI, applying computer vision models to extract target features, transforming SVI into different projections (e.g., fish-eye and perspective) and different formats (e.g., depth map and point cloud), visualizing analyses with maps and plots, and exporting outputs to other software tools. We demonstrated its use in Singapore through a case study of data quality assessment and clustering analysis in a streamlined manner. Our software improves the transparency, reproducibility, and scalability of research relying on SVI and supports researchers in conducting urban analyses efficiently. Its modular design facilitates extensions of the package for new use cases. This package is openly available at https://github.com/koito19960406/ZenSVI, and it is supported by documentation including tutorials (https://zensvi.readthedocs.io/en/latest/examples/index.html).

Publication
Computers, Environment and Urban Systems
Koichi Ito
Koichi Ito
PhD Researcher
Mahmoud Abdelrahman
Mahmoud Abdelrahman
Research Fellow
Liang Xiucheng
Liang Xiucheng
PhD Researcher
Zicheng Fan
Zicheng Fan
PhD Researcher
Hou Yujun
Hou Yujun
Research Associate
Tianhong Zhao
Tianhong Zhao
Visiting Scholar
Rui Ma
Rui Ma
Visiting Scholar
Kunihiko Fujiwara
Kunihiko Fujiwara
Visiting Research Fellow
Jiani Ouyang
Jiani Ouyang
Visiting Scholar
Matias Quintana
Matias Quintana
Research Fellow
Filip Biljecki
Filip Biljecki
Assistant Professor