Abstract
With the accelerated urbanization process, the impact of the urban environment on the mental health of residents has attracted extensive attention. However, previous research has primarily focused on single environmental factors, lacking a systematic quantitative framework based on multi-dimensional urban elements, especially at the refined scale, resulting in dual bottlenecks in methodology and data. In this work, a novel deep learning (DL) approach, driven by SVI, is developed to quantify depression perception (DP) between residents in Wuhan and the urban environment. Specifically, a database containing 133,114 SVIs is constructed, extracting six visual elements of green view index (GVI), sky view factor (SVF), degree of enclosure (DOE), degree of motorization (DOM), degree of non-motorization (DON), and rate of sidewalk (ROS). Stepwise regression is applied to elucidate which urban elements exacerbate or mitigate DP. Results indicate that GVI, SVF, and DON are negatively correlated with DP. Moreover, the risk of negative emotions is increased due to the high DOE and DOM, presenting a clear coupling relationship. Meanwhile, spatially, the city exhibits a pattern of high DP along transport–industrial corridors and low DP across blue-green and cultural corridors. Additionally, historical districts such as Tanhualin display a cultural buffering effect of “high-enclosure/low-DP”. This study establishes a deep connection between street-level urban environments and DP, expands the “emotion-space” mechanism framework in the design of healthy cities theoretically, and provides quantitative support and an emotion-oriented strategy for urban renewal, street development, and the planning of green infrastructure in practice.
Similar content being viewed by others
Data availability
The datasets generated during the current study are not publicly available due to the policies and confidentiality agreements adhered to in our laboratory, but are available from the corresponding author on reasonable request.
References
Helbich, M. et al. Using deep learning to examine street view green and blue spaces and their associations with geriatric depression in Beijing, China. Environ. Int. 126, 107–117. https://doi.org/10.1016/j.envint.2019.02.013 (2019).
Generaal, E. et al. Neighbourhood characteristics and prevalence and severity of depression: Pooled analysis of eight Dutch cohort studies. Br. J. Psychiatry. 215, 468–475. https://doi.org/10.1192/bjp.2019.100 (2019).
Gascon, M., Zijlema, W., Vert, C., White, M. P. & Nieuwenhuijsen, M. J. Outdoor blue spaces, human health and well-being: A systematic review of quantitative studies. Int. J. Hyg. Environ Health. 220, 1207–1221. https://doi.org/10.1016/j.ijheh.2017.08.004 (2017).
Rzotkiewicz, A., Pearson, A. L., Dougherty, B. V., Shortridge, A. & Wilson, N. Systematic review of the use of Google street view in health research: Major themes, strengths, weaknesses and possibilities for future research. Health Place. 52, 240–246. https://doi.org/10.1016/j.healthplace.2018.07.001 (2018).
Yao, Y. et al. Discovering the homogeneous geographic domain of human perceptions from street view images. Landsc. Urban Plann. 212, 104125. https://doi.org/10.1016/j.landurbplan.2021.104125 (2021).
Li, X. et al. Assessing street-level urban greenery using Google street view and a modified green view index. Urban Forestry Urban Green. 14, 675–685. https://doi.org/10.1016/j.ufug.2015.06.006 (2015).
Huang, X. et al. Comprehensive walkability assessment of urban pedestrian environments using big data and deep learning techniques. Sci. Rep. 14, 26993. https://doi.org/10.1038/s41598-024-78041-x (2024).
Helbich, M. Spatiotemporal contextual uncertainties in green space exposure measures: exploring a time series of the normalized difference vegetation indices. Int. J. Environ. Res. Public Health. 16, 852. https://doi.org/10.3390/ijerph16050852 (2019).
Chen, C. et al. Unraveling nonlinear effects of environment features on green view index using multiple data sources and explainable machine learning. Sci. Rep. 14, 30189. https://doi.org/10.1038/s41598-024-81451-6 (2024).
Xiao, J., Zhao, J., Luo, Z., Liu, F. & Greenwood, D. The impact of built environment on mental health: A COVID-19 lockdown perspective. Health Place. 77, 102889. https://doi.org/10.1016/j.healthplace.2022.102889 (2022).
Jimenez, M. P. et al. Associations between nature exposure and health: a review of the evidence. Int. J. Environ. Res. Public Health. 18, 4790. https://doi.org/10.3390/ijerph18094790 (2021).
Hunter, M. R., Gillespie, B. W. & Chen, S. Y. P. Urban nature experiences reduce stress in the context of daily life based on salivary biomarkers. Front. Psychol. 10, 413490. https://doi.org/10.3389/fpsyg.2019.00722 (2019).
Araújo, L. D., Zanotta, D. C., Ray, N. & Veronez, M. R. Earth observation data uncover green spaces’ role in mental health. Sci. Rep. 14, 20933. https://doi.org/10.1038/s41598-024-72008-8 (2024).
Xu, C., Miao, L., Turner, D. & DeRubeis, R. Urbanicity and depression: A global meta-analysis. J. Affect. Disord. 340, 299–311. https://doi.org/10.1016/j.jad.2023.08.030 (2023).
Xu, C., Miao, L., Turner, D. & DeRubeis, R. Urbanicity and depression: A global meta-analysis. J. Affect. Disord. 340, 299–311. https://doi.org/10.1016/j.jad.2023.08.030 (2023).
Ji, J. S., Chen, R., Zhao, B. & Megacity Microscale livable Space, and major depression. JAMA Netw. Open. 4, e2130941–e2130941. https://doi.org/10.1001/jamanetworkopen.2021.30941 (2021).
Asgarzadeh, M., Koga, T., Hirate, K., Farvid, M. & Lusk, A. Investigating oppressiveness and spaciousness in relation to building, trees, Sky and ground surface: A study in Tokyo. Landsc. Urban Plann. 131, 36–41. https://doi.org/10.1016/j.landurbplan.2014.07.011 (2014).
Stier, A. J. et al. Evidence and theory for lower rates of depression in larger US urban areas. Proceedings of the National Academy of Sciences 118, e2022472118 (2021). https://doi.org/10.1073/pnas.2022472118
Chen, T. H. K. et al. Higher depression risks in medium- than in high-density urban form across Denmark. Sci. Adv. 9, eadf3760. https://doi.org/10.1126/sciadv.adf3760 (2023).
Dzhambov, A. M. & Lercher, P. Road traffic noise exposure and Depression/Anxiety: An updated systematic review and meta-analysis. Int. J. Environ. Res. Public. Health. 16 https://doi.org/10.3390/ijerph16214134 (2019).
Hegewald, J. et al. Traffic noise and mental health: A systematic review and Meta-Analysis. Int. J. Environ. Res. Public. Health. 17 https://doi.org/10.3390/ijerph17176175 (2020).
Nobile, F., Forastiere, A., Michelozzi, P., Forastiere, F. & Stafoggia, M. Long-term exposure to air pollution and incidence of mental disorders. A large longitudinal cohort study of adults within an urban area. Environ. Int. 181, 108302. https://doi.org/10.1016/j.envint.2023.108302 (2023).
Thompson, R. et al. Air pollution, traffic noise, mental health, and cognitive development: A multi-exposure longitudinal study of London adolescents in the SCAMP cohort. Environ. Int. 191, 108963. https://doi.org/10.1016/j.envint.2024.108963 (2024).
Tota, M. et al. Environmental pollution and extreme weather conditions: Insights into the effect on mental health. Front. Psychiatry. https://doi.org/10.3389/fpsyt.2024.1389051 (2024).
Yun, I., Lee, S. H., Park, S., Jang, S. Y. & Jang, S. I. Depressive symptoms of people living in areas with high exposure to environmental noise: A multilevel analysis. Sci. Rep. 14, 14450. https://doi.org/10.1038/s41598-024-65497-0 (2024).
Lin, J. Y., Cheng, W. J., Wu, C. F. & Chang, T. Y. Associations of road traffic noise and its frequency spectrum with prevalent depression in Taichung, Taiwan. Front. Public. Health. https://doi.org/10.3389/fpubh.2023.1116345 (2023).
Barros, P. et al. Social consequences and mental health outcomes of living in high-rise residential buildings and the influence of planning, urban design and architectural decisions: A systematic review. Cities 93, 263–272. https://doi.org/10.1016/j.cities.2019.05.015 (2019).
Hooper, P., Kleeman, A., Edwards, N., Bolleter, J. & Foster, S. The architecture of mental health: identifying the combination of apartment Building design requirements for positive mental health outcomes. Lancet Reg. Health – Western Pac. 37 https://doi.org/10.1016/j.lanwpc.2023.100807 (2023).
Myers, H. E. W. & Rollings, K. A. Perceived effects of residential design on mental well-being: A quasi-experimental study of the university of michigan’s munger graduate residences. J. Environ. Psychol. 98, 102408. https://doi.org/10.1016/j.jenvp.2024.102408 (2024).
Rodríguez-Labajos, L., Kinloch, J., Grant, S. & O’Brien, G. The role of the built environment as a therapeutic intervention in mental health facilities: A systematic literature review. HERD: Health Environ. Res. Des. J. 17, 281–308. https://doi.org/10.1177/19375867231219031 (2024).
Kleiman, E. M. et al. Digital phenotyping of suicidal thoughts. Depress. Anxiety. 35, 601–608. https://doi.org/10.1002/da.22730 (2018). https://doi.org/https://doi.
Zhang, Z. et al. Natural Language processing for depression prediction on Sina weibo: Method study and analysis. JMIR Ment Health. 11, e58259. https://doi.org/10.2196/58259 (2024).
Hswen, Y., Naslund, J. A., Brownstein, J. S. & Hawkins, J. B. Online communication about depression and anxiety among Twitter users with schizophrenia: Preliminary findings to inform a digital phenotype using social media. Psychiatr. Q. 89, 569–580. https://doi.org/10.1007/s11126-017-9559-y (2018).
Choudhury, M. D. & De, S. Mental Health Discourse on reddit: Self-disclosure, social support, and anonymity. Proceedings of the International AAAI Conference on Web and Social Media (2014). https://doi.org/10.1609/icwsm.v8i1.14526
Fancello, G. et al. Micro urban spaces and mental well-being: Measuring the exposure to urban landscapes along daily mobility paths and their effects on momentary depressive symptomatology among older population. Environ. Int. 178, 108095. https://doi.org/10.1016/j.envint.2023.108095 (2023).
Terhorst, Y., Knauer, J., Philippi, P. & Baumeister, H. The relation between passively collected GPS mobility metrics and depressive symptoms: systematic review and Meta-Analysis. J. Med. Internet Res. 26, e51875. https://doi.org/10.2196/51875 (2024).
Zhang, Y. et al. Longitudinal relationships between depressive symptom severity and Phone-Measured mobility: Dynamic structural equation modeling study. JMIR Ment Health. 9, e34898. https://doi.org/10.2196/34898 (2022).
Perlis, R. H. et al. Community mobility and depressive symptoms during the COVID-19 pandemic in the united States. JAMA Netw. Open. 6, e2334945–e2334945. https://doi.org/10.1001/jamanetworkopen.2023.34945 (2023).
Wang, R. et al. Nonlinear associations between street-level greenery quantity and quality, physical activity, and sedentary behaviour in Chinese middle-aged and older adults: A socioeconomic equity perspective. Cities 158, 105618. https://doi.org/10.1016/j.cities.2024.105618 (2025).
Yi, L. et al. Greenspace and depression incidence in the US-based nationwide nurses’ health study II: A deep learning analysis of street-view imagery. Environ. Int. 198, 109429. https://doi.org/10.1016/j.envint.2025.109429 (2025).
Zhang, A., Zhai, S., Liu, X., Song, G. & Feng, Y. Investigating the association between streetscapes and mental health in Zhanjiang, china: Using Baidu street view images and deep learning. Int. J. Environ. Res. Public. Health. 19 https://doi.org/10.3390/ijerph192416634 (2022).
Zhang, A., Zhai, S., Liu, X., Song, G. & Feng, Y. Investigating the association between streetscapes and mental health in Zhanjiang, china: Using Baidu street view images and deep learning. Int. J. Environ. Res. Public Health. 19, 16634. https://doi.org/10.3390/ijerph192416634 (2022).
Han, X., Wang, L., Seo, S. H., He, J. & Jung, T. Measuring perceived psychological stress in urban built environments using Google street view and deep learning. Front. Public. Health. 10–2022. https://doi.org/10.3389/fpubh.2022.891736 (2022).
Wei, J., Yue, W., Li, M. & Gao, J. Mapping human perception of urban landscape from street-view images: A deep-learning approach. Int. J. Appl. Earth Obs. Geoinf. 112, 102886. https://doi.org/10.1016/j.jag.2022.102886 (2022).
Zhang, T., Wang, L., Hu, Y., Zhang, W. & Liu, Y. Measuring urban green space exposure based on street view images and machine learning. Forests 15, 655. https://doi.org/10.3390/f15040655 (2024).
Chen, Z. et al. Deep learning analysis of Google street view to assess residential built environment and cardiovascular risk in a US Midwestern retrospective cohort. Eur. J. Prev. Cardiol. https://doi.org/10.1093/eurjpc/zwaf038 (2025).
Yue, X. et al. Using convolutional neural networks to derive neighborhood built environments from Google street view images and examine their associations with health outcomes. Int. J. Environ. Res. Public Health. 19, 12095. https://doi.org/10.3390/ijerph191912095 (2022).
Nguyen, Q. et al. Leveraging 31 million Google street view images to characterize built environments and examine County health outcomes. Public Health Rep. 136, 003335492096879. https://doi.org/10.1177/0033354920968799 (2020).
Zhang, T., Schoene, A. M., Ji, S. & Ananiadou, S. Natural Language processing applied to mental illness detection: A narrative review. Npj Digit. Med. 5, 46. https://doi.org/10.1038/s41746-022-00589-7 (2022).
Malgaroli, M., Hull, T. D., Zech, J. M. & Althoff, T. Natural Language processing for mental health interventions: A systematic review and research framework. Translational Psychiatry. 13, 309. https://doi.org/10.1038/s41398-023-02592-2 (2023).
Chandrasekaran, R., Kotaki, S. & Nagaraja, A. H. Detecting and tracking depression through Temporal topic modeling of tweets: Insights from a 180-day study. Npj Mental Health Res. 3, 62. https://doi.org/10.1038/s44184-024-00107-5 (2024).
Biljecki, F. & Ito, K. Street view imagery in urban analytics and GIS: A review. Landsc. Urban Plann. 215, 104217. https://doi.org/10.1016/j.landurbplan.2021.104217 (2021).
Fan, Z., Feng, C. C. & Biljecki, F. Coverage and bias of street view imagery in mapping the urban environment. Comput. Environ. Urban Syst. 117, 102253. https://doi.org/10.1016/j.compenvurbsys.2025.102253 (2025).
Yao, Y. et al. A human-machine adversarial scoring framework for urban perception assessment using street-view images. Int. J. Geogr. Inf. Sci. 33, 2363–2384. https://doi.org/10.1080/13658816.2019.1643024 (2019).
Dubey, A. et al. Deep learning the city: Quantifying urban perception at a global scale. In European Conference on Computer Vision 196–212. Springer (2016). https://doi.org/10.1007/978-3-319-46448-0_12
Zhang, F. et al. Measuring human perceptions of a large-scale urban region using machine learning. Landsc. Urban Plann. 180, 148–160. https://doi.org/10.1016/j.landurbplan.2018.08.020 (2018).
Ogawa, Y., Oki, T., Zhao, C., Sekimoto, Y. & Shimizu, C. Evaluating the subjective perceptions of streetscapes using street-view images. Landsc. Urban Plann. 247, 105073. https://doi.org/10.1016/j.landurbplan.2024.105073 (2024).
Ho, L. C., Wei, Y. T., Li, D. & Chiang, Y. C. Revealing emotional responses to urban environmental elements through street view data and deep learning. Environ. Plann. B Urban Analytics City Sci. 23998083251348280 https://doi.org/10.1177/23998083251348280 (2025).
Wang, R. et al. Urban greenery and mental wellbeing in adults: Cross-sectional mediation analyses on multiple pathways across different greenery measures. Environ. Res. 176, 108535. https://doi.org/10.1016/j.envres.2019.108535 (2019).
Acknowledgements
This study was supported by the following funds: (1) The Natural Science Foundation of China (51178465); (2) Philosophy and Social Sciences Foundation of Hunan Province (20ZDB034).
Funding
This study was supported by the following funds: (1) The Natural Science Foundation of China (51178465); (2) Philosophy and Social Sciences Foundation of Hunan Province (20ZDB034).
Author information
Authors and Affiliations
Contributions
Conceptualization, H.S.; methodology, N.Z. and H.S.; software, H.S.and J.F.; validation, H.S.; formal Analysis, H.S.; data inspection, H.S., H.C., Q.S., Y.J., J.F.; writing—original draft preparation, N.Z. and H.S.; writing—review and editing, H.S.; visualization, N.Z. and H.S.; supervision, H.S.; project administration, N.Z.; funding acquisition, N.Z. All authors have read and agreed to the published version of the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Sun, H., Zhang, N., Jiang, Y. et al. A study on the coupling mechanism between the urban environment and depression perception based on deep learning and street view image. Sci Rep (2026). https://doi.org/10.1038/s41598-026-36804-8
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-026-36804-8


