Methods in Ecology and Evolution (Apr 2024)

Deep learning‐ and image processing‐based methods for automatic estimation of leaf herbivore damage

  • Zihui Wang,
  • Yuan Jiang,
  • Abdoulaye Baniré Diallo,
  • Steven W. Kembel

DOI
https://doi.org/10.1111/2041-210X.14293
Journal volume & issue
Vol. 15, no. 4
pp. 732 – 743

Abstract

Read online

Abstract Quantifying the intensity of leaf herbivory pressure is crucial for understanding the interaction between plants and herbivores in both applied and basic science. Visual estimates and digital analysis have been commonly used to estimate leaf herbivore damage but are time‐consuming which limits the amount of data that can be collected and prevent answering big picture questions that require large‐scale sampling of herbivory pressure. Recent developments in deep learning have provided a potential tool for automatic collection of ecological data from various sources. However, most applications have focused on identification and counting, and there is a lack of deep learning tools for quantitative estimation of leaf herbivore damage. Here, we trained generative adversarial networks (GANs) to predict the intact status of damaged leaves and applied image processing technique to estimate the area and percentage of leaf damage. We first described procedures for collecting leaf images, training GAN models, predicting intact leaves and calculating leaf area, with a Python package provided to enable hands‐on application of these procedures. Then, we collected a large leaf data set to train a universal deep learning model and developed an online app HerbiEstim to allow direct use of pretrained models to estimate herbivory damage of leaves. We tested these methods using both simulated and real leaf damage data. The procedures provided in our study greatly improved the efficiency of leaf herbivore damage estimation. Our test demonstrated that the reconstruction of damaged leaf image resembled the ground‐truth image with a similarity of 98.8%. The estimation of leaf herbivore damage exhibited a high accuracy with an averaged root mean square error of 1.6% and had a general applicability to different plant taxa and leaf shapes. Overall, our work demonstrated the feasibility of applying deep learning techniques to quantify leaf herbivory intensity. The use of GANs allows automatic estimation of leaf damage, representing a major advantage of the method. The Python package and the online app with pre‐trained models will facilitate the use of our method for the analysis of large data sets of plant–herbivore interactions.

Keywords