Identification of Leucaena leucocephala in Urban Landscapes Using Street-Level Images and Deep Learning
Abstract
1. Introduction
2. Materials and Methods
2.1. Experimental Workflow
2.2. Study Area
2.3. Data Collection and Preparation
2.4. Segmentation and Detection Tasks with Deep Neural Networks
2.4.1. Segment Anything Model (SAM)
2.4.2. You Only Look Once (YOLO) and Detection Transformer (DETR)
2.5. Evaluation Metrics
3. Results
3.1. Segmentation with SAM
3.2. Object Detection with YOLOv8 and DETR
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| CPU | Central Processing Unit |
| DETR | Detection Transformer |
| DL | Deep Learning |
| DS | Dataset |
| FN | False Negative |
| FP | False Positive |
| GB | Gigabyte |
| GPU | Graphics Processing Unit |
| MP | Mobile Phone |
| R | Recall |
| RGB | Red Green Blue |
| SAM | Segment Anything Model |
| SV | Street View |
| TN | True Negative |
| TP | True Positive |
| YOLO | You Only Look Once |
References
- Wood, E.M.; Esaian, S. The importance of street trees to urban avifauna. Ecol. Appl. 2020, 30, e02149. [Google Scholar] [CrossRef] [PubMed]
- Jovanović, S.; Janković-Milić, V.; Stanković, J.J.; Stanojević, M. The role of urban tree areas for biodiversity conservation in degraded urban landscapes. Land 2025, 14, 1815. [Google Scholar] [CrossRef]
- Delavaux, C.S.; Crowther, T.W.; Zohner, C.M.; Robmann, N.M.; Lauber, T.; van den Hoogen, J.; Kuebbing, S.; Liang, J.; de Miguel, S.; Nabuurs, G.-J.; et al. Native diversity buffers against severity of non-native tree invasions. Nature 2023, 622, 94–100. [Google Scholar] [CrossRef] [PubMed]
- Di Sacco, A.; Hardwick, K.A.; Blakesley, D.; Brancalion, P.H.S.; Breman, E.; Cecilio Rebola, L.; Chomba, S.; Dixon, K.; Elliott, S.; Ruyonga, G.; et al. Ten golden rules for reforestation to optimize carbon sequestration, biodiversity recovery and livelihood benefits. Glob. Change Biol. 2021, 27, 1328–1348. [Google Scholar] [CrossRef]
- Liu, J.; Slik, F. Are street trees friendly to biodiversity? Landsc. Urban Plan. 2022, 218, 104304. [Google Scholar] [CrossRef]
- Dyderski, M.K.; Jagodziński, A.M. Impact of invasive tree species on natural regeneration species composition, diversity, and density. Forests 2020, 11, 456. [Google Scholar] [CrossRef]
- Meirelles, R.N.; Machado, M.M.; Pires, P.R.S. Record of dead bees on Spathodea campanulata P. Beauv. flowers on the public promenade in São Luiz Gonzaga, State of Rio Grande do Sul. Rev. Ciênc. Agrovet. 2025, 24, 917–925. [Google Scholar] [CrossRef]
- Kato-Noguchi, H.; Kurniadie, D. Allelopathy and allelochemicals of Leucaena leucocephala as an invasive plant species. Plants 2022, 11, 1672. [Google Scholar] [CrossRef]
- Sharma, P.; Kaur, A.; Batish, D.R.; Kaur, S.; Chauhan, B.S. Critical insights into the ecological and invasive attributes of Leucaena leucocephala, a tropical agroforestry species. Front. Agron. 2022, 4, 890992. [Google Scholar] [CrossRef]
- Obiakara, M.C.; Olubode, O.S.; Chukwuka, K.S. Climate change and the potential distribution of the invasive shrub Leucaena leucocephala (Lam.) de Wit in Africa. Trop. Ecol. 2023, 64, 698–711. [Google Scholar] [CrossRef]
- Jensen, R.J. Remote Sensing of the Environment: An Earth Resource Perspective, 2nd ed.; Pearson New International Edition; Pearson Education Limited Edinburgh Gate: Harlow, UK, 2014; p. 619. [Google Scholar]
- Wellmann, T.; Lausch, A.; Andersson, E.; Knapp, S.; Cortinovis, C.; Jache, J.; Scheuer, S.; Kremer, P.; Mascarenhas, A.; Kraemer, R.; et al. Remote sensing in urban planning: Contributions towards ecologically sound policies? Landsc. Urban Plan. 2020, 204, 103921. [Google Scholar] [CrossRef]
- Song, W.; Song, W.; Gu, H.; Li, F. Progress in the remote sensing monitoring of the ecological environment in mining areas. Int. J. Environ. Res. Public Health 2020, 17, 1846. [Google Scholar] [CrossRef] [PubMed]
- Wan, H.; Tang, Y.; Jing, L.; Li, H.; Qiu, F.; Wu, W. Tree species classification of forest stands using multisource remote sensing data. Remote Sens. 2021, 13, 144. [Google Scholar] [CrossRef]
- Agustiyara, A.; Mutiarin, D.; Nurmandi, A.; Kasiwi, A.N.; Ikhwali, M.F. Mapping urban green spaces in Indonesian cities using remote sensing analysis. Urban Sci. 2025, 9, 23. [Google Scholar] [CrossRef]
- Xia, Y.; Yabuki, N.; Fukuda, T. Development of a system for assessing the quality of urban street-level greenery using street view images and deep learning. Urban For. Urban Green. 2021, 59, 126995. [Google Scholar] [CrossRef]
- Li, Y.; Peng, L.; Wu, C.; Zhang, J. Street view imagery (SVI) in the built environment: A theoretical and systematic review. Buildings 2022, 12, 1167. [Google Scholar] [CrossRef]
- Liang, X.; Zhao, T.; Biljecki, F. Revealing spatio-temporal evolution of urban visual environments with street view imagery. Landsc. Urban Plan. 2023, 237, 104802. [Google Scholar] [CrossRef]
- Branson, S.; Wegner, J.D.; Hall, D.; Lang, N.; Schindler, K.; Perona, P. From Google Maps to a fine-grained catalog of street trees. ISPRS J. Photogramm. Remote Sens. 2018, 135, 13–30. [Google Scholar] [CrossRef]
- Ringland, J.; Bohm, M.; Baek, S.R.; Eichhorn, M. Automated survey of selected common plant species in Thai homegardens using Google Street View imagery and a deep neural network. Earth Sci. Inform. 2021, 14, 179–191. [Google Scholar] [CrossRef]
- Itakura, K.; Hosoi, F. Automatic Tree Detection from Three-Dimensional Images Reconstructed from 360° Spherical Camera Using YOLOv2. Remote Sens. 2020, 12, 988. [Google Scholar] [CrossRef]
- Choi, K.; Lim, W.; Chang, B.; Jeong, J.; Kim, I.; Park, C.R.; Ko, D.W. An Automatic Approach for Tree Species Detection and Profile Estimation of Urban Street Trees Using Deep Learning and Google Street View Images. ISPRS J. Photogramm. Remote Sens. 2022, 190, 165–180. [Google Scholar] [CrossRef]
- Wang, S.; Cao, X.; Wu, M.; Yi, C.; Zhang, Z.; Fei, H.; Zheng, H.; Jiang, H.; Jiang, Y.; Zhao, X.; et al. Detection of Pine Wilt Disease Using Drone Remote Sensing Imagery and an Improved YOLOv8 Algorithm: A Case Study in Weihai, China. Forests 2023, 14, 2052. [Google Scholar] [CrossRef]
- Meta AI. Segment Anything. Research by Meta AI. 2023. Available online: https://ai.meta.com/research/publications/segment-anything/ (accessed on 11 June 2025).
- Kirillov, A.; Mintun, E.; Ravi, N.; Mao, H.; Rolland, C.; Gustafson, L.; Girshick, R. Segment Anything. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Paris, France, 2–6 October 2023; pp. 4015–4026. [Google Scholar]
- Osco, L.P.; Wu, Q.; de Lemos, E.L.; Gonçalves, W.N.; Ramos, A.P.M.; Li, J.; Junior, J.M. The Segment Anything Model (SAM) for Remote Sensing Applications: From Zero to One Shot. Int. J. Appl. Earth Obs. Geoinf. 2023, 124, 103540. [Google Scholar] [CrossRef]
- Brazilian Institute of Geography and Statistics (IBGE). Presidente Prudente: Panorama. 2022. Available online: https://cidades.ibge.gov.br/brasil/sp/presidente-prudente/panorama (accessed on 20 March 2025).
- Furuya, M.T.G.; Furuya, D.E.G.; de Oliveira, L.Y.D.; da Silva, P.A.; Cicerelli, R.E.; Gonçalves, W.N.; Junior, J.M.; Osco, L.P.; Ramos, A.P.M. A Machine Learning Approach for Mapping Surface Urban Heat Island Using Environmental and Socioeconomic Variables: A Case Study in a Medium-Sized Brazilian City. Environ. Earth Sci. 2023, 82, 325. [Google Scholar] [CrossRef]
- Brazilian Institute of Geography and Statistics (IBGE). 2019. Available online: https://cidades.ibge.gov.br/brasil/sp/presidente-prudente/panorama (accessed on 28 March 2025).
- Li, M.; Yao, W. 3D Map System for Tree Monitoring in Hong Kong Using Google Street View Imagery and Deep Learning. ISPRS Ann. Photogramm. Remote Sens. Spat. Inf. Sci. 2020, 3, 765–772. [Google Scholar] [CrossRef]
- Li, C.; Narayanan, A.; Ghobakhlou, A. Overlapping Shoeprint Detection by Edge Detection and Deep Learning. J. Imaging 2024, 10, 186. [Google Scholar] [CrossRef]
- Zhang, J.; Qiang, Z.; Lin, H.; Chen, Z.; Li, K.; Zhang, S. Research on Tobacco Field Semantic Segmentation Method Based on Multispectral Unmanned Aerial Vehicle Data and Improved PP-LiteSeg Model. Agronomy 2024, 14, 1502. [Google Scholar] [CrossRef]
- Wang, P.; Li, C.; Yang, Q.; Fu, L.; Yu, F.; Min, L.; Guo, D.; Li, X. Environment Understanding Algorithm for Substation Inspection Robot Based on Improved DeepLab V3+. J. Imaging 2022, 8, 257. [Google Scholar] [CrossRef]
- Jasim, W.A.N.; Mohammed, R.J. A Survey on Segmentation Techniques for Image Processing. Iraqi J. Electr. Electron. Eng. 2021, 17, 2. [Google Scholar] [CrossRef]
- Wu, Q.; Castleman, K.R. Image Segmentation. In Microscope Image Processing; Academic Press: Cambridge, MA, USA, 2023; pp. 119–152. [Google Scholar] [CrossRef]
- Wang, G.; Chen, Y.; An, P.; Hong, H.; Hu, J.; Huang, T. UAV-YOLOv8: A Small-Object-Detection Model Based on Improved YOLOv8 for UAV Aerial Photography Scenarios. Sensors 2023, 23, 7190. [Google Scholar] [CrossRef]
- Wang, X.; Gao, H.; Jia, Z.; Li, Z. BL-YOLOv8: An Improved Road Defect Detection Model Based on YOLOv8. Sensors 2023, 23, 8361. [Google Scholar] [CrossRef]
- Terven, J.; Córdova-Esparza, D.M.; Romero-González, J.A. A Comprehensive Review of YOLO Architectures in Computer Vision: From YOLOv1 to YOLOv8 and YOLO-NAS. Mach. Learn. Knowl. Extr. 2023, 5, 1680–1716. [Google Scholar] [CrossRef]
- Carion, N.; Massa, F.; Synnaeve, G.; Usunier, N.; Kirillov, A.; Zagoruyko, S. End-to-End Object Detection with Transformers. In Proceedings of the European Conference on Computer Vision (ECCV), Glasgow, UK, 23–28 August 2020; Springer: Cham, Switzerland, 2020; pp. 213–229. [Google Scholar] [CrossRef]
- Yu, L.; Tang, L.; Mu, L. A Review of Detection Transformer: From Basic Architecture to Advanced Developments and Visual Perception Applications. Sensors 2025, 25, 3952. [Google Scholar] [CrossRef] [PubMed]
- Huang, H.; Lan, G.; Wei, J.; Zhong, Z.; Xu, Z.; Li, D.; Zou, F. TLI-YOLOv5: A Lightweight Object Detection Framework for Transmission Line Inspection by Unmanned Aerial Vehicle. Electronics 2023, 12, 3340. [Google Scholar] [CrossRef]
- Su, X.; Zhang, J.; Ma, Z.; Dong, Y.; Zi, J.; Xu, N.; Zhang, H.; Xu, F.; Chen, F. Identification of Rare Wildlife in the Field Environment Based on the Improved YOLOv5 Model. Remote Sens. 2024, 16, 1535. [Google Scholar] [CrossRef]
- Minaee, S.; Boykov, Y.; Porikli, F.; Plaza, A.; Kehtarnavaz, N.; Terzopoulos, D. Image Segmentation Using Deep Learning: A Survey. IEEE Trans. Pattern Anal. Mach. Intell. 2022, 44, 3523–3542. [Google Scholar] [CrossRef]
- Boonpook, W.; Tan, Y.; Nardkulpat, A.; Torsri, K.; Torteeka, P.; Kamsing, P.; Sawangwit, U.; Pena, J.; Jainaen, M. Deep Learning Semantic Segmentation for Land Use and Land Cover Types Using Landsat 8 Imagery. ISPRS Int. J. Geo-Inf. 2023, 12, 14. [Google Scholar] [CrossRef]
- Soylu, B.E.; Guzel, M.S.; Bostanci, G.E.; Ekinci, F.; Asuroglu, T.; Acici, K. Deep-Learning-Based Approaches for Semantic Segmentation of Natural Scene Images: A Review. Electronics 2023, 12, 2730. [Google Scholar] [CrossRef]
- Mazurowski, M.A.; Dong, H.; Gu, H.; Yang, J.; Konz, N.; Zhang, Y. Segment Anything Model for Medical Image Analysis: An Experimental Study. Med. Image Anal. 2023, 89, 102918. [Google Scholar] [CrossRef]
- Carraro, A.; Sozzi, M.; Marinello, F. The Segment Anything Model (SAM) for accelerating the smart farming revolution. Smart Agric. Technol. 2023, 6, 100367. [Google Scholar] [CrossRef]
- Kim, J.; Kim, Y. Integrated framework for unsupervised building segmentation with Segment Anything Model-based pseudo-labeling and weakly supervised learning. Remote Sens. 2024, 16, 526. [Google Scholar] [CrossRef]
- Gong, A.; Yu, J.; He, Y.; Qiu, Z. Citrus yield estimation based on images processed by an Android mobile phone. Biosyst. Eng. 2013, 115, 162–170. [Google Scholar] [CrossRef]
- Baziak, B.; Bodziony, M.; Szczepanek, R. Mountain streambed roughness and flood extent estimation from imagery using the Segment Anything Model (SAM). Hydrology 2024, 11, 17. [Google Scholar] [CrossRef]
- Ma, J.; He, Y.; Li, F.; Han, L.; You, C.; Wang, B. Segment Anything in Medical Images. Nat. Commun. 2024, 15, 654. [Google Scholar] [CrossRef] [PubMed]
- Shi, P.; Qiu, J.; Abaxi, S.M.D.; Wei, H.; Lo, F.P.-W.; Yuan, W. Generalist vision foundation models for medical imaging: A case study of Segment Anything Model on zero-shot medical segmentation. Diagnostics 2023, 13, 1947. [Google Scholar] [CrossRef]
- Zhang, C.; Liu, L.; Cui, Y.; Huang, G.; Lin, W.; Yang, Y.; Hu, Y. A comprehensive survey on Segment Anything Model for vision and beyond. arXiv 2023, arXiv:2305.08196. [Google Scholar] [CrossRef]
- Yan, Z.; Li, J.; Li, X.; Zhou, R.; Zhang, W.; Feng, Y.; Diao, W.; Fu, K.; Sun, X. RingMo-SAM: A foundation model for segment anything in multimodal remote-sensing images. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5625716. [Google Scholar] [CrossRef]
- Hussain, M. YOLO-v1 to YOLO-v8: The rise of YOLO and its complementary nature toward digital manufacturing and industrial defect detection. Machines 2023, 11, 677. [Google Scholar] [CrossRef]
- Zhong, H.; Zhang, Z.; Liu, H.; Wu, J.; Lin, W. Individual tree species identification for complex coniferous and broad-leaved mixed forests based on deep learning combined with UAV LiDAR data and RGB images. Forests 2024, 15, 293. [Google Scholar] [CrossRef]
- Guo, B.; Ling, S.; Tan, H.; Wang, S.; Wu, C.; Yang, D. Detection of the grassland weed Phlomoides umbrosa using multi-source imagery and an improved YOLOv8 network. Agronomy 2023, 13, 3001. [Google Scholar] [CrossRef]
- Korznikov, K.; Kislov, D.; Petrenko, T.; Dzizyurova, V.; Doležal, J.; Krestov, P.; Altman, J. Unveiling the potential of drone-borne optical imagery in forest ecology: A study on the recognition and mapping of two evergreen coniferous species. Remote Sens. 2023, 15, 4394. [Google Scholar] [CrossRef]
- Morera, Á.; Sánchez, Á.; Moreno, A.B.; Sappa, Á.D.; Vélez, J.F. SSD vs. YOLO for detection of outdoor urban advertising panels under multiple variabilities. Sensors 2020, 20, 4587. [Google Scholar] [CrossRef]
- Shu, Z.; Yan, Z.; Xu, X. Pavement crack detection method of street view images based on deep learning. J. Phys. Conf. Ser. 2021, 1952, 022043. [Google Scholar] [CrossRef]
- Hipp, J.R.; Lee, S.; Ki, D.; Kim, J.H. Measuring the built environment with Google Street View and machine learning: Consequences for crime on street segments. J. Quant. Criminol. 2021, 38, 537–565. [Google Scholar] [CrossRef]
- Liu, S.; Ren, T.; Chen, J.; Zeng, Z.; Zhang, H.; Li, F.; Li, H.; Huang, J.; Su, H.; Zhu, J.; et al. Detection transformer with stable matching. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Paris, France, 2–6 October 2023; pp. 6491–6500. [Google Scholar]
- Gupta, A.; Narayan, S.; Joseph, K.J.; Khan, S.; Khan, F.S.; Shah, M. OW-DETR: Open-world detection transformer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022; pp. 9235–9244. [Google Scholar]
- Dai, L.; Liu, H.; Tang, H.; Wu, Z.; Song, P. AO2-DETR: Arbitrary-oriented object detection transformer. IEEE Trans. Circuits Syst. Video Technol. 2023, 33, 2342–2356. [Google Scholar] [CrossRef]
- Zhang, J.; Huang, J.; Luo, Z.; Zhang, G.; Zhang, X.; Lu, S. DA-DETR: Domain adaptive detection transformer with information fusion. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, 18–22 June 2023; pp. 23787–23798. [Google Scholar]
- Zhang, J.; Lin, X.; Zhang, W.; Wang, K.; Tan, X.; Han, J.; Ding, E.; Wang, J.; Li, G. Semi-DETR: Semi-supervised object detection with detection transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, 18–22 June 2023; pp. 23809–23818. [Google Scholar]
- Yang, R.; Yuan, D.; Zhao, M.; Zhao, Z.; Zhang, L.; Fan, Y.; Liang, G.; Zhou, Y. Camellia oleifera Tree Detection and Counting Based on UAV RGB Image and YOLOv8. Agriculture 2024, 14, 1789. [Google Scholar] [CrossRef]
- Que, H.; Gao, H.; Shan, W.; Liu, M.; An, J.; Deng, F.; Feng, S.; Yang, X.; Mu, L. FM-SAM: Individual Tree Crown Delineation and Classification Based on Segmentation Anything Model (SAM) and YOLOv10 in UAV Imagery for Forest Monitoring. Comput. Electron. Agric. 2026, 240, 111162. [Google Scholar] [CrossRef]










| Hyperparameters | YOLOv8 | DETR |
|---|---|---|
| Batch Size | 16 | 8 |
| Image Size | 640 × 640 pixels | 640 × 640 pixels |
| Epochs | 100 | 100 |
| Learning Rate | 0.01 | 0.0005 |
| Optimizer | AdamW | AdamW |
| Inference Time | 0.01 s | 0.7 s |
| Metric | Equation |
|---|---|
| Accuracy | |
| Precision | |
| Recall | |
| F1-score |
| Metric | Street View Images (20 Images) | Mobile Phone Images (20 Images) | All Images (40 Images) |
|---|---|---|---|
| Accuracy | 0.9263 | 0.6341 | 0.7763 |
| F1-score | 0.9394 | 0.6618 | 0.7969 |
| Precision | 0.9540 | 0.6940 | 0.8205 |
| Recall | 0.9263 | 0.6341 | 0.7763 |
| YOLOv8 | Recall | mAP50 | mAP50-95 |
| Dataset 4–SV | 0.749 | 0.830 | 0.517 |
| Dataset 5–MP | 0.751 | 0.849 | 0.614 |
| Dataset 6–SV + MP | 0.766 | 0.844 | 0.540 |
| DETR | Recall | mAP50 | mAP50-95 |
| Dataset 4–SV | 0.218 | 0.455 | 0.169 |
| Dataset 5–MP | 0.684 | 0.847 | 0.563 |
| Dataset 6–SV + MP | 0.219 | 0.355 | 0.130 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Furuya, D.E.G.; Marrafon, G.; Lemos, E.L.d.; Furuya, M.T.G.; Gonçalves, R.D.S.; Gonçalves, W.N.; Junior, J.M.; Bolfe, É.L.; Liesenberg, V.; Osco, L.P.; et al. Identification of Leucaena leucocephala in Urban Landscapes Using Street-Level Images and Deep Learning. Urban Sci. 2026, 10, 192. https://doi.org/10.3390/urbansci10040192
Furuya DEG, Marrafon G, Lemos ELd, Furuya MTG, Gonçalves RDS, Gonçalves WN, Junior JM, Bolfe ÉL, Liesenberg V, Osco LP, et al. Identification of Leucaena leucocephala in Urban Landscapes Using Street-Level Images and Deep Learning. Urban Science. 2026; 10(4):192. https://doi.org/10.3390/urbansci10040192
Chicago/Turabian StyleFuruya, Danielle Elis Garcia, Gleison Marrafon, Eduardo Lopes de Lemos, Michelle Tais Garcia Furuya, Robson Diego Silva Gonçalves, Wesley Nunes Gonçalves, José Marcato Junior, Édson Luis Bolfe, Veraldo Liesenberg, Lucas Prado Osco, and et al. 2026. "Identification of Leucaena leucocephala in Urban Landscapes Using Street-Level Images and Deep Learning" Urban Science 10, no. 4: 192. https://doi.org/10.3390/urbansci10040192
APA StyleFuruya, D. E. G., Marrafon, G., Lemos, E. L. d., Furuya, M. T. G., Gonçalves, R. D. S., Gonçalves, W. N., Junior, J. M., Bolfe, É. L., Liesenberg, V., Osco, L. P., & Ramos, A. P. M. (2026). Identification of Leucaena leucocephala in Urban Landscapes Using Street-Level Images and Deep Learning. Urban Science, 10(4), 192. https://doi.org/10.3390/urbansci10040192

