ORIGINAL RESEARCH article

Front. Plant Sci., 07 June 2024

Sec. Sustainable and Intelligent Phytoprotection

Volume 15 - 2024 | https://doi.org/10.3389/fpls.2024.1298791

GranoScan: an AI-powered mobile app for in-field identification of biotic threats of wheat

  • 1. Institute of BioEconomy (IBE), National Research Council (CNR), Firenze, Italy

  • 2. Institute of Information Science and Technologies (ISTI), National Research Council (CNR), Pisa, Italy

  • 3. Barilla G. e R. Fratelli S.p.A., Parma, Italy

Abstract

Capitalizing on the widespread adoption of smartphones among farmers and the application of artificial intelligence in computer vision, a variety of mobile applications have recently emerged in the agricultural domain. This paper introduces GranoScan, a freely available mobile app accessible on major online platforms, specifically designed for the real-time detection and identification of over 80 threats affecting wheat in the Mediterranean region. Developed through a co-design methodology involving direct collaboration with Italian farmers, this participatory approach resulted in an app featuring: (i) a graphical interface optimized for diverse in-field lighting conditions, (ii) a user-friendly interface allowing swift selection from a predefined menu, (iii) operability even in low or no connectivity, (iv) a straightforward operational guide, and (v) the ability to specify an area of interest in the photo for targeted threat identification. Underpinning GranoScan is a deep learning architecture named efficient minimal adaptive ensembling that was used to obtain accurate and robust artificial intelligence models. The method is based on an ensembling strategy that uses as core models two instances of the EfficientNet-b0 architecture, selected through the weighted F1-score. In this phase a very good precision is reached with peaks of 100% for pests, as well as in leaf damage and root disease tasks, and in some classes of spike and stem disease tasks. For weeds in the post-germination phase, the precision values range between 80% and 100%, while 100% is reached in all the classes for pre-flowering weeds, except one. Regarding recognition accuracy towards end-users in-field photos, GranoScan achieved good performances, with a mean accuracy of 77% and 95% for leaf diseases and for spike, stem and root diseases, respectively. Pests gained an accuracy of up to 94%, while for weeds the app shows a great ability (100% accuracy) in recognizing whether the target weed is a dicot or monocot and 60% accuracy for distinguishing species in both the post-germination and pre-flowering stage. Our precision and accuracy results conform to or outperform those of other studies deploying artificial intelligence models on mobile devices, confirming that GranoScan is a valuable tool also in challenging outdoor conditions.

1 Introduction

From cell to farm level, scientific advances have always led to a better understanding of how various components of the agricultural system interact (). This is particularly true in the current challenging period, including the global pandemic, supply chain breakdowns, drought-driven by climate change, and war, where precision agriculture needs to face increasing pressure for resource availability in combination with the projected increase in food demand by more than 70% by 2050 (World Bank Group, 2023). For agricultural optimization, emerging technologies, such as big data analysis, the internet of things (IoT), geospatial technologies and artificial intelligence (AI), are promising tools aimed at enhancing crop production and reducing inputs (). AI proposes important contributions to knowledge pattern classification as well as model identification that might solve issues in the agricultural domain (). Computer vision has been utilized to provide accurate, site-specific information about crops and their environments ().

The history of computer vision applied to the agri-food chain started in the mid-1980s, mainly with seed and fruit sorting (; ) and plant identification (). However, the explosion of agricultural computer vision took place at the beginning of the 2010s, with more than 2000 research papers published per year (Web of Science, 2023), thanks to reduced equipment costs and increased computational power (). In the 2010s, highly cited papers reported several applications of computer vision for in-field plant identification (; ; ; ), plant phenotyping (; Ubbens and Stavness, 2017; Virlet et al., 2017; ), fruit counting and quantity and quality evaluation (; ; ; Yu et al., 2019). Since 2020, the previous agricultural themes have been developed through many herbaceous and tree crops considering robotics (; Wu et al., 2020), advanced deep learning (DL) techniques (; ; ), and various real environments (; ). Other new aspects are addressed such as crop type mapping (), soil organic matter prediction (), nutrient content/demand determination (; ) or abiotic stress monitoring (; Zermas et al., 2021; ). In addition, researchers paid particular attention to the pivotal and challenging issue of in-field localization and recognition of pests (; Wang et al., 2021), diseases (; ) and weeds (; ). Regarding wheat crop, the most recent scientific works deal with spike segmentation and counting (; ; ), leaf () and spike () disease identification and post-harvest grain quality monitoring (; ; Zhao et al., 2022).

Applications of the computer vision system in agriculture are promising in unraveling different problems (). They raise productivity, by automating laborious tasks in a non-destructive way, improve quality and ultimately increase the profitability of farmers and other stakeholders (). Nevertheless, open issues still remain to be solved. Considering that computer vision systems leverage AI and especially machine learning (ML), the availability of high-quality data for training these architectures plays a crucial role. In this sense, the preparation of agricultural image datasets is strenuous because of the efforts and costs required for image acquisition, categorization and annotation. Most of the currently published datasets have several limitations, such as the small number of samples and image collection in a non-field environment, without addressing the complexity of open fields (Wang et al., 2021). In addition, although sharing saves significant resources and enables benchmarking of image analysis and machine learning algorithms (), the datasets publicly available are few (). As a case study, Lu and Young () in their survey retrieved 5870 search records, but only 34 datasets complied with the inclusion criteria of public availability (no need for a request to the authors) and image collection in field or quasi-field conditions. Besides, despite there being many general and open-source software libraries and toolkits, such as OpenCV (), TensorFlow (), PyTorch (), scikit-learn (), open-source and end-to-end platforms that develop computer vision systems for the agricultural domain are not so numerous. In brief, we report three examples: AirSurf, an automated and open-source analytic platform to measure yield-related phenotypes from ultra-large aerial imagery (); CoFly, a modular platform incorporating custom-developed AI and information and communication technologies (ICT) for unmanned aerial vehicle (UAV) applications in precision agriculture (); and Fiware, a general framework of open-source platform components for developing and integrating also smart farming solutions ().

Mobile devices and especially smartphones are an extremely popular source of communication for farmers (). In the last decade, a variety of applications (mobile apps) have been developed according to farmers’ needs (). Their added value consists of locating all the different information in one place that farmers can directly and intuitively access (). The photographic record through the embedded smartphone camera and the interpretation or processing of images is the focus of most of the currently existing applications (). In particular, agricultural apps deploy computer vision systems to support decision-making at the crop system level, for protection and diagnosis, nutrition and irrigation, canopy management and harvest.

Analyzing technical gaps associated with the development of accurate, reliable and easy-to-use mobile apps for crop diagnosis, the availability of high-quality data for training deep learning architectures remains an actual bottleneck. This is mainly due both to the lack of in-field data and the efforts (time and labor) required to acquire and pre-process images, i.e. reshaping, resizing, categorization, annotation. In addition, due to legal restrictions, data transfer speeds and network issues, the app’s functioning sometimes may be slowed down (). Regarding issues in using the apps, poor lighting when reading information on small screens, especially in bright field conditions and apps providing too many recommendations with a lack of site-specific information were reported (). Free mobile apps available in digital stores are poorly documented, as the vast majority of apps do not have a supporting peer-reviewed publication. The lack of a solid scientific basis could undermine the reliability of the app, mainly in terms of performance. Other issues in agricultural mobile app development concern social gaps, mostly represented by trust, comfort and affordances in adopting this technology by end users (farmers). The development of a digital tool requires early and ongoing interactions with targeted users to clarify app goals and features, ensure the reliability of scientific input and optimize farmer experience (). Also, training would be beneficial to effectively understand and properly use this type of app. As stated by Thar et al. (), farmers are optimistic about agricultural mobile apps with over 70% of the respondents in their survey willing to use them. The gap arises between the positive attitude toward agricultural mobile apps and the negative usage level of most farmers: this is the real challenge to be tackled.

Regarding crop abiotic and biotic stress recognition and diagnosis, many mobile tools have been implemented so far. They are dedicated both to a set of crops - Leaf Analysis (); E-agree (); the smart system proposed by Chen et al. () - and a specific crop. For example, e-RICE categorizes the symptoms to make an accurate diagnosis of common rice diseases and problems (); the TobaccoApp detects any damage on tobacco leaf caused by fungi (Valdez-Morones et al., 2019); AuToDiDAC detects, separates and assesses the diseases in cacao black pod rot (). Nevertheless, free apps available in online stores and supported by a research paper are quite rare. Among those, it is worth mentioning: ApeX−Vigne, which monitors vine water status using crowdsourcing data (); Plantix, which detects, through deep learning algorithms, diseases, pests, and nutritional deficiencies in 30 crop types (); BioLeaf, which measures in situ foliar damage caused by insects (); PlantifyAI, for diagnosing 26 diseases across 14 crop species by offering also control methods (); and PlantVillage Nuru, which leverages a crowdsensing platform for plant disease diagnosis in developing countries (). Within this group, no mobile applications are specifically dedicated to wheat crop.

Within this framework, the current paper presents GranoScan, a free mobile app dedicated to field users. The most common diseases, pests and weeds affecting wheat both in pre and post-tillering were selected. An automatic system based on open AI architectures and fed with images from various sources was then developed to localize and recognize the biotic agents. After cloud processing, the results are instantly visualized and categorized on the smartphone screen, allowing farmers and technicians to manage wheat rightly and timely. In addition, the mobile app provides a disease risk assessment tool and an alert system for the user community. The design and implementation of GranoScan aim to ensure a foolproof detection system and, at the same time, a user-friendly experience.

The main contributions of the current study are highlighted hereafter:

  • develop a deep learning architecture for recognizing threats affecting wheat, which leverages images directly acquired in the field with the smartphone camera;

  • release a simple-to-use and free smart tool dedicated to farmers and field technicians, implemented through a co-design process together with these stakeholders;

  • create a user community capable of promoting good agricultural practices through the use of the GranoScan app.

The paper is structured as follows: Section 2 showcases the app co-design workflow, the selection of threats and the underpinning deep learning architecture. Section 3 and Section 4 describe and discuss, respectively, the results of the co-design process, the app graphic features and the app performances in recognizing wheat abiotic and biotic stresses, also towards users’ real use. Finally, Section 5 summarizes the usefulness of GranoScan, underlining farmer engagement, and gives previews of the app’s future developments.

2 Materials and methods

2.1 Mobile application co-design (workflow and app design)

Involving potential users in the design of a digital solution is a necessity (). Co-designing activities with farmers for the implementation of a mobile app in agriculture can help ensure that the app meets the needs of its intended users and is effective in providing the expected solutions. Despite restrictions due to the COVID-19 pandemic preventing live meetings, we were able to identify over 40 farmers from different Italian regions who were interested in our project and willing to participate in the design process. Once the group of interested farmers had been identified, we planned monthly online meetings to discuss the app’s purpose and functionality. During these meetings, farmers provided feedback on the features they would like to see in the app and how they would like to use it. This feedback was used to create the first prototype of the app, which was tested and refined through ongoing discussions and feedback from the farmers. This group of farmers was further involved in the app’s prototype promotion, which ensured that a group of over 100 beta testers consisted of farmers. The participatory approach allowed farmers to contribute their knowledge and skills to ensure that the app meets their needs and is user-friendly. Several topics and needs emerged from the discussions: the graphics of the app in terms of colors, icons, and text size to ensure simple use in the field with different light conditions; the request for an easy user-application iteration with a quick selection from a pre-set menu; the possibility of using it even in conditions of poor connectivity or total absence of connection; the ability to handle unknown cases; a quick and simple guide to operating correctly; the option to indicate an area of interest on the photo for which to request recognition; a dedicated section where the results can be consulted at any time; to be informed of any plant diseases found in fields close to their own. Additionally, the 40 farmers, together with technicians, researchers and project partners, were involved in the selection of diseases, pests and weeds.

2.2 Disease, pest and weed selection and image retrieval

As for the app functions and graphics, the stakeholders were requested to contribute to the list of the main biotic agents affecting wheat in the Mediterranean environment. Starting from a scientific literature survey, an intense consultation activity involving farmers, technicians and researchers was carried out, allowing the selection of the target diseases, pests and weeds.

Diseases are represented by those caused by a single fungus or a species complex (Supplementary Table S1). The detected diseases affect all the organs of wheat (root, leaf, stem, spike). Regarding pests (Supplementary Table S2), the focus is mainly on insects but slugs and mites are also included. Insects are recognized in different life cycle stages (egg, larvae, adult). Weeds encompass both monocot and dicot and a species belonging to Tracheophytes, i.e. the common horsetail (Equisetum arvense) (Supplementary Table S3). Weeds are recognized both in the seedling stage (“Biologische Bundesanstalt, Bundessortenamt und CHemische Industrie” (BBCH) scale, stages 10–19) () and from nine true leaves onwards. For seven of the most widespread and hard-to-control species, a phenotyping activity was conducted to create an in-house imagery dataset. The selection was made by considering (i) bottom-up information and specific requests by farmers and technicians, (ii) weeds susceptibility <50% to commercial formulations for chemical control as reported at least twice by field technicians, and (iii) hard to control species considering other methods (agronomical, mechanical, etc.). This way, the training of the developed AI architecture can be boosted with low-cost and high-resolution images (see section 2.2.1). In addition to those biotic agents, frost damage on spikes and cereal leaf beetle (Oulema melanopus) damage on leaves are also encompassed.

Raw images for training the implemented AI architecture were retrieved from different sources, that is stakeholders of the wheat supply chain and research activities. In the first case, farmers and technicians engaged during co-design anonymously shared raw images taken in the field through a dedicated web application (even during the COVID-19 pandemic). In the second case, researchers carried out field scouting and phenotyping activity.

2.2.1 Weed phenotyping

Phenotyping was conducted both on monocots and dicots (Supplementary Table S3), selected through the overall list of weeds recognized by GranoScan. Considering the agronomic relevance of these seven weeds, the phenotyping activity was necessary to enhance the number of images, completing those retrieved from the in-field acquisition. Weed seeds were sown in April and November 2021 in 36 black plastic pots for each species and placed in a growth chamber with optimal microclimatic and agronomic conditions. For image shooting into the open air, a Canon EOS 700D hand-held camera was used. The acquisition was facilitated by using a white panel as a background and performed with homogeneous light conditions (full sunlight/full shade), avoiding mixed situations that could hinder the automatic recognition system. As also suggested by other studies (Wang et al., 2021), photo capture timing, target distances and light conditions did not have a fixed pattern but were deliberately programmed to vary in such a way as to mimic field conditions that a user may experience. The images were acquired until the pre-flowering stage but focus was placed especially on the post-emergence targets (BBCH 10–19) because early identification of weeds allows the control to be more effective. The final phenotyping dataset includes 10810 images and is publicly shared in an open-access repository ().

2.3 Image dataset processing

The dataset has been divided into nine parts, as in Table 1. Each part contains images suited for a specific identification and classification task. For instance, the “Leaf disease” task refers to identifying in the image possible areas interested by disease, e.g. parts of the leaves on which the signs of Septoria are visible. The total number of images is 67302. This number is given by the number of original images retrieved from different sources (31335, number of real images, Table 1) supplemented by additional images obtained by a data augmentation procedure for leaf disease, leaf damage, spike disease, spike damage, stem disease and root disease tasks (Table 1). In this procedure, random rotations, and changes in tone and intensity were applied to obtain variants of the original images, increasing the size of the dataset, excluding pests and weeds tasks, by approximately a factor of 6. Indeed, note that the number is not divisible by 6, since augmented images were used only in the training and validation phases and not in the testing one. Moreover, the augmented images were re-checked manually and visually inspected to remove those in which the transformation had led to underexposed and overexposed images or produced a crop excluding the area of interest.

Table 1

TaskClassesNumber of real imagesNumber of images after augmentation
Leaf disease6: healthy, Blumeria graminis f. sp. tritici, Puccinia recondita f. sp. tritici, Puccinia striiformis f. sp. tritici, Puccinia graminis f. sp. tritici, Septoria tritici534512259
Leaf damage2: healthy, damaged by Oulema melanopus91011027
Spike disease5: healthy, Fusarium graminearum, Blumeria graminis f. sp. tritici, Puccinia graminis f. sp. tritici, Stagonospora nodorum8319009
Spike damage2: healthy, damaged by frost3264651
Stem disease3: healthy, Blumeria graminis f. sp. tritici, Puccinia graminis f.sp.tritici,4686475
Root disease2: healthy, root rot (Gaeumannomyces graminis, Fusarium spp., Bipolaris sorokiniana)32458
Pests36: Oulema melanopus (larvae, adult), Haplodiplosis marginata (larvae, adult), Mayetiola destructor (larvae, adult), Contarina tritici (larvae, adult), Sitodiplosis mosellana (larvae, adult), Eurygaster maura (egg, adult), Aelia rostrata (egg, adult), Sitobion avenae (larvae, adult), Rhopalosiphum padi (larvae, adult), Agriotes (larvae, adult), Chlorops pumilionis (larvae, adult), Oscinella frit (larvae, adult), Delia coarctata (larvae, adult), Dermaptera (adult), Myriapoda (adult), Carabidae-Chrysomelidae-Curculionidae (adult), Noctua (adult), Arachnida (adult), Arion-Deroceras-Limax (adult), Coccinella (egg, larvae, pupa and adult)36223622
Post-germination weeds36: Alopecurus myosuroides, Anthemis arvensis, Apera spica-venti, Avena sterilis, Bifora radians, Brassica rapa subs. oleifera, Capsella bursa-pastoris, Centaurea cyanus, Cerastium holosteoides, Cirsium arvense, Convolvulus arvensis, Convolvulus sepium, Equisetum arvense, Fallopia convolvulus, Fumaria officinalis, Galeopsis tetrahit, Galium aparine, Geranium molle, Lamium purpureum, Lolium spp., Matricaria chamomilla, Oxalis spp., Papaver rhoeas, Phalaris spp., Poa annua, Poa trivialis, Polygonum aviculare, Polygonum persicaria, Ranunculus arvensis, Raphanus raphanistrum, Sinapis arvensis, Stellaria media, Veronica hederifolia, Veronica persica, Vicia spp., Viola spp.1501015010
Pre-flowering weeds36: same species as post-germination weeds47914791

The GranoScan dataset.

The datasets were then annotated and conditioned in a task-specific fashion. In particular, in tasks related to pests, weeds and root diseases, for which a deep learning model based on image classification is used, all the images have been cropped to produce square images and then resized to 512x512 pixels. Images were then divided into subfolders corresponding to the classes reported in Table 1.

In all the other tasks, where an object detection model is used, the images were first annotated by manually drawing a set of rectangular areas in which particular diseases or damages are visible (Figure 1). Each rectangle is labeled with the classes reported in Table 1 for a total of 58101 annotations before data augmentation. To this end, the annotation tool LabelImg () was used. Afterward, all the images were resized to 256x256 pixels for leaf, spike and stem diseases.

Figure 1

2.4 Deep learning architecture

To obtain a classification system for the images we collected, we opted to use an original method that we studied and implemented. More in detail, to get accurate and robust AI models, we used a deep learning architecture named efficient minimal adaptive ensembling that we already tested () by setting the new state-of-the-art with an accuracy of 100% on the Plantvillage public dataset. The method is based on an ensembling strategy that uses as core models two instances of the EfficientNet-b0 architecture. More precisely, the EfficientNet family () consists of 8 instances, numbered from EfficientNet-b0 to EfficientNet-b7, that have an increasing complexity and number of parameters. All the members of the EfficientNet family have been designed to have efficiency as a target and have been obtained by using a structured method to generate a compound scaling of the network’s depth, width and resolution. According to previous works and experimental evidence (), the b0 variant of the EfficientNet family fits better with the need for the GranoScan app to provide results with high accuracy and low latency. In addition, instead of using one single instance of trained EfficientNet-b0, we have adopted the ensembling technique, which aims to transform a number of weak models (in the present case, each one represented by a single EfficinetNet-b0) into a strong classifier named “ensemble” model. Ensembling is performed by an innovative strategy of performing bagging at the deep feature level. Namely, only the convolutional layers of each trained weak model are kept, while the final decisional layers are neglected; in this way, each weak model is turned into an extractor of deep features. The deep features of each weak model are then concatenated and fed to a trainable final decision layer (), to which we refer for more details on the ensembling construction).

The proposed method encompasses eight main design choices: (i) first, data stratification was introduced to cope with unbalanced data and allow improved performances; (ii) transfer learning was used for providing a faster convergence, specifically instances of EfficientNet-b0 networks pre-trained on the ImageNet task were used as initial models; (iii) cross-entropy loss was employed, given the multiclass nature of all the addressed problems and class-imbalance issues; such loss is a natural choice since it exponentially penalizes differences between predicted and true values, expressed as the probability of the class to which they belong; (iv) Adabelief optimizer was selected for faster convergence and better generalization, also (v) making use of regularization to improve robustness to noises; (vi) the weighted F1-score, which takes into account misclassification and unbalanced data, was employed; (vii) ensembling was performed using the minimum number of weak classifiers (that is, two) in a such a way as to improve overall classification performances (as demonstrated experimentally) while limiting complexity; (viii) the resulting ensemble was fine-tuned only, reducing the ensemble training complexity.

The training and validation process for the ensemble model involved dividing each dataset into training, testing, and validation sets with an 80–10-10 ratio. Specifically, we began with end-to-end training of multiple models, using EfficientNet-b0 as the base architecture and leveraging transfer learning. Each model was produced from a training run with various combinations of hyperparameters, such as seed, regularization, interpolation, and learning rate. From the models generated in this way, we selected the two with the highest F1 scores across the test, validation, and training sets to act as the weak models for the ensemble. The original decision layers of these weak models were removed, and a new decision layer was added, using the concatenated outputs of the two weak models as input. This new decision layer was trained and validated on the same training, validation, and test sets while keeping the convolutional layers from the original weak models frozen. Lastly, a fine-tuning process was applied to the entire ensemble model to achieve optimal results.

The ensembling is performed using a linear combination layer that takes as input the concatenation of the features processed by the weak models and returns the linear mapping into the output space. During the fine-tuning, the parameters of the weak models are frozen and the linear layer only is trained. In this way, the resulting ensemble is efficient because the computational costs are very close to the cost of a single model (because only a small fraction of the parameters are updated and, since the weak models are independent, it is possible to parallelize their training) and adaptive (because the layer performing the ensemble is trained on the real data and it is not a mere aggregation function, as commonly used).

For the sake of the reproducibility of the results, further considerations about the architecture and its training are collected. The kernel sizes of the weak models are the standard blocks in the EfficientNet-b0 as reported in the original paper (). As a rule of thumb, Stride 2 was used for depth convolutional blocks, while Stride 1 was selected for all the other ones. As an activation function borrowed from the EfficientNet family, SiLU (i.e. Sigmoid Linear Unit) was preferred over ReLU (i.e. Rectified Linear Unit). This activation function is a particular case obtained by setting β = 1 in the Swish activation function (). SiLU inherits two good properties from its more general variant: it is smooth and less sensitive to the vanishing gradients problem with respect to ReLU. In the training procedures, the maximum number of epochs was set to 100. An early stopping mechanism was used and assigned to 10 epochs without improvements (i.e. in technical jargon, the patience was set to 10). Generally, after 18–20 epochs, the models reached their best performance. The learning rate was set to 0.0005 and was not changed during training.

2.5 App security and interaction with the deep learning model

Security-related issues are of pivotal importance to guarantee data protection and user privacy. In GranoScan, the authorization filter has been implemented following OAuth2.0-like specifications to guarantee a high-level security standard. All data are transmitted and received in an encrypted way and the resources accessibility is managed by a temporary access token generated by the system and it can be regenerated through a refresh token. To minimize the throughput of requests for tokens management, refresh and access tokens are stored in a specific private area of the mobile app until the time expires.

Regarding the development and deployment of the app, GranoScan follows AgroSat () APIs specifications and implements Flutter technologies to ease GranoScan porting on Android and iOS devices. The GranoScan app is released and maintained on Google and Apple app stores.

The deep learning model runs on a dedicated server that is not reachable by the mobile app directly. Interactions between the mobile app and deep learning server are managed by AgroSat APIs that receive data and requests by the mobile app, apply pre-processing activities, send data to the deep learning server, wait for results, store and send them back to GranoScan. Figure 2 shows the internal architecture of the proposed solution, highlighting data flows among the GranoScan mobile app, AgroSat server and AI server.

Figure 2

3 Results

3.1 GranoScan co-design

The co-development process began in December 2019, with an initial exploration of the information needs and challenges faced by farmers in identifying insects, weeds and diseases, as well as evaluating farmers’ readiness to use phone-based digital tools. Among 40 participants, 80% identified the experience constraint (lack of references/knowledge) as the major constraint in the wheat threats recognition and reporting as clear examples of what usually happens in the recognition of weeds in post-germination and the experience that took place in previous years when the spikelets were damaged by late frost. The remaining 20% identified the major constraint in the timeliness of recognition and then receiving technical support. Among the 40 participants, a mismatch between the expected skills in using smartphone-based tools and the real ones clearly emerged, even just in the use of the camera and its settings. That said, the application was designed considering the following requests:

  • - to have a simple layout in terms of color, text and icons with the adoption of colors that can make use of the app simple in the disparate light conditions that can be encountered in the field (Figures 36) to provide, step-by-step, a brief guide to how the app works, which can be viewed or skipped;

  • - to provide a simplified menu to select the target (disease, weed, insect, damage, plant stage and plant organ) to photograph and make available the possibility of choosing the “I am not sure “ case where the user is not able to select the target to photograph (Figure 3);

  • - to optimize the use of the camera automatically and make camera parameter adjustment options available;

  • - after taking the photo, give the possibility to draw or not an area of interest to pay attention to for recognition (Figure 4A); otherwise, the central area of the image is selected (Figure 4B);

  • - to provide a summary of what was selected, and the photo taken before sending it for recognition (Figure 4C);

  • - to receive notification of the result as soon as it is available (Figure 5A), as well as always have all the results available in a dedicated tab (Figure 5B);

  • - to show the recognition results in decreasing order of accuracy (with a minimum threshold of 40%) for the image classification models and up to a maximum of 3 results (top 3);

  • - to show all the recognition results in decreasing order of accuracy (with a minimum threshold of 30%) for the image object detection models;

  • - to turn recognition results on the photo on or off (Figure 5C);

  • - to have the possibility to delete images from the results tab.

Figure 3

Figure 4

Figure 5

Figure 6

Furthermore, the exact previous percentages also emerged in indicating as fundamental: (i) the application must always be ready and running while working in the field (80% of the farmers), (ii) be informed in advance of the risk of disease to schedule field visit (20% of the farmers). In this regard, the application was designed with the possibility of working offline (without network coverage), enabling all menus, taking a photo (max 5 offline) and leaving everything in the buffer until the smartphone is hooked up to the net again to send the photo and receive the model output. At the same time, both to meet secondary needs and to create a community always updated, the possibility of receiving an anonymous notification relating to disease recognitions near one’s field (within 5 km) has been implemented (Figures 6A, B).

3.2 Deep learning results

In this section, the results regarding the performances of the deep learning architecture are reported. Figure 7 shows confusion matrices for leaf disease, spike disease, stem disease, root disease, spike damage and leaf damage, respectively (panels A-F). Overall, a very good precision is reached in this phase, with peaks of 100% in leaf damage and root disease tasks and in some classes of spike and stem disease tasks. A precision of 99% is gained in the leaf disease task in every class excluding Puccinia g. (95%) and Septoria (94%). In the first case, the algorithm wrongly identifies as Puccinia g. leaves affected by Puccinia r. and Septoria; in the latter, Blumeria g., Puccinia r. and Puccinia g. are confused with Septoria. The spike disease task presents the most inhomogeneous results among the object detection models. Indeed, alongside precision percentages that nearly achieve (99% and 98% for Blumeria and Puccinia g., respectively) or reach the maximum (100% Stagonospora), there is a small portion of diseased spikes (5%) misrecognized as healthy. Fusarium head blight class has a weak performance, with a precision of 40%. The algorithm misclassifies as Fusarium all the other classes of the task: 20% of the analyzed regions of interest are actually healthy spikes, 20% are Blumeria, 10% Puccinia and 10% Stagonospora. For spike damages, a precision of 96% is reached in recognizing the negative impact of frost on wheat spikes, while the algorithm mistook mostly Puccinia g. for Blumeria g. (81% precision) in the stem disease tasks.

Figure 7

As for disease and damage tasks, pests and weeds, for the latter in both the post-germination and the pre-flowering stages, show very high precision values of the models (Figures 810). In particular, most of the classes in the pest task report a precision of 100% and only three a slightly lower value (99%) (Figures 8A, B). For weeds in the post-germination phase, the trend in the precision values is similar to that observed for pests but there are two classes not reaching the top value. Sinapis arvensis is misclassified as Brassica rapa (96%). In addition, Raphanus raphanistrum is wrongly recognized by the models as Lamium purpureum (80%) (Figures 9A, B). Instead, a precision value of 100% in all the classes for pre-flowering weeds is gained, except in one case (96% precision) (Figures 10A, B).

Figure 8

Figure 9

Figure 10

Figure 11

3.3 GranoScan performances towards users’ real use

This section reports the performance of the mobile app in detecting and recognizing wheat threats directly in the field. Images were acquired by GranoScan users in the 2022 growing season (photos from March to July). In Figure 11A, classification results for leaf diseases are shown. Blumeria, Puccinia s. and Septoria are perfectly recognized by the system (100% precision and recall). This is due both to the high number of images used in the deep learning architecture development phase for these diseases and the good amount of target objects provided by the users (equal to 114). Regarding Puccinia r., on one side the system shows a precision of 40%, inasmuch as it recognizes Puccinia g. and other threats as Puccinia r.; on the other, in some cases, Puccinia r. is not detected and is confused with other threats affecting wheat (recall 44.4%). Among leaf diseases, Puccinia g. has the worst performance: the system is not able to recognize it when actually present on the wheat leaf. Indeed, it is misclassified as Puccinia r. and other threats; in addition, other threats are wrongly classified as Puccinia g. Considering the lower occurrence of this disease with respect to other wheat rusts and the unfavorable climatic conditions for the fungus growth in spring 2022 in the Italian area, a limited number of users’ photos (9) were collected with initial disease symptoms. This could explain such a result in recognizing Puccinia g. In some cases, the AI tool classifies small, flat and non-dusty dark spots caused by other fungi or physiological deficiencies (e.g. micro-nutrients), which are not encompassed in the GranoScan wheat threat list, as brown (Puccinia r.) or black rust (Puccinia g.). Overall, for the leaf disease classification task, the macro-average precision is 0.574 while the macro-average recall is 0.567; the mean accuracy of the system results of about 77%.

Spike, stem and root diseases have been grouped and classification results are reported in Figure 11B. For these three tasks, the images acquired by GranoScan thanks to the users’ field activity make it possible to obtain a fairly limited number of recognition responses (44). Nevertheless, the overall accuracy of the AI tool is high, yielding a value of 95%. Root rot, Fusarium head blight and stem powdery mildew are correctly classified by the system. Only Puccinia g. on the stem doesn’t reach the top accuracy but still reports a good precision value (75%). In particular, in two cases, other threats affecting wheat are misclassified as stem black rust. For spike-stem-root classification, the macro-average precision is 0.8 while the macro-average recall is 0.75.

Regarding the pest classification task, the app returns the top 3 results (see section 3.1). The top 1 classification result has an overall accuracy of 80% while the top 3 reaches a value of 94%, i.e. the first response of the system is always correct in 80% of cases and the right recognition result is provided by the top 3 in 94% of cases, respectively (data not shown).

For weeds, GranoScan shows a great ability (100% accuracy) in recognizing whether the target weed is a dicot or monocot in both the post-germination and pre-flowering stages while it gains an accuracy of 60% for distinguishing species. The latter performance is negatively affected by some users’ photos capturing weeds which are not encompassed in the GranoScan wheat threat list and therefore not classified by the proposed models (data not shown).

4 Discussion

GranoScan () is the first free mobile app dedicated to the in-field detection and recognition of over 80 threats (diseases, pests, weeds, biotic/abiotic damages) affecting wheat. GranoScan, available in the main online stores, is aimed at all users of the wheat supply chain to provide support in the localization and recognition of the main threats directly in the field. Potential users are represented by agronomists, consultants and elevators, but the app is mainly addressed to farmers. Embracing the idea that there is a need to involve the potential users of the tool under design in the design processes (), we adopted a co-design approach involving a group of farmers. Co-design is a process to rapidly develop technologies better matched to user needs () and seeks to build and maintain a shared conception of the design problem to allow collaboration (). By involving heterogeneous stakeholders in the collective exploration of solutions to a common problem, we sought to overcome the linear model reported by Berthet et al (). consisting of scientific and technical knowledge produced in research organizations, further development of technologies carried out through public and private technical institutes that disseminate innovation to farmers, being the end-users. As recommended by Eastwood et al. (), we engaged with farmers early in the problem definition stage and the development of the app’s initial prototype. Then, we evolved the co-design process into a second phase involving ICT experts to further develop prototype concepts; finally, we re-engaged farmers in testing. This workflow allows to tackle some of the main barriers constraining ICT adoption by farmers, such as inadequate computer skills, unawareness of the potential of ICT solutions to contribute to the farm business and access to broadband in rural areas (Wims and Byrne, 2015).

In the first phase, we held monthly meetings to discuss the app’s purpose and functionality and to gather feedback on the app’s features and use. Farmers expressed ideas on what a profitable mobile app would look like and mentioned design features such as simplicity, user-friendliness, offline options, tutorial boxes and data security measures (e.g. log-in procedure). Careful development of the application interface in terms of visual aesthetics is important (), as it is usually the first characteristic that a user notices when downloading an application and in turn could affect the functionality and usability of the app (). We discussed with farmers app graphic features, such as colors, icons and text size, also evaluating their appropriateness to the different light conditions that can occur in the field. Also buttons, icons and menus on the screen were designed to ensure an easy user navigation between components and an intuitive interaction between components, with a quick selection from a pre-set menu. To ensure the usability of GranoScan also with poor connectivity or no connection conditions affecting rural areas in some cases, the app allows up to 5 photos to be taken, which are automatically transmitted as soon as the network is available again. Once the photo upload is complete, the implemented synchronization system allows new shots both online and offline. Farmers also expressed the need to be informed of any plant diseases found in fields close to their own. For this purpose, an alert system was developed exploiting the smartphone push notifications that remind users of the app feature and improve the app’s usage frequency. Finally, farmers were involved in the early stages of GranoScan implementation starting from the aesthetics and functionality to the technical content regarding crop protection. In this sense, they represented a source of advice and a term of comparison for selecting the most widespread and threatening diseases, pests and weeds affecting wheat in the Italian area.

In the second phase of the co-design process, after the first prototype release, the farmers involved were asked to test the app respecting their real working conditions (early prototype testing) () and provide further feedback to adjust and refine the design. When the final prototype was completed, the first group of farmers was involved in the prototype promotion towards a bigger group of farmers (peer-to-peer activity). The task was designed this way since farmers represent a category of practitioners who prefer peer-to-peer learning and are experiential learners (). We followed and embraced this co-design approach because it is crucial to design new technologies jointly with farmers in a participatory manner rather than imposing them and expecting end users to adopt and adapt ().

Regarding the performances of AI tool model development, the results show a very positive trend with high levels of precision. The proposed AI models are, therefore, certainly a key component and a central contribution of the paper; yet, their innovative points rely not only on the introduction of an innovative deep learning approach capable of addressing plant science problems but mainly on the effective training of such models and their integration in an operative service thanks to the proposed mobile app for in-field identification of wheat threats. It should be noted that a few classification tasks could be improved, as for Blumeria g. among the stem diseases. In this case, the dimmed light conditions of images acquired in the lower part of the stem and the similarity of symptoms (black spot) between Puccinia g. and Blumeria g. in the later growth stages could represent the main reasons for this misclassification. In addition, Fusarium head blight in the spike disease task shows the lower precision of the dataset. This could be mainly due to many dataset images with the co-occurrence of a high number of spikes and varied coloring of spike and fungal bodies shifting from wheat flowering, post-flowering till harvest stage. For the weed classification task, only two species (Brassica rapa and Lamium purpureum) don’t reach the top value of precision in the post-emergence stage. The misclassification could be explained by the similarity of the seedlings (in the case of Brassica rapa vs. Sinapis arvensis both species belong to the Brassicaceae family), and above all by the small dimensions (often < 2 cm) of the target objects in the images, where plant details are hard to distinguish.

Regarding recognition accuracy towards end-users’ in-field photos, GranoScan achieved very good performances, overall. Our results conform to or outperform those of other studies deploying AI models on mobile devices. It is worth noting that there is a lack of scientific works dealing with this topic that validate their results through an external image dataset, as is done in this study (see section 3.3). So, the comparison of the results is somewhat hindered. For leaf diseases, recognition performances are excellent (100% accuracy for powdery mildew, Septoria and yellow rust), except for brown rust (44.4% accuracy). Johannes et al. (). reported accuracy values for septoria and rusts (calculated for yellow and brown rust together) of 79% and 81%, respectively while Picon et al. (). (which extended the previous work) improved model performance by gaining an accuracy of 96% for Septoria and 98% for rusts. In both studies, the results were validated under real conditions, in different study sites. Performing a disease and non-disease classification for wheat yellow rust, Tang et al. (). achieved accuracies ranging from 79% to 86% by independently validating the system on a published dataset from Germany. Therefore, considering the mean accuracy for the two classes of yellow and brown rust (76%), our results are in line with the cited papers, outperforming Septoria while gaining slightly lower results for rusts. On the other hand, the system is not able to correctly classify images from users framing black rust. This could be due to the limited amount of original training images (120 for leaf black rust). As for other classes, data augmentation, which provides a promising means to address the insufficiency of collected images, is used here to algorithmically expand the scale of the dataset. However, it seems that the main reason for such a performance could also be the limited number of images from users (only 9) during 2022. In this sense, a new deep learning approach dealing with small sample-size datasets, such as that presented by Liu and Zhang (), is demonstrating effectiveness and feasibility in disease classification tasks. Diseases affecting other wheat organs have excellent classification performances; only black rust on the stem presents a slightly lower value.

The system gains very good performances also in recognizing pests (80 and 94% top 1 and top 3 accuracies, respectively), with slightly lower results with respect to Karar et al. (). This study presents a classification accuracy of 98.9% on five groups of pests (aphids, Cicadellidae, flax budworm, flea beetles and red spider) but without validating the AI model through an external dataset. Regarding weed recognition, GranoScan obtains excellent results (100% accuracy) in distinguishing if a weed is a monocot or a dicot, while it reaches an accuracy of 60% in species classification. In the first case, our results outperform other studies () while in the second present a slightly lower value (e.g. 77% for Madsen et al. () gained by processing the images with a workstation and without evaluating the AI tool through an external dataset). These performances in weed recognition are mainly due to the high number of training images for target species. It is worth noting that the most essential building block for an AI model is the underlying data used to train it (). In addition, enabling computer vision for precision agriculture requires vast (e.g. tens of thousands of images) and specialized datasets, especially collected under a realistic environment, to account for a wide range of field conditions (). In this sense, the AI model for weed classification task in GranoScan benefits from an in-house image dataset built through a long phenotyping activity. In the framework of precision agriculture, interest in the early management of weeds, knowing if they are dicots or monocots, makes our results very valuable for final users. Identifying whether the target plant is a grass or broadleaf weed provides crucial information for management strategies, such as active ingredients for chemical control. Thus, pushing the recognition down to the species detail may not be so determining ().

Looking at the few unsatisfactory performances of GranoScan, we are conscious that troubleshooting is not straightforward. Indeed, most AI models for automatic diseases, pests and weeds recognition suffer from reduced performance when applied to real environment images previously unseen (). The main reasons are: (i) many discriminative details and features of crop threats are small, blurred, hidden and lacking in details, making the targets hard to distinguish from the background; (ii) the diversity and complexity of scenes in the field cause a variety of challenges, including dense or sparse distribution, illumination variations and occlusion (; Wang et al., 2021).

Briefly comparing GranoScan on recognition features towards other diagnostic apps, which are supported by scientific articles and listed in the Introduction section, these are the main outcomes. ApeX−Vigne () monitors water status using crowdsourcing data but is dedicated to grapevine and hence is not suitable for a proper comparison. BioLeaf () measures only foliar damage caused by insects, estimating the percentage of foliar surface disrupted (% defoliation); it encompasses neither insect species recognition nor other categories of threats. PlantVillage Nuru (), leveraging a crowdsensing platform, performs disease diagnosis in developing countries for several plant species; in the crop list, there is wheat but currently diseases affecting this crop are not recognized and the app works only in survey mode for images acquisition. PlantifyAI () is developed for diagnosing diseases across several crop species, including wheat, and offers also control methods; unfortunately, the diagnosis tool for disease recognition is available only by paying a weekly/annual fee. Plantix () detects diseases, pests, and nutritional deficiencies in 30 crops, including wheat; the app is well organized and the graphic interface is user-friendly. The app has also an alert tool for pests and diseases. However, by testing the app on wheat diseases, the recognition results are not always in accordance with the target and, in complex images (i.e. occluded and with dense vegetation), often the output results as “unknown disease detected”. Besides, no weed recognition is provided. In this framework, to continuously optimize the proposed app, future work will be dedicated to comparing GranoScan with other agricultural apps not included in the current research.

GranoScan was officially released in spring 2022, so our results take into account only one growing season (image data from users of the 2023 wheat growing season are not included in this study). We are confident in better future performances since AI model updates are scheduled and a growing amount of in-field images is expected. In this sense, after a supervision process conducted by crop science researchers for all the incoming images, the new photos will enrich the training dataset. This way, the expanding dataset thanks to user activity and the self-learning techniques on which the app is based will allow GranoScan to gain continuously improving results.

GranoScan is an evolving tool and future improvements will include the AI model update (also switching from label to pixel classification to optimize the recognition of critical diseases, such as Puccinia r.), the enrichment of training image dataset drawing also from external sources, translating the app interface into other languages to allow its use in the entire Mediterranean area and, following the co-design approach, the extension of the recognition task to new wheat threats thanks to user feedback. Besides, the already ongoing data trade-off services, such as the geolocation of acquired images, between the web platform AgroSat () and GranoScan will be boosted.

5 Conclusions

This research presents the development and first results of GranoScan, a mobile app for localization and in-field recognition of the main threats affecting wheat based on an ensembling strategy that uses two instances of the EfficientNet-b0 architecture as core models. It is one of the first mobile apps available for free in the main online stores created within a research project. GranoScan is addressed to field users, particularly farmers, which contributed to the app implementation through a co-design approach.

The idea and the development of GranoScan stand from the necessity to give to the wheat chain stakeholders (mainly farmers and technicians) a digital tool free, easy to use and always accessible. To the best of our knowledge, a mobile app specifically dedicated to the recognition of wheat abiotic and biotic stresses, supported by a public scientific activity and co-designed together with end users, is lacking. GranoScan is based on a large dataset (almost 70000 images) due to the need for robust training and validation of AI models, especially when the tool is dedicated to outdoor recognition activity. In this sense, every time threat identification is a challenge considering changes in light, climate conditions and phenotypic expressions of wheat varieties that can affect how a threat arises. Tackling these issues, the study contributes to generating a new deep learning architecture gaining recognition performances equal to or better than other similar mobile applications. To fill the gap between the positive attitude toward a new agricultural app and the negative usage level as experienced by other studies, an original co-design approach was used throughout the implementation process of the app, from the collection of user needs to the choice of operative solutions and system debugging. As one of the major contributions of the study, the research activity managed to establish successfully a trained user community, able to promote and spread the GranoScan app among other farmers.

Within this framework, the usefulness of GranoScan can be summarized as follows:

  • - to improve user skills in recognizing uncommon threats affecting wheat;

  • - to facilitate the user in requesting technical advice in the field, through support on threat recognition;

  • - to allow the in-field geolocation of threats, to facilitate new inspections and/or verify the effectiveness of phytosanitary treatments;

  • - to promote tools (risk model and early warning) that allow a timely management plan to ensure economic and environmental sustainability;

  • - to create a community of farmers always updated about the threat pressure near their fields.

Two crucial factors emerge from this study that can support future development of agricultural apps: (i) the importance of adopting a user-centered design to enhance the capacity of all farmers to participate in, contribute to, and benefit from agricultural innovation development; (ii) the engagement of farmers from the initial stages of tool implementation turns out to be a win-win solution. The first element proved to be a guarantee of achievement of an app that is simple and effortless to use, accessible to and understood by all farmers; the second one unleashed farmers in involving other farmers and this increased the source of information (photos) used for training our AI models. Indeed, one of the biggest challenges in solving agricultural problems using artificial intelligence approaches is the lack of available large datasets from field conditions. As potential expansions, more wheat threats will be included in GranoScan functionalities as well as the translation of the app in multilanguage to assist farmers in the whole Mediterranean area further.

Statements

Data availability statement

The original contributions presented in the study are publicly available (see the weed phenotyping image dataset). This data can be found here: https://doi.org/10.5281/zenodo.7598372.

Author contributions

RD: Conceptualization, Data curation, Investigation, Methodology, Visualization, Writing – original draft, Writing – review & editing. AB: Data curation, Formal analysis, Methodology, Software, Writing – original draft. MM: Data curation, Formal analysis, Methodology, Software, Writing – original draft. DM: Data curation, Formal analysis, Methodology, Software, Writing – original draft. LR: Software, Writing – review & editing. SM: Writing – review & editing. EF: Writing – review & editing. MS: Writing – review & editing. SA: Writing – review & editing. PL: Writing – review & editing. PT: Conceptualization, Data curation, Formal analysis, Funding acquisition, Methodology, Project administration, Supervision, Validation, Visualization, Writing – original draft, Writing – review & editing.

Funding

The author(s) declare that no financial support was received for the research, authorship, and/or publication of this article.

Conflict of interest

SM, EF, MS, SA and PL were employed by Barilla G. e R. Fratelli S.p.A.

The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Supplementary material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fpls.2024.1298791/full#supplementary-material

References

  • 1

    AgaAziziS.RasekhM.Abbaspour-GilandehY.KianmehrM. H. (2021). Identification of impurity in wheat mass based on video processing using artificial neural network and PSO algorithm. J. Food Process. Preserv.45, 113. doi: 10.1111/jfpp.15067

  • 2

    AgroSat (2023). Available at: https://www.agrosat.it (Accessed September 1, 2023).

  • 3

    AhsanM.EshkabilovS.CemekB.KüçüktopcuE.LeeC. W.SimsekH. (2022). Deep learning models to determine nutrient concentration in hydroponically grown lettuce cultivars (Lactuca sativa L.). Sustain.14. doi: 10.3390/su14010416

  • 4

    AzimiS.WadhawanR.GandhiT. K. (2021). Intelligent monitoring of stress induced by water deficiency in plants using deep learning. IEEE Trans. Instrum. Meas.70, 113. doi: 10.1109/TIM.2021.3111994

  • 5

    BaoW.ZhaoJ.HuG.ZhangD.HuangL.LiangD. (2021). Identification of wheat leaf diseases and their severity based on elliptical-maximum margin criterion metric learning. Sustain. Comput. Inf. Syst.30. doi: 10.1016/j.suscom.2021.100526

  • 6

    BarcelliniF.ProstL.CerfM.BerthetE. T.HickeyG. M.KlerkxL.et al. (2022). Designers’ and users’ roles in participatory design: What is actually co-designed by participants? Agric. Syst.195, 19. doi: 10.1016/j.agsy.2018.06.004

  • 7

    BauerA.BostromA. G.BallJ.ApplegateC.ChengT.LaycockS.et al. (2019). Combining computer vision and deep learning to enable ultra-scale aerial phenotyping and precision agriculture: A case study of lettuce production. Hortic. Res.6. doi: 10.1038/s41438-019-0151-5

  • 8

    BerlageA. G.CooperT. M.CaroneR. A. (1984). Seed sorting by machine vision. Agric. Eng.65, 1417.

  • 9

    BerthetE. T.HickeyG. M.KlerkxL. (2018). Opening design and innovation processes in agriculture: Insights from design and management sciences and future directions. Agric. Syst.165, 111115. doi: 10.1016/j.agsy.2018.06.004

  • 10

    Borraz-MartínezS.TarrésF.BoquéR.MestreM.SimóJ.GrasA. (2022). Varietal quality control in the nursery plant industry using computer vision and deep learning techniques. J. Chemom.36, 111. doi: 10.1002/cem.3320

  • 11

    BrunoA.MoroniD.DainelliR.RocchiL.MorelliS.FerrariE.et al. (2022). Improving plant disease classification by adaptive minimal ensembling. Front. Artif. Intell.5. doi: 10.3389/frai.2022.868926

  • 12

    BrunoA.MoroniD.MartinelliM. (2023). Efficient adaptive ensembling for image classification. Expert Syst.1–12. doi: 10.1111/exsy.13424

  • 13

    ChenC. J.HuangY. Y.LiY. S.ChangC. Y.HuangY. M. (2020). An AIoT based smart agricultural system for pests detection. IEEE Access8, 180750180761. doi: 10.1109/Access.6287639

  • 14

    ColettaA.BartoliniN.MaselliG.KehsA.McCloskeyP.HughesD. P. (2022). Optimal deployment in crowdsensing for plant disease diagnosis in developing countries. IEEE Internet Things J.9, 63596373. doi: 10.1109/JIOT.2020.3002332

  • 15

    CuberoS.AleixosN.MoltóE.Gómez-SanchisJ.BlascoJ. (2011). Advances in machine vision applications for automatic inspection and quality evaluation of fruits and vegetables. Food Bioprocess Technol.4, 487504. doi: 10.1007/s11947-010-0411-8

  • 16

    da CostaA. Z.FigueroaH. E. H.FracarolliJ. A. (2020). Computer vision based detection of external defects on tomatoes using deep learning. Biosyst. Eng.190, 131144. doi: 10.1016/j.biosystemseng.2019.12.003

  • 17

    DainelliR.MartinelliM.BrunoA.MoroniD.MorelliS.SilvestriM.et al. (2023). “Recognition of weeds in cereals using AI architecture,” in Precision agriculture, 23, ed. Ed. StaffordJ. V. (Wageningen Academic Publishers, Wageningen), 1128. doi: 10.3920/978–90-8686–947-3_49

  • 18

    DavidE.MadecS.Sadeghi-TehranP.AasenH.ZhengB.LiuS.et al. (2020). Global wheat head detection (GWHD) dataset: A large and diverse dataset of high-resolution RGB-labelled images to develop and benchmark wheat head detection methods. Plant Phenomics2020, 12. doi: 10.34133/2020/3521852

  • 19

    de CastroA. I.Torres-SánchezJ.PeñaJ. M.Jiménez-BrenesF. M.CsillikO.López-GranadosF. (2018). An automatic random forest-OBIA algorithm for early weed mapping between and within crop rows using UAV imagery. Remote Sens. 201810, 285. doi: 10.3390/rs10020285

  • 20

    EastwoodC. R.TurnerF. J.RomeraA. J. (2022). Farmer-centered design: An affordances-based framework for identifying processes that facilitate farmers as co-designers in addressing complex agricultural challenges. Agric. Syst.195, 103314. doi: 10.1016/j.agsy.2021.103314

  • 21

    FahlgrenN.GehanM. A.BaxterI. (2015). Lights, camera, action: High-throughput plant phenotyping is ready for a close-up. Curr. Opin. Plant Biol.24, 9399. doi: 10.1016/j.pbi.2015.02.006

  • 22

    Fiware (2023). Available at: https://www.fiware.org/ (Accessed September 1, 2023).

  • 23

    FonteijnH.AfonsoM.LensinkD.MooijM.FaberN.VroegopA.et al. (2021). Automatic phenotyping of tomatoes in production greenhouses using robotics and computer vision: From theory to practice. Agronomy11. doi: 10.3390/agronomy11081599

  • 24

    FuL.MajeedY.ZhangX.KarkeeM.ZhangQ. (2020). Faster R–CNN–based apple detection in dense-foliage fruiting-wall trees using RGB and depth features for robotic harvesting. Biosyst. Eng.197, 245256. doi: 10.1016/j.biosystemseng.2020.07.007

  • 25

    GalloI.RehmanA. U.DehkordiR. H.LandroN.La GrassaR.BoschettiM. (2023). Deep object detection of crop weeds: performance of YOLOv7 on a real case dataset from UAV images. Remote Sens.15, 539. doi: 10.3390/rs15020539

  • 26

    GardienP.DjajadiningratT.HummelsC.BrombacherA. (2014). Changing your hammer: The implications of paradigmatic innovation for design practice. Int. J. Des.8, 119139.

  • 27

    GhosalS.BlystoneD.SinghA. K.GanapathysubramanianB.SinghA.SarkarS. (2018). An explainable deep machine vision framework for plant stress phenotyping. Proc. Natl. Acad. Sci. U. S. A115, 46134618. doi: 10.1073/pnas.1716999115

  • 28

    GranoScan (2023). Available at: https://www.granoscan.it/ (Accessed September 1, 2023).

  • 29

    GrinblatG. L.UzalL. C.LareseM. G.GranittoP. M. (2016). Deep learning for plant identification using vein morphological patterns. Comput. Electron. Agric.127, 418424. doi: 10.1016/j.compag.2016.07.003

  • 30

    GuyerD. E.MilesG. E.SchreiberM. M.MitchellO. R.VanderbiltV. C. (1986). Machine vision and image processing for plant identification. Trans. ASAE Am. Soc Agric. Eng.29, 15001507. doi: 10.13031/2013.30344

  • 31

    HamudaE.GlavinM.JonesE. (2016). A survey of image processing techniques for plant extraction and segmentation in the field. Comput. Electron. Agric.125, 184199. doi: 10.1016/j.compag.2016.04.024

  • 32

    HeX.ZhaoT.ShenF.LiuQ.FangY.HuQ. (2021). Online detection of naturally DON contaminated wheat grains from China using Vis-NIR spectroscopy and computer vision. Biosyst. Eng.201, 110. doi: 10.1016/j.biosystemseng.2020.11.001

  • 33

    HendrycksD.GimpelK. (2016). Gaussian Error Linear Units (GELUs). arXiv, 1606.08415.

  • 34

    HøyeT. T.ÄrjeJ.BjergeK.HansenO. L. P.IosifidisA.LeeseF.et al. (2021). Deep learning and computer vision will transform entomology. Proc. Natl. Acad. Sci. U. S. A.118, 110. doi: 10.1073/pnas.2002545117

  • 35

    IatrouM.KarydasC.IatrouG.PitsiorlasI.AschonitisV.RaptisI.et al. (2021). Topdressing nitrogen demand prediction in rice crop using machine learning systems. Agric.11, 117. doi: 10.3390/agriculture11040312

  • 36

    InwoodS. E. E.DaleV. H. (2019). State-of-apps-targeting-management-for-sustainability-of-agricultural-landscapes-A-review2019Agronomy-for-sustainable-development.pdf. Agron. Sustain. Dev.39. doi: 10.1007/s13593-018-0549-8

  • 37

    JinX.LiuS.BaretF.HemerléM.ComarA. (2017). Estimates of plant density of wheat crops at emergence from very low altitude UAV imagery. Remote Sens. Environ.198, 105114. doi: 10.1016/j.rse.2017.06.007

  • 38

    JohannesA.PiconA.Alvarez-GilaA.EchazarraJ.Rodriguez-VaamondeS.NavajasA. D.et al. (2017). Automatic plant disease diagnosis using mobile capture devices, applied on a wheat use case. Comput. Electron. Agric.138, 200209. doi: 10.1016/j.compag.2017.04.013

  • 39

    JungJ.MaedaM.ChangA.BhandariM.AshapureA.Landivar-BowlesJ. (2021). The potential of remote sensing and artificial intelligence as tools to improve the resilience of agriculture production systems. Curr. Opin. Biotechnol.70, 1522. doi: 10.1016/j.copbio.2020.09.003

  • 40

    KararM. E.AlsunaydiF.AlbusaymiS.AlotaibiS. (2021). A new mobile application of agricultural pests recognition using deep learning in cloud computing system. Alexandria Eng. J.60, 44234432. doi: 10.1016/j.aej.2021.03.009

  • 41

    KennyU.ReganÁ. (2021). Co-designing a smartphone app for and with farmers: Empathising with end-users’ values and needs. J. Rural Stud.82, 148160. doi: 10.1016/j.jrurstud.2020.12.009

  • 42

    KirkM.SteeleJ.DelbeC.CrowL.KeebleJ.FrickeC.et al. (2011). Connected Agriculture: The role of mobile in driving efficiency and sustainability in the food and agriculture value chain. Oxfam report.

  • 43

    KumarY.DubeyA. K.AroraR. R.RochaA. (2022). Multiclass classification of nutrients deficiency of apple using deep neural network. Neural Comput. Appl.34, 84118422. doi: 10.1007/s00521-020-05310-x

  • 44

    LezocheM.PanettoH.KacprzykJ.HernandezJ. E.Alemany DíazM. M. E. (2020). Agri-food 4.0: A survey of the supply chains and technologies for the future agriculture. Comput. Ind.117. doi: 10.1016/j.compind.2020.103187

  • 45

    LiuK.ZhangX. (2023). PiTLiD: identification of plant disease from leaf images based on convolutional neural network. IEEE/ACM Trans. Comput. Biol. Bioinforma.20, 12781288. doi: 10.1109/TCBB.2022.3195291

  • 46

    LobetG. (2017). Image analysis in plant sciences: publish then perish. Trends Plant Sci.22, 559566. doi: 10.1016/j.tplants.2017.05.002

  • 47

    LuY.YoungS. (2020). A survey of public datasets for computer vision tasks in precision agriculture. Comput. Electron. Agric.178. doi: 10.1016/j.compag.2020.105760

  • 48

    MaJ.LiY.DuK.ZhengF.ZhangL.GongZ.et al. (2020). Segmenting ears of winter wheat at flowering stage using digital images and deep learning. Comput. Electron. Agric.168. doi: 10.1016/j.compag.2019.105159

  • 49

    MaChadoB. B.OrueJ. P. M.ArrudaM. S.SantosC. V.SarathD. S.GoncalvesW. N.et al. (2016). BioLeaf: A professional mobile application to measure foliar damage caused by insect herbivory. Comput. Electron. Agric.129, 4455. doi: 10.1016/j.compag.2016.09.007

  • 50

    MadsenS. L.MathiassenS. K.DyrmannM.LaursenM. S.PazL. C.JørgensenR. N. (2020). Open plant phenotype database of common weeds in Denmark. Remote Sens.12, 1012. doi: 10.3390/RS12081246

  • 51

    McCampbellM.SchumannC.KlerkxL. (2022). Good intentions in complex realities: Challenges for designing responsibly in digital agriculture in low-income countries. Sociol. Ruralis62, 279304. doi: 10.1111/soru.12359

  • 52

    MeierU. (2018). Growth stages of mono- and dicotyledonous plants: BBCH Monograph (Berlin: Blackwell Publishing Ltd). doi: 10.5073/20180906–074619

  • 53

    MendesJ.PinhoT. M.Dos SantosF. N.SousaJ. J.PeresE.Boaventura-CunhaJ.et al. (2020). Smartphone applications targeting precision agriculture practices - A systematic review. Agronomy10, 144. doi: 10.3390/agronomy10060855

  • 54

    MeshramV.PatilK.MeshramV.HanchateD.RamktekeS. D. (2021). Machine learning in agriculture domain: A state-of-art survey. Artif. Intell. Life Sci.1, 100010. doi: 10.1016/j.ailsci.2021.100010

  • 55

    MiragaiaR.ChávezF.DíazJ.VivasA.PrietoM. H.MoñinoM. J. (2021). Plum ripeness analysis in real environments using deep learning with convolutional neural networks. Agronomy11, 126. doi: 10.3390/agronomy11112353

  • 56

    MisraT.AroraA.MarwahaS.Ranjan JhaR.RayM.KumarS.et al. (2022). Yield-spikeSegNet: an extension of spikeSegNet deep-learning approach for the yield estimation in the wheat using visual images. Appl. Artif. Intell.36, 2137642. doi: 10.1080/08839514.2022.2137642

  • 57

    MorcoR. C.CorpuzM. J. S.CalandaF. B.AvestroJ. E.BonillaJ. A.AngelesJ. M. (2017). e-RICE: an expert system using rule-based algorithm to detect, diagnose, and prescribe control options for rice plant diseases in the Philippines. ACM Int. Conf. Proceeding Ser., 4954. doi: 10.1145/3168390.3168431

  • 58

    NagarajuM.ChawlaP.UpadhyayS.TiwariR. (2022). Convolution network model based leaf disease detection using augmentation techniques. Expert Syst.39, 119. doi: 10.1111/exsy.12885

  • 59

    NowakowskiA.MrziglodJ.SpillerD.BonifacioR.FerrariI.MathieuP. P.et al. (2021). Crop type mapping by using transfer learning. Int. J. Appl. Earth Obs. Geoinf98, 011. doi: 10.1016/j.jag.2021.102313

  • 60

    OpenCV (2023). Available at: https://opencv.org/ (Accessed September 1, 2023).

  • 61

    OrkaN. A.UddinM. N.ToushiqueF. (2023). OLID I: an open leaf image dataset for plant stress recognition. Front. Plant Sci.17. doi: 10.3389/fpls.2023.1251888

  • 62

    PatelH.PatelD. (2016). Survey of android apps for agriculture sector. Int. J. Inf. Sci. Tech.6, 6167. doi: 10.5121/ijist.2016.6207

  • 63

    PatrícioD. I.RiederR. (2018). Computer vision and artificial intelligence in precision agriculture for grain crops: A systematic review. Comput. Electron. Agric.153, 6981. doi: 10.1016/j.compag.2018.08.001

  • 64

    PetrellisN. (2019). Plant disease diagnosis for smart phone applications with extensible set of diseases. Appl. Sci.9. doi: 10.3390/app9091952

  • 65

    PichonL.BrunelG.PayanJ. C.TaylorJ.Bellon-MaurelV.TisseyreB. (2021). ApeX-Vigne: experiences in monitoring vine water status from within-field to regional scales using crowdsourcing data from a free mobile phone application. Precis. Agric.22, 608626. doi: 10.1007/s11119-021-09797-9

  • 66

    PiconA.Alvarez-GilaA.SeitzM.Ortiz-BarredoA.EchazarraJ.JohannesA. (2019). Deep convolutional neural networks for mobile capture device-based crop disease classification in the wild. Comput. Electron. Agric.161, 280290. doi: 10.1016/j.compag.2018.04.002

  • 67

    PonceJ. M.AquinoA.AndújarJ. M. (2019). Olive-fruit variety classification by means of image processing and convolutional neural networks. IEEE Access7, 147629. doi: 10.1109/Access.6287639

  • 68

    ProstL. (2021). Revitalizing agricultural sciences with design sciences. Agric. Syst.193. doi: 10.1016/j.agsy.2021.103225

  • 69

    PyTorch (2023). Available at: https://pytorch.org/ (Accessed September 1, 2023).

  • 70

    RahnemoonfarM.SheppardC. (2017). Deep count: Fruit counting based on deep simulated learning. Sensors (Switzerland)17, 112. doi: 10.3390/s17040905

  • 71

    RajM.GuptaS.ChamolaV.ElhenceA.GargT.AtiquzzamanM.et al. (2021). A survey on the role of Internet of Things for adopting and promoting Agriculture 4.0. J. Netw. Comput. Appl.187. doi: 10.1016/j.jnca.2021.103107

  • 72

    RaptisE. K.EnglezosK.KyprisO.KrestenitisM.KapoutsisA. C.IoannidisK.et al. (2023). CoFly: An automated, AI-based open-source platform for UAV precision agriculture applications. SoftwareX23, 101414. doi: 10.1016/j.softx.2023.101414

  • 73

    ReddyS.PawarA.RasaneS.KadamS. (2015). A survey on crop disease detection and prevention using android application. Int. J. Innov. Sci. Eng. Technol.2, 621626.

  • 74

    RehkuglerG. E.ThroopJ. A. (1986). Apple sorting with machine vision. Trans. ASAE29, 13881397. doi: 10.13031/2013.30327

  • 75

    SantosT. T.de SouzaL. L.dos SantosA. A.AvilaS. (2020). Grape detection, segmentation, and tracking using deep neural networks and three-dimensional association. Comput. Electron. Agric.170. doi: 10.1016/j.compag.2020.105247

  • 76

    Scikit-learn (2023). Available at: https://scikit-learn.org (Accessed September 1, 2023).

  • 77

    SewellA. M.HartnettM. K.GrayD. I.BlairH. T.KempP. D.KenyonP. R.et al. (2017). Using educational theory and research to refine agricultural extension: affordances and barriers for farmers’ learning and practice change. J. Agric. Educ. Ext.23, 313333. doi: 10.1080/1389224X.2017.1314861

  • 78

    SharmaP.BerwalY. P. S.GhaiW. (2020). Performance analysis of deep learning CNN models for disease detection in plants using image segmentation. Inf. Process. Agric.7, 566574. doi: 10.1016/j.inpa.2019.11.001

  • 79

    ShrimaliS. (2021). PlantifyAI: A novel convolutional neural network based mobile application for efficient crop disease detection and treatment. Proc. Comput. Sci.191, 469474. doi: 10.1016/j.procs.2021.07.059

  • 80

    SiddiquaA.KabirM. A.FerdousT.AliI. B.WestonL. A. (2022). Evaluating plant disease detection mobile applications: quality and limitations. Agronomy12. doi: 10.3390/agronomy12081869

  • 81

    SishodiaR. P.RayR. L.SinghS. K. (2020). Applications of remote sensing in precision agriculture: A review. Remote Sens.12, 131. doi: 10.3390/rs12193136

  • 82

    SuW. H.ZhangJ.YangC.PageR.SzinyeiT.HirschC. D.et al. (2020). Automatic evaluation of wheat resistance to fusarium head blight using dual mask-RCNN deep learning frameworks in computer vision. Remote Sens. 202113, 26. doi: 10.3390/rs13010026

  • 83

    TanM.LeQ. V. (2019). EfficientNet: rethinking model scaling for convolutional neural networks. "Proceedings of the 36th International Conference on Machine Learning, ICML 2019, Long Beach,9-15, 61056114.

  • 84

    TanD. S.LeongR. N.LagunaA. F.NgoC. A.LaoA.AmalinD. M.et al. (2018). AuToDiDAC: automated tool for disease detection and assessment for cacao black pod rot. Crop Prot.103, 98102. doi: 10.1016/j.cropro.2017.09.017

  • 85

    TanejaP.VasavaH. K.DaggupatiP.BiswasA. (2021). Multi-algorithm comparison to predict soil organic matter and soil moisture content from cell phone images. Geoderma385. doi: 10.1016/j.geoderma.2020.114863

  • 86

    TangZ.WangM.SchirrmannM.DammerK. H.LiX.BrueggemanR.et al. (2023). Affordable high throughput field detection of wheat stripe rust using deep learning with semi-automated image labeling. Comput. Electron. Agric.207, 107709. doi: 10.1016/j.compag.2023.107709

  • 87

    TeimouriN.JørgensenR. N.GreenO. (2022). Novel assessment of region-based CNNs for detecting monocot/dicot weeds in dense field environments. Agronomy12. doi: 10.3390/agronomy12051167

  • 88

    TenhunenH.PahikkalaT.NevalainenO.TeuholaJ.MattilaH.TyystjärviE. (2019). Automatic detection of cereal rows by means of pattern recognition techniques. Comput. Electron. Agric.162, 677688. doi: 10.1016/j.compag.2019.05.002

  • 89

    TensorFlow (2023). Available at: https://www.tensorflow.org (Accessed September 1, 2023).

  • 90

    TharS. P.RamilanT.FarquharsonR. J.PangA.ChenD. (2021). An empirical analysis of the use of agricultural mobile applications among smallholder farmers in Myanmar. Electron. J. Inf. Syst. Dev. Ctries.87, 114. doi: 10.1002/isd2.12159

  • 91

    TibbettsJ. H. (2018). The frontiers of artificial intelligence. Bioscience68, 510. doi: 10.1093/biosci/bix136

  • 92

  • 93

    UbbensJ. R.StavnessI. (2017). Deep plant phenomics: A deep learning platform for complex plant phenotyping tasks. Front. Plant Sci.8. doi: 10.3389/fpls.2017.01190

  • 94

    Valdez-MoronesT.Pérez-EspinosaH.Avila-GeorgeH.OblitasJ.CastroW. (2019). “An Android App for detecting damage on tobacco (Nicotiana tabacum L.) leaves caused by blue mold (Penospora tabacina Adam),” in Appl. Softw. Eng. - Proc. Guadalajara, Mexico: 7th International Conference On Software Process Improvement (CIMPS), 2018, 125129. doi: 10.1109/CIMPS.2018.8625628

  • 95

    VirletN.SabermaneshK.Sadeghi-TehranP.HawkesfordM. J. (2017). Field Scanalyzer: An automated robotic field phenotyping platform for detailed crop monitoring. Funct. Plant Biol.44, 143153. doi: 10.1071/FP16163

  • 96

    WangR.LiuL.XieC.YangP.LiR.ZhouM. (2021). Agripest: A large-scale domain-specific benchmark dataset for practical agricultural pest detection in the wild. Sensors21, 115. doi: 10.3390/s21051601

  • 97

  • 98

    WimsP.ByrneC. (2015). Irish farmers’ use of ICTs and their preferences for engagement with extension. J. Ext. Syst.31. doi: 10.18765/jes.v31i1.5626

  • 99

    World Bank Group (2023). Available at: https://www.worldbank.org (Accessed September 1, 2023).

  • 100

    WuX.AravecchiaS.LottesP.StachnissC.PradalierC. (2020). Robotic weed control using automated weed and crop classification. J. F. Robot.37, 322340. doi: 10.1002/rob.21938

  • 101

    YuY.ZhangK.YangL.ZhangD. (2019). Fruit detection for strawberry harvesting robot in non-structural environment based on Mask-RCNN. Comput. Electron. Agric.163. doi: 10.1016/j.compag.2019.06.001

  • 102

    ZermasD.NelsonH. J.StanitsasP.MorellasV.MullaD. J.PapanikolopoulosN. (2021). A methodology for the detection of nitrogen deficiency in corn fields using high-resolution RGB imagery. IEEE Trans. Autom. Sci. Eng.18, 18791891. doi: 10.1109/TASE.2020.3022868

  • 103

    ZhaoW.LiuS.LiX.HanX.YangH. (2022). Fast and accurate wheat grain quality detection based on improved YOLOv5. Comput. Electron. Agric.202, 107426. doi: 10.1016/j.compag.2022.107426

Summary

Keywords

deep learning, in-field recognition, disease, pest, weed, winter cereals, free mobile app, co-design thinking

Citation

Dainelli R, Bruno A, Martinelli M, Moroni D, Rocchi L, Morelli S, Ferrari E, Silvestri M, Agostinelli S, La Cava P and Toscano P (2024) GranoScan: an AI-powered mobile app for in-field identification of biotic threats of wheat. Front. Plant Sci. 15:1298791. doi: 10.3389/fpls.2024.1298791

Received

22 September 2023

Accepted

07 May 2024

Published

07 June 2024

Volume

15 - 2024

Edited by

Yingying Dong, Chinese Academy of Sciences (CAS), China

Reviewed by

Xiujun Zhang, Chinese Academy of Sciences (CAS), China

Sangyeon Lee, Korea Advanced Institute of Science and Technology (KAIST), Republic of Korea

Sunil Gc, North Dakota State University, United States

Updates

Copyright

*Correspondence: Riccardo Dainelli, ; Massimo Martinelli,

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article

Article metrics