journal article·2026-06-06Open access

Improved YOLOv8 for Tree Species Detection Using Bark Texture Features

Jihao Yu, Zhelin Cui, Xiaofeng Geng, Yannan Xu, Qizhe Yu

Applied Sciences· Volume 16· Issue 12

Abstract

Tree bark is a relatively stable visual feature for tree species detection because it remains visible throughout the year and is less affected by seasonal changes than leaves or flowers. However, bark-texture-based tree species detection in natural scenes remains challenging because of limited dedicated datasets, subtle inter-class texture differences, complex backgrounds, and scale variation. This work evaluated whether task-oriented multi-scale feature fusion and attention-based feature enhancement can improve YOLOv8s for bark-texture-based tree species detection. To this end, the Tree_bark dataset was constructed, containing 134 annotated classes and 8216 valid images, and YOLOv8s was used as the baseline detector. Three multi-scale enhancement strategies, three lightweight attention mechanisms, and their fused configuration were systematically compared under the same data split and evaluation setting. On the validation set, the baseline YOLOv8s achieved a mAP@0.5 of 0.443, a mAP@0.5:0.95 of 0.339, and a Recall of 0.400. The final fused D1 model, combining WeightedConcat_B1 and EMA, showed the highest overall performance among the compared settings under the current experimental setting, with a mAP@0.5 of 0.485, a mAP@0.5:0.95 of 0.365, and a Recall of 0.435. Compared with the baseline, D1 improved mAP@0.5 by 0.042, mAP@0.5:0.95 by 0.026, and Recall by 0.035. These results indicate that moderate adaptive multi-scale fusion and lightweight attention enhancement can improve bark-texture-based tree species detection in complex natural scenes. The proposed framework provides a useful reference for fine-grained tree species detection based on bark texture, although further validation across broader regions and more complex field conditions is still needed.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Smart Agriculture and AI · Wood and Agarwood Research · Advanced Neural Network Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

College of Forestry, Nanjing Forestry University, Nanjing 210037, China

Co-Innovation Center for Sustainable Forestry in Southern China, Nanjing Forestry University, Nanjing 210037, China

Funding

Jiangsu Forestry Science and Technology Innovation and Promotion Project

References (58)

Show source-provided references
1. Current Status and Development Trends of International Forest Resource Monitoring
2. Review of Image Classification Based on Deep Learning
3. Survey of Application of Deep Learning in Image Recognition
4. Zhang, B. (2024). Research on Image Classification and Applications Based on Deep Learning. [Master’s Thesis, North China Institute of Aerospace Engineering].
5. O’Shea, K., and Nash, R. (2015). An Introduction to Convolutional Neural Networks. arXiv.
6. Tree Leaves Identification System Based on Android Mobile Phone
7. A Convolutional Neural Network Model for Automatic Leaf Recognition10.1007/978-981-16-4435-1_24 ↗
8. Yang, M.M. (2018). Leaf Classification System Based on Hybrid Biogeography-Based Optimization Algorithm and BP Neural Network. [Master’s Thesis, Nanjing Normal University].
9. Algorithm Research on Tree Leaf Recognition Based on Convolutional Neural Network
10. Deep Learning Based Fast Plant Image Recognition
11. Deep Learning for Plant Identification Using Vein Morphological Patterns10.1016/j.compag.2016.07.003 ↗
12. The Analysis of Plants Image Recognition Based on Deep Learning and Artificial Neural Network10.1109/ACCESS.2020.2986946 ↗
13. Sun, W.J. (2022). Research on Image Recognition of Peach Leaf Diseases Based on Deep Learning. [Master’s Thesis, Shandong Agricultural University].
14. Simonyan, K., and Zisserman, A. (2014). Very Deep Convolutional Networks for Large-Scale Image Recognition. arXiv.
15. Plant Leaf Recognition Based on Improved AlexNet Convolutional Neural Network
16. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep Residual Learning for Image Recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
17. Lee, S.H., Chan, C.S., Wilkin, P., and Remagnino, P. (2015, January 27–30). Deep-Plant: Plant Identification with Convolutional Neural Networks. Proceedings of the 2015 IEEE International Conference on Image Processing (ICIP), Quebec City, QC, Canada.10.1109/ICIP.2015.7350839 ↗
18. Mohanty, S.P., Hughes, D.P., and Salathé, M. (2016). Using Deep Learning for Image-Based Plant Disease Detection. Front. Plant Sci., 7.10.3389/fpls.2016.01419 ↗
19. Leaf Shape Based Plant Species Recognition
20. Kumar, N., Belhumeur, P.N., Biswas, A., Jacobs, D.W., Kress, W.J., Lopez, I.C., and Soares, J.V.B. (2012). Leafsnap: A Computer Vision System for Automatic Plant Species Identification. Computer Vision—ECCV 2012, Springer.10.1007/978-3-642-33709-3_36 ↗
21. Fricker, G.A., Ventura, J.D., Wolf, J.A., North, M.P., Davis, F.W., and Franklin, J. (2019). A Convolutional Neural Network Classifier Identifies Tree Species in Mixed-Conifer Forest from Hyperspectral Imagery. Remote Sens., 11.10.3390/rs11192326 ↗
22. Branson, S., Van Horn, G., Belongie, S., and Perona, P. (2014). Bird Species Categorization Using Pose Normalized Deep Convolutional Nets. arXiv.10.5244/C.28.87 ↗
23. Lin, T.-Y., Dollár, P., Girshick, R., He, K., Hariharan, B., and Belongie, S. (2017, January 21–26). Feature Pyramid Networks for Object Detection. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.106 ↗
24. Hu, J., Shen, L., and Sun, G. (2018, January 18–23). Squeeze-and-Excitation Networks. Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00745 ↗
25. A Survey on Transfer Learning10.1109/TKDE.2009.191 ↗
26. Tree Species Recognition Based on Overall Tree Image and Ensemble of Transfer Learning
27. Discrimination of Bark from Wood Chips through Texture Analysis by Image Processing10.1016/j.compag.2011.08.005 ↗
28. Bark and Leaf Fusion Systems to Improve Automatic Tree Species Recognition10.1016/j.ecoinf.2018.05.007 ↗
29. Wood Defects Classification Using Laws Texture Energy Measures and Supervised Learning Approach10.1016/j.aei.2017.09.007 ↗
30. Approaching to the New Identification Parameter on Wood and Bark Based on Image Processing
31. Zhao, Z.L. (2015). Research on Identification of Poplar Species in Beijing Based on Image Analysis. [Master’s Thesis, Beijing Forestry University].
32. Wood Recognition Based on Block Local Binary Pattern (LBP)
33. Blanco, L.J., Travieso, C.M., Quinteiro, J.M., Hernandez, P.V., Dutta, M.K., and Singh, A. (2016, January 11–13). A Bark Recognition Algorithm for Plant Classification Using a Least Square Support Vector Machine. Proceedings of the 2016 Ninth International Conference on Contemporary Computing (IC3), Noida, India.10.1109/IC3.2016.7880233 ↗
34. Ratajczak, R., Bertrand, S., Crispim-Junior, C.F., and Tougne, L. (2019, January 25–27). Efficient Bark Recognition in the Wild. Proceedings of the 14th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications (VISAPP 2019), Prague, Czech Republic.10.5220/0007361902400248 ↗
35. Bark Recognition Using Novel Rotationally Invariant Multispectral Textural Features10.1016/j.patrec.2019.06.027 ↗
36. Bark Texture Classification Using Improved Local Ternary Patterns and Multilayer Neural Network10.1016/j.eswa.2020.113509 ↗
37. Identification of Tree Bark Texture Characteristic Based on Gray Co-Occurrence Matrix and SOM Neural Network
38. Research on Image Recognition of Five Bark Texture Images Based on Deep Learning
39. Wu, Y.F. (2023). Research on Lightweight Image Classification Technology Based on Convolutional Neural Networks. [Master’s Thesis, Yanshan University].
40. Patch-Based CNN Evaluation for Bark Classification
41. Bark Image Recognition Method Based on GoogLeNet
42. Song, X.Q. (2023). Research on Tree Species Recognition Method Based on Improved Residual Network. [Bachelor’s Thesis, Northeast Forestry University].
43. Automated Identification of Tree Species by Bark Texture Classification Using Convolutional Neural Networks10.22214/ijraset.2022.46846 ↗
44. Fleet, D., Pajdla, T., Schiele, B., and Tuytelaars, T. (2014). Visualizing and Understanding Convolutional Networks. Computer Vision—ECCV 2014, Springer.10.1007/978-3-319-10590-1 ↗
45. Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., Erhan, D., Vanhoucke, V., and Rabinovich, A. (2015, January 7–12). Going Deeper with Convolutions. Proceedings of the 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, USA.10.1109/CVPR.2015.7298594 ↗
46. Robert, M., Dallaire, P., and Giguère, P. (2019). Tree Bark Re-Identification Using a Deep-Learning Feature Descriptor. arXiv.10.1109/CRV50864.2020.00012 ↗
47. Deep BarkID: A Portable Tree Bark Identification System by Knowledge Distillation10.1007/s10342-021-01407-7 ↗
48. Classification of Tree Species Based on Hyperspectral Reflectance Images of Stem Bark10.1080/22797254.2022.2161420 ↗
49. Lin, T.-Y., Goyal, P., Girshick, R., He, K., and Dollár, P. (2017, January 22–29). Focal Loss for Dense Object Detection. Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy.10.1109/ICCV.2017.324 ↗
50. Cui, Y., Jia, M., Lin, T.-Y., Song, Y., and Belongie, S. (2019, January 16–20). Class-Balanced Loss Based on Effective Number of Samples. Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA.10.1109/CVPR.2019.00949 ↗
51. Tan, M., Pang, R., and Le, Q.V. (2020, January 13–19). EfficientDet: Scalable and Efficient Object Detection. Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.01079 ↗
52. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27–30). You Only Look Once: Unified, Real-Time Object Detection. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
53. Bochkovskiy, A., Wang, C.-Y., and Liao, H.-Y.M. (2020). YOLOv4: Optimal Speed and Accuracy of Object Detection. arXiv.
54. Wang, C.-Y., Bochkovskiy, A., and Liao, H.-Y.M. (2022). YOLOv7: Trainable Bag-of-Freebies Sets New State-of-the-Art for Real-Time Object Detectors. arXiv.10.1109/CVPR52729.2023.00721 ↗
55. Jocher, G., Qiu, J., and Chaurasia, A. (2026, April 01). Ultralytics YOLOv8. Available online: https://github.com/ultralytics/ultralytics.
56. Zhang, H., and Du, H. (2023). Improved THT Solder Joint in PCB Defect Detection Model Based on YOLOv8. Proceedings of the 2023 3rd International Conference on Computer Science and Blockchain (CCSB), IEEE.10.1109/CCSB60789.2023.10398786 ↗
57. Ferrari, V., Hebert, M., Sminchisescu, C., and Weiss, Y. (2018). CBAM: Convolutional Block Attention Module. Computer Vision—ECCV 2018, Springer.10.1007/978-3-030-01225-0 ↗
58. Huang, W., Li, Y., Zhang, K., Hou, X., Xu, J., Su, R., and Xu, H. (2021). An Efficient Multi-Scale Focusing Attention Network for Person Re-Identification. Appl. Sci., 11.10.3390/app11052010 ↗