Figures
Abstract
Over 95% of cashew apples are left to waste and rot on the ground. However, both cashew nuts and the often overlooked cashew apples possess significant nutritional and economic value. The cashew apple constitutes the major part (90%) of the cashew fruit, with the nut forming a modest portion (10%). Cashew nuts can be harvested and processed even after lying on the ground, but cashew apples are more delicate. Assessing the maturity status of these apples still requires human visual observation due to the challenges posed by their moisture content. Timely harvesting is crucial, as the pseudofruit is prone to microbial infections upon hitting the ground, making the process time- and labor-intensive. In this study, a Deep Learning based image classification model is presented, which can be used to automatically identify mature cashew apples. The model achieved an accuracy of 95.58% in classifying the cashew apples (immature vs. mature). Overall, the results highlight the potential of Deep Learning models for the classification of cashew apples and other fruits for precision agriculture purposes. This approach could enhance the harvesting process by enabling the utilization of the entire fruit and reducing the need for manual labor, thereby unlocking the full economic potential of the cashew tree.
Citation: Winklmair M, Sekulic R, Kraus J, Penava P, Buettner R (2025) A deep learning based approach for classifying the maturity of cashew apples. PLoS One 20(6): e0326103. https://doi.org/10.1371/journal.pone.0326103
Editor: Shengqian Sun, Yantai Institute of Technology, CHINA
Received: December 19, 2024; Accepted: May 25, 2025; Published: June 25, 2025
Copyright: © 2025 Winklmair et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All data descriptions underlying the findings in the paper are available here: https://doi.org/10.1016/j.dib.2023.109952 (Sanya R, Nabiryo AL, Tusubira JF, Murindanyi S, Katumba A, Nakatumba-Nabende J. Coffee and cashew nut dataset: A dataset for detection, classification, and yield estimation for machine learning applications. Data in Brief. 2024 Feb;52:109952). The dataset used in this work is publicly accessible under the following link: https://doi.org/10.17632/r46c6bpfpf.1.
Funding: This publication has been funded by the Open-Access-Publication-Fund of the Helmut-Schmidt-University/University of the Federal Armed Forces Hamburg. R.B. received the funding. The funder played no role in the study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
Introduction
Cashew (Anacardium occidentale L.) has emerged as the second most popular nut in the global market [1]. The cashew industry stands out as one of the most dynamic and lucrative cash crop sectors worldwide [2,3].
While cashew nut harvesting practices are widely spread globally [4], there is little to no information about adequately harvesting and utilizing the cashew apple [5,6].
The cashew nut (10%) makes up only a small part of the cashew fruit, while the cashew apple is the main part (90%), as shown in Fig 1 [7]. Despite this, the cashew apple, a pseudo-fruit, remains largely underutilized as a food product [8]. The apple has excellent nutritional value, six times higher in vitamin C than citrus juice [9]. Moreover, due to its high flavonoid content, it is associated with weight loss and is beneficial for diabetic patients [7,10].
In addition to the overall valuable characteristics of the cashew apple, various studies highlight the financial potential of farming, processing, and selling cashew apple products [11–13]. A wide range of value-added products can be made from cashew apples, such as juice, jam, wine, candy, and flour [14]. Additionally, the apples can also be used as animal feed and as a dietary fiber substitute in food products [15]. Because of this potential, this underutilized natural resource could undoubtedly bring additional socio-economic value to farmers and reduce poverty overall [12,16]. Developing countries’ economic success is often closely linked to the success of their agricultural sector [17], making this a substantial opportunity [5].
However, over 95% of the cashew apples are wasted and not being used for monetary valorization [18]. The major challenge for utilizing the apple is the missing information about the marketability and especially the complexity of the harvesting process [7,18–20]. When the cashew fruit (nut + apple) is mature, it falls from the tree on the ground. The nut can be harvested later [21], however, the apple needs to be discarded [21–23]. Because of high moisture, cashew apples are highly prone to rapid microbial spoilage [23]. They are metabolically active and are considered too delicate and perishable for international trade [24]. Therefore, it is of central necessity to harvest and process the apple at the optimal time [21,25].
The rise of precision agriculture leverages sensing technologies to address spatial and temporal crop variations [26,27]. Key components include UAVs, sensors, GPS, and remote sensing devices that capture real-time data on soil conditions, weather, and crop maturity [28–31]. This data-driven approach helps farmers make informed decisions and optimize harvesting practices [32]. Agronomists often visit orchards to evaluate the amount of fruits, their maturity, and their expected harvest time through visual observation, which is time and cost-intensive [33], complicating optimal maturity harvesting [21]. Therefore, integrating automated systems for accurate and efficient fruit maturity classification is essential [34,35]. Machine- and Deep Learning offer promising solutions for this automation. Machine Learning technologies have significantly impacted precision agriculture [36], employing techniques like Random Forest, Support Vector Machine, and K-Nearest Neighbor for various applications [31,37–39]. Studies show significant accuracy improvements with Machine Learning models, such as 66.5% for palm fruits, 90.35% for tomatoes, 97.69% for mangoes, and 97.99% for loquats [40–43]. While traditional statistical methods achieve satisfactory accuracy, Deep Learning, particularly Convolutional Neural Networks (CNNs), promise even higher accuracy. CNNs have broad applications in agriculture and reduce human labor [44–47]. Several applications have reached impressive accuracies: 90% for dragon fruit, 91.25% for bananas, and up to 100% for papayas and hawthorns [48–51]. These advancements modernized traditional farming practices and enhanced the accuracy and efficiency of fruit maturity classification, often surpassing manual methods, with CNN-based approaches demonstrating exceptional accuracies.
Despite these advances, images taken for precision agriculture often contain noise due to factors such as the atmospheric environment and utilized equipment like UAVs, giving the need for model optimization [52–54]. However, there is a notable gap in research regarding the maturity classification of cashew apples using innovative Deep Learning approaches. While recognizing the valuable contributions of related work, there remains untapped potential in applying similar methodologies to cashew apples in order to improve accuracy benchmarks within this specific use case. Therefore, this study aimed to develop a novel Deep Learning based model for classifying cashew apples as mature or immature. By leveraging a adapted innovative Deep Learning architecture, the goal was to enhance model performance and contribute to optimizing cashew apple yields (see Fig 2).
The most important contributions are as follows:
- A robust Deep Learning based model was developed that is capable of accurately classifying the maturity of cashew apples with an average accuracy of 95.58%.
- The model is a first step towards maximizing the value of cashew trees by enabling farmers to automatize cashew apple harvesting.
The rest of the paper is structured as follows. In the next section, the application of Machine Learning technologies in precision agriculture is described and existing approaches for classifying the maturity of fruits are analyzed. The details of the created model, hyperparameters, fine-tuning process, evaluation method, preprocessing and augmentation techniques, as well as the dataset used are presented in the Methodology section. An analysis of the results of the model, ensues in the following section. The discussion follows afterwards, interpreting the results. The paper is concluded in the last section, summarizing the key aspects of this study, presenting the limitations of the work, and underlining opportunities for future research.
Research background
Machine learning in precision agriculture
Precision agriculture, also recognized as site-specific crop management, relies on adeptly utilizing sensing technologies to discern and respond to spatial and temporal variations in crops [26,27]. The pivotal sensing component within precision agriculture integrates technologies such as UAV, sensors, GPS, and remote sensing devices to capture real-time data on variables encompassing soil conditions, weather patterns, and crop maturity [28–31]. This comprehensive approach empowers farmers to make informed decisions, optimizing agricultural practices like irrigation and pest control to enhance efficiency and sustainability [32]. The analysis of agricultural data has been facilitated through diverse technological methodologies [55,56].
Notably, the ascendancy of Machine Learning technologies has emerged as pivotal in the domain of precision agriculture [36]. For instance, techniques such as Random Forest, Support Vector Machine, and K-Nearest Neighbor, along with statistical methods, have been utilized for a variety of applications in precision agriculture [31,37–39]. Deep Learning, as a subcategory of Machine Learning, besides the previously mentioned algorithms, has also proven to be particularly beneficial [44]. Coulibaly et al. [45] conducted a literature review, confirming the broad application of Deep Learning in the digitalization of agriculture. This was further supported by numerous empirical examples demonstrating the effectiveness of Deep Learning based models in reducing errors typically linked to human labor [46,47]. Intelligent agriculture management systems, plant disease and pest management detection, targeted crop spraying, and irrigation systems are only a few practical applications where Deep Learning and other Machine Learning techniques were applied [57–61]. The following section will focus on literature related to this study, which used Machine Learning to classify fruit maturity.
Machine learning based fruit maturity classification
The challenge of maintaining the quality of fruit products throughout the supply chain necessitates rigorous quality checks aimed at preserving their inherent freshness, flavor, and safety standards [62,63]. Of paramount importance in this quality assurance process is the consideration of fruit maturity, a defining factor that significantly influences the overall quality of the product [34]. Traditionally, the evaluation of fruit maturity has been relegated to manual methods, with farmers relying on visual observation to gauge the optimal harvesting time [34]. Unfortunately, this traditional approach is not without its drawbacks, as it proves to be both time-consuming and inherently prone to errors [33,34]. Consequently, there is a need for the integration of automated systems to facilitate accurate and efficient fruit maturity classification [34,35]. Machine Learning is one potential solution to automate certain steps in the process of fruit maturity classification.
An extensive literature review, to identify the most pertinent studies in the field of fruit maturity classification using machine learning models, was conducted. The focus was identifying key methodologies, performance metrics, and innovative approaches within this domain. This focus allowed the authors to understand the broader trends in fruit maturity classification. The comprehensive review provides a solid foundation for the study. Table 1 provides an overview of the latest literature in this field. It is structured as follows: first, statistical Machine Learning methods and then methods using CNNs, are presented, predicting fruit maturity.
UAV - Unmanned Aerial Vehicle, NB - Naive Bayes, SVM - Support-Vector Machine, DT - Decision Tree, RF - Random Forest, GBM - Gradient Boosting Machine, CARS-MLR - Competitive Adaptive Reweighting Algorithm-Multi linear Regression, CNN - Convolutional Neural Network.
Marin et al. [40] applied computer vision techniques to determine the maturity stage of palm fruits using aerial images from an UAV. They implemented a Naive Bayes algorithm, which showed an overall accuracy of 66.5%. Goyal et al. [41] introduced an ensemble approach to predict tomato maturity. This technique combined Support Vector Machine, Decision Tree, Random Forest, and Gradient Boosting Machine regressors. The model achieved an accuracy of 90.35% in predicting the maturity stage. Prabhu et al. [42] focused on assessing mango fruit maturity using color and texture properties. Various features were analyzed using several classifiers, including Support Vector Machine, Random Forest, and K-Nearest-Neighbour. An accuracy of 97.69% was achieved with Support Vector Machine and Random Forests. Feng et al. [43] utilized hyperspectral imaging for loquat quality assessment and maturity classification. The multiple linear regression model, combined with a competitive adaptive reweighting algorithm, demonstrated an accuracy of 97.99%.
While the presented statistical methods deliver satisfactory accuracy in predicting fruit maturity, the advent of Deep Learning, especially CNNs, indicates the potential for higher accuracies [45] in predicting fruit maturity. This signals a significant step in modernizing traditional farming practices [44].
Khatun et al. [48] leveraged a ResNet-50 based architecture to ascertain dragon fruit maturity and quality, achieving 90% accuracy in maturity classification. Also, Shuprajhaa et al. [49] introduced a Deep Learning method for the classification of banana maturity. They proposed a CNN-XgBoost model that combined CNNs with eXtreme Gradient Boosting. Linear Discriminant Analysis was utilized to enhance performance with a smaller dataset. The approach achieved an accuracy of 91.25%, outperforming Support Vector Classifier, Gaussian Naive Bayesian Classifier, and K-Nearest Neighbours algorithms. Another Deep Learning approach was shown by Olisah et al. [64]. They introduced a novel approach to address the challenge of maturity estimation in blackberry fruits, which lack obvious visible maturity cues. They propose a multi-input CNN ensemble classifier trained on images acquired with a stereo sensor using visible and near-infrared spectral filters. The model, based on a pre-trained VGG16 network, achieved 95.10% accuracy on unseen data and 90.20% accuracy under in-field conditions. Saranya et al. [65], in a similiar approach, utilized a CNN architecture to classify the maturity of bananas. Their approach involved comparing a custom CNN model against advanced models through transfer learning, employing both original and augmented images for training. The custom CNN model achieved an accuracy of 96.14%. Also Chmaj et al. [66] proposed a method for automating fruit evaluation in orchards using Deep Learning algorithms. Here they analyze UAV images of trees and used CNNs to classify fruit maturity based on surface color and shape features, achieving 96.43% accuracy. Also, Mahmood et al. [67] investigated the use of two CNN models, AlexNet and VGG16, through a transfer learning approach for classifying jujube maturity. They achieved the best accuracy of 98.26% with VGG16, while Chang et al. [68] presented a solution for automating the detection of mature pineapples. They proposed a CNN based architecture achieving over 99.27% accuracy. In another work, Behera et al. [50] focused on classifying papaya fruit maturity using a transfer learning approach, with VGG19 achieving 100% accuracy, and also Azadnia et al. [51] reached 100% validation accuracy but for hawthorn fruit grading with Deep Learning, using Inception-V3. Kangune et al. [69] employed a combination of CNN and Support Vector Machine to estimate the maturity of grapes. Gaussian preprocessing was applied to the images to reduce noise and enhance feature detection. The CNN based model achieved a classification accuracy of 79.49% in determining grape maturity. For the estimation of maturity levels of citrus fruits in natural environments, Chen et al. [73] integrated a CNN with visual saliency maps. The approach involved a two-stage process: detecting the citrus fruits on the trees and classifying their maturity. The model achieved an accuracy of 95.07%.
In contrast, two research papers included image preprocessing with Gaussian filtering. Elwirehardja et al. [70] focused on using Deep Learning approaches to classify the ripeness of oil palm fresh fruit bunches on mobile devices and achieved an accuracy of 89.3%. The preprocessing stage included Gaussian filtering to smooth the images and reduce noise. Gururaj et al. [71] presented an automated mango grading system using Deep Learning to improve accuracy and efficiency over manual inspection methods. The system utilized CNNs to extract the mango maturity stage, achieving an accuracy of 93.40%. In this system, image pre-processing involved converting RGB images to grayscale and applying an 11x11 Gaussian blur filter to reduce noise.
Zhang & Cao [72] have used apples, a similar fruit to cashew apples, in their work. They developed a multi-task CNN for maturity classification and defect detection based on images of apples. The sub-network, which classifies the apples into four maturity levels, achieved an average accuracy of 86%, outperforming other standard architectures in this task.
From the above analysis across various studies, it’s evident that the application of Machine Learning and Deep Learning techniques enhances the accuracy and efficiency of fruit maturity classification, surpassing traditional manual methods.
Notably, only a limited number of studies utilized images from UAVs to determine the maturity of fruits. However, UAVs offer a practical solution because of their versatility in various agricultural scenarios [74]. Nevertheless, they also present certain disadvantages, as they can be adversely influenced by weather conditions, which could compromise image quality [74,75]. While being cost-effective for remote sensing, they often suffer from noise-related content loss, giving the need for model optimization [53].
Zooming in on the specific context of cashew apples, the imperative to harness the advantages presented by Deep Learning and UAVs becomes apparent. Integrating CNNs into the automated classification of cashew apple maturity stands as a promising avenue for enhancing agricultural practices and optimizing harvest schedules. To adjust the potential noise in images taken by UAVs Transfer Learning could be a promising approach. By embracing these technological advancements, farmers could not only mitigate the inherent limitations of manual assessment but also elevate the quality of their cashew apple yields. To the best of the author’s knowledge, there have been no studies presented on using Machine Learning techniques to assess the maturity of cashew apples. Therefore, new studies are essential to fill this existing gap and set a benchmark for their maturity classification.
Methodology
To determine the maturity of cashew apples, a ResNet-50 based architecture was used. The model’s architecture is introduced in the first section. The following section provides an overview of the hyperparameters used followed by the fine-tuning process. The evaluation methods for assessing the algorithm’s effectiveness are detailed afterwards. Essential preprocessing and data augmentation techniques for optimization are covered in the following section. Lastly, the dataset used in this study is outlined.
Model architecture
The ResNet-50 architecture, known for combining simplified optimization and very deep networks through residual functions, was chosen due to its ability to produce accurate results [76]. As shown in the research background, studies have revealed that the ResNet architecture is also a promising approach for fruit maturity classification [48,51]. A transfer learning approach was applied to leverage the knowledge embedded in pre-trained networks. Utilizing weights and biases from the ImageNet visual recognition dataset, the pre-trained ResNet-50 model provided a robust foundation for feature recognition [77]. This pre-trained model offers layers that are applicable to a wide range of real-world scenarios. The final classifier was adapted to the specific use case of this study. To enable comparability of the chosen architecture with other recent state-of-the-art deep learning architectures, the exact same methodology was used to test two other architectures in addition to ResNet-50. Inception-V3 [78] and EfficientNet-B0 [79], two current, frequently used architectures, were utilized. Only the ResNet-50 block was replaced by the corresponding EfficientNet-B0 and Inception-V3 block. The main evaluation metrics were then compared between the models.
Building on this foundation, the input size of the images was configured to 75x75 pixels, accommodating 3 color channels (red, green, blue). The size of 75x75 pixels was used because the cropping of the images based on the bounding boxes resulted in very small images. Three data augmentation layers were integrated into the model ensuring that data augmentation is applied dynamically during training, further improving the model’s performance and generalization. The images were augmented by applying random zoom, random rotation and width and height translation provided by Keras library. To adapt the model for binary classification and prevent overfitting, additional layers were added to better fit the data. Initially, a Global Average Pooling 2D layer was introduced to condense the feature maps into a more compact form and increase the computational efficiency [80]. A dense layer with 128 units and rectified linear unit activation was then appended as a fully connected neural layer. Subsequently, a dropout layer was incorporated to counter overfitting and encourage the model to acquire more robust features [81]. To finalize the architecture a dense layer with a single neuron and sigmoid activation, tailored for the binary classification task was included [82]. This final layer outputs a probability [83] which serves as the basis for classifying the maturity of the cashew apples. The progression from a sophisticated pre-trained base to an adapted endpoint exemplifies a strategic blend of leveraging existing knowledge. Fig 3 gives an overview of the model used.
Hyperparameter
The model was tested over 20 trials with various hyperparameters chosen randomly using the Keras random search tuner. The optimal hyperparameters identified from these trials were chosen for the final model for each fold in the cross validation. Table 2 details the range of hyperparameters tested and the stepsize selected for the model’s training.
The training process was configured to execute for a maximum of 100 epochs, and the epochs for fine-tuning were set to 30. For both initial training and fine-tuning, early stopping was applied if the validation loss did not improve for 10 consecutive epochs.
Fine-tuning
To optimize the performance of the model and adapt it specifically to cashew maturity classification, a fine-tuning phase was carried out after the initial training with the ImageNet dataset weights. The entire model was unfrozen, allowing all layers to adapt to the classification task. The hyperparameters such as batch size, dropout rate, and dense units remained unchanged from their optimal values determined during the initial training phase. However, the learning rate was reduced to 1e-6, allowing finer tuning of the model parameters and improving convergence during training. This approach was chosen to utilize the previously learned representations while adapting the model to better fit the nuances of the cashew apple dataset.
Evaluation method
To evaluate the performance of the model, a 5-fold cross-validation approach was used. This method involves dividing the dataset into five equal parts, using four parts to train the model and the remaining part for validation [84]. A stratified cross-validation was performed to ensure that the representation of the class distribution in each split corresponds to the original dataset. In order to address the heavy class imbalance of the dataset used, a dynamically weighted balanced loss was used, whereby a weight is calculated for each class according to its representation in the dataset, on the basis of which the loss is then calculated accordingly [85]. This process was performed iteratively, ensuring that each fold served as a validation set exactly once, while the remaining folds were used for training [84]. After each iteration, the trained model was tested on the validation dataset that the model had not seen during training. The validation dataset amounts to 20% of the whole dataset and was split before the training. To provide a comprehensive evaluation of the model’s performance, the overall performance was calculated by averaging the results from each of the five iterations. This methodological approach ensures a robust and reliable assessment of the model’s predictive performance across different folds of the dataset [84]. To thoroughly evaluate the model, the confusion matrix was used alongside the accuracy, balanced accuracy, true positive rate, positive predictive value, negative predictive value, prevalence, true negative rate, area under the curve score and F1 score.
Preprocessing
While preparing the dataset for training, several preprocessing steps were crucial to ensure data quality and consistency. One significant aspect involved the manual sorting of cropped images. This step required the observation to verify label correspondence and ensure the presence of identifiable cashew apples. In this process, a few false annotated images were found. Images labeled as immature but showing mature cashew apples (yellow or red) were relabeled as mature. Images labeled as mature but showing immature apples (green) were relabeled as immature. Images that depicted rotten or damaged apples (brown or black), were further excluded. Moreover, some images did not depict any visible features of a cashew apple or nut. Therefore, these identified images were also excluded manually. The identified images were manually observed and relabelled by two authors with 100% reliability. After sorting the images, a total of 6,715 images were available for further processing. For the subsequent steps, the images were resized to 75x75 pixels and the pixel values scaled to the range 0-1. As mentioned in section “Evaluation Method”, the whole dataset was split into 3 parts: training (72%), validation (8%), and testing (20%). Furthermore, a merging of two classes (described in section “Dataset”) led to an under-representation of the mature cashew apple images. To correct this imbalance, this class was increased simply by copying its images in the training dataset. This was applied only to the training fold at the start of each cross-validation loop to ensure that none of these copied images were included in the validation or test datasets. The validation and test datasets were left in their original distribution to accurately reflect the model’s performance with unmodified data.
Dataset
The dataset comprises images that showcase extensive parts of cashew trees, with annotated bounding boxes around each cashew fruit. It was published in the paper ‘Coffee and cashew nut dataset: A dataset for detection, classification, and yield estimation for machine learning applications’ by Sanya et al. from Makerere University in Kampala, Uganda [52]. The dataset incorporates 3,086 high-resolution images that can be used for various purposes, including Machine Learning. The images were captured by an UAV equipped with a 20/48-megapixel camera over a period of nine months in several regions of Uganda [52].
They were taken during the peak harvesting season [52], which makes them suitable for the use case presented in this paper. The images’ quality is a result of attention to meteorological conditions such as sunshine, precipitation, temperature, and cloud cover [52]. Additionally, blurry and overexposed images were excluded to ensure their accuracy and utility [52].
For classification and vision detection tasks, the images were provided with bounding boxes, which are annotated with the maturity status of the cashew fruit [52].
The information about the class and position of the bounding box is described in associated label files. The You Only Look Once format was used by the authors of the dataset to specify the coordinates of the bounding box in relative pixel values, indicating the size and position of the box [52]. The classes include 6 categories: 0 for tree (5,347 bounding boxes), 1 for flower (23,169 bounding boxes), 2 for premature (21,200 bounding boxes), 3 for immature (5,347 bounding boxes), 4 for mature (7,481 bounding boxes), and 5 for spoilt (25,820 bounding boxes) [52].
To utilize the images for the classification task, the bounding boxes needed to be cropped from the original images. The information about the class and the position of the bounding box was extracted from the associated label files when processing each image. As the coordinates were given in relative pixel values, they were converted to absolute values to determine the exact position of the bounding box.
Before cropping the images, a selective filtering process was applied to ignore the bounding boxes associated with classes 0 (tree), 1 (flower), and 5 (spoilt). Given the focus of this study on the maturity status of cashew apples, classes 0 and 5 were evaluated as irrelevant, and considering that farmers inspect only the apples during harvest season, the images of class 1 were also excluded. Consequently, classes 2 (premature) and 3 (immature) were merged into a single class labeled “immature”, while class 4 (mature) remained unchanged. Additionally, the remaining bounding boxes of the selected classes, which represented relatively large areas, such as entire trees, were excluded. This was accomplished by evaluating the size of the bounding box in proportion to the original image and omitting images where either the height or width exceeds 20% of the original image’s total dimensions.
For each qualified bounding box, the corresponding image area was cropped. All cropped images with a height or width of less than 15 pixels were excluded to ensure that only images with sufficient features were used to train the model. This process resulted in a tailored and filtered dataset of cropped images.
The dataset used in this work [52] is publicly accessible under the following link: data.mendeley.com.
Results
The model’s performance was evaluated using a five-fold cross-validation approach to ensure a robust assessment of its generalization ability. The key performance indicators of the model across the folds are summarized in Table 3.
The accuracy of the unseen test data was 95.58% across all folds. The balanced accuracy, which accounts for the imbalance in the dataset [86], averaged at 83.44%. Recall and precision are crucial metrics for evaluating the performance of a classification model, particularly in imbalanced datasets [86]. The model achieved an average recall (true positive rate) of 70.48% and a precision (positive predictive value) of 40.80% on average. The F1 score combines these two metrics and it represents a measure for imbalanced datasets that represents the ability of the model to classify positive instances while minimizing false positives and false negatives [87]. Our model achieves an F1 score of 0.51 on average over the five folds. Additionally, the model’s average negative predictive value was 99.01%, with a prevalence of 3.18%. This means that when a cashew apple is randomly selected from the dataset the probability of it being mature is at 3.18%. The specificity (true negative rate) averaged 96.40%, expressing how well the model identifies immature apples on average [88]. Lastly, the model’s Area Under the Curve (AUC) score averaged 92.24%. The AUC is a performance metric for binary classification models that represents the probability that a randomly chosen positive instance (mature cashew apple) is ranked higher than a randomly chosen negative instance (immature cashew apple) [90]. In addition, Fig 4 shows the confusion matrix of the best fold, which shows the distribution of the classifications.
Discussion
As stated in the preceding section, the model exhibited a good ability to classify the maturity of cashew apples with a high average accuracy of 95.58%. Most of the research from the research background that have also dealt with the maturity classification of fruits achieve a similar accuracy to this paper, which is why a comparable foundation was created. However, to the best of the authors’ knowledge, no other research work classifies the maturity of cashew apples. Thus, the achieved accuracy serves as the new benchmark in this comparison. Of the fruits used in the related works, apples are visually closest to cashew apples. In their work, Zhang & Cao [72] successfully classified the maturity of apples into four classes with an accuracy of 86.00%. Even if no binary class problem is addressed in their work, the comparison of the average balanced accuracy of 83.44% achieved here with the 86.00% shows that the new approach performs comparably to other state-of-the-art approaches.
Since an imbalanced data set was used in this work, balanced accuracy is at least as important as accuracy. This metric can be used to show that the model works for both classes, mature and immature, and can make correct decisions. The average balanced accuracy of 83.44% and the confusion matrix in Fig 4 show that the model works for both classes. The same is also shown by the average F1 score of 0.51. At a maximum of 1.00, the model would classify perfectly. The value of 0.51 shows that the model is still good at achieving correct positive classifications while minimizing false positives and false negatives. Nevertheless, it is also clear that there is still room for improvement. The confusion matrix shows that the model incorrectly classifies only 66 out of 1301 immature cashew apples as mature, while it misclassified seven out of a total of 42 mature apples as immature. In percentage terms, the error of the second type therefore occurred significantly more frequently. One possible explanation is that there are simply more images of immature cashew apples in the data set and the model can learn better from them. Thus, a more extensive data set would be needed that also contains more images of mature cashew apples in order to improve the prediction there as well. The mistake of classifying an already mature apple as immature would mean that this apple could rot and is therefore no longer of any use. Conversely, an apple incorrectly classified as mature could falsify the yield estimate, for example. So both types of error are important and should be minimized for real world use. The very good average AUC score of 92.24% shows that the model does not make correct decisions by chance, but can actually distinguish well between mature and immature cashew apples [90].
Table 4 shows the comparison of the evaluation of the presented approach with different state-of-the-art deep learning architectures. The evaluation metrics that consider the class imbalance are shown. The table shows that the architecture chosen in this work (ResNet-50) achieves the best values in the comparison in almost all evaluation metrics. Compared to the Inception-V3 architecture, better results are achieved for all metrics, while EfficientNet-B0 achieves better values for the true positive rate and the negative predictive value. However, the results of the summarizing metrics such as the balanced accuracy and the F1 score, which include both classes and also all types of errors, show that the ResNet-50 architecture achieves better results overall than the EfficientNet-B0 architecture, which makes this architecture the best choice for the given problem. The potential of the applications is therefore given and should definitely be investigated further.
Practical implications
The use of UAV imagery in this study illustrates the transformative potential of aerial data collection in agriculture. UAV applications surpass traditional methods in efficiency, demand less labor, and have the capability to survey extensive areas [89]. In addition, the cost-effectiveness of UAVs [89] makes them particularly suitable for farm smallholdings. The use offers advantages in terms of scalability and detailed monitoring.
Despite the possible upside associated with integrating UAVs into agricultural practices, the application can also entail challenges. Achieving high-quality images consistently with UAVs can be demanding due to various factors, such as technical settings, environmental conditions, and crop characteristics beyond the operator’s control [91]. Consequently, establishing robust protocols for image capture is essential [91]. Another aspect to consider when employing UAVs is the incorporation of practical applications. Rather than directly embedding these into the UAVs, one alternative is to employ cloud-based solutions. Using such applications to process captured images is a viable solution that eliminates the need for lightweight network architectures in mobile applications [92].
This technological evolution in agriculture aligns with the increasing economic potential of cashew apples [11–13].
By advancing the understanding of how Deep Learning can be applied to cashew apple maturity classification, the authors are paving the way for more efficient and accurate harvesting strategies. Such advances are not just academic but have real-world implications. By more accurately identifying maturity, farmers can better plan their harvesting processes to ensure optimal quality and yields of cashew apples [93]. This, in turn, supports sustainable agricultural practices by minimizing waste and increasing productivity, in line with the broader goals of improving food security and sustainability in the cashew industry [3,7]. In a real-world application, the approach developed in this work could be used in a higher-level system in which cashew apples are first detected with an object recognition module and then reliably classified with the architecture shown on the basis of their maturity.
Conclusion
A highly accurate Deep Learning based model for classifying the maturity of cashew apples is introduced in this study. Achieving an average accuracy of 95.58% and a balanced accuracy of 83.44%, the ResNet-50 based model employs transfer learning and incorporates custom layers to mitigate overfitting and enhance generalizability. To counteract training data imbalance, up-sampling was applied, while data augmentation methods increased training data diversity. The effectiveness of the model was validated through k-fold cross-validation, testing with an unseen dataset, and comprehensive evaluation of various performance metrics [84].
To the best of the authors’ knowledge, this is the first time such a methodology has been deployed to assess cashew apple maturity, highlighting its novelty and potential impact and setting a new benchmark for this use case. Applying such a model in real-world scenarios could be of enormous benefit to cashew apple farmers, as they would no longer have to rely on visual observation [13]. This could ultimately lead to an increase in extracting the potential of the cashew tree. The model presented serves as a crucial step towards making this achievable.
Limitations
Despite the presented opportunities, possible limitations have to be considered. Both technical and practical, limitations are presented.
In this study, the only publicly available dataset containing images of cashew apples on trees in orchards was utilized. While this dataset was instrumental for this study, it was constrained by the low resolution of the cropped images and some mislabeled images. This led to a reduction in the dataset size and possibly influenced the overall performance of the model [94]. The low resolution may have also limited the models’ ability to discern complex patterns and features [95].
Despite the practical focus of this study, the model was not tested for real-world applicability. For deployment, it could be beneficial to test the model within a comprehensive precision agriculture system [96]. Lastly, the evaluation of the models relied solely on the single dataset available, without validation against new datasets or real-world scenarios (i.e. pictures from various sources). This absence of external validation raises concerns regarding the robustness and generalizability of the model beyond the specific dataset utilized in this study. Hence, it is recommended to explore further approaches by testing this model and developing alternative models using additional datasets.
Future work
There are some possible opportunities to further evaluate the practicality of the presented model and to explore the use of UAVs and CNNs in cashew orchards.
To address some limitations of this study, additional datasets need to be acquired. These datasets should contain higher resolution images and be carefully labeled to ensure accuracy and avoid significant imbalances.
Furthermore, this work introduced the classification of maturity states. To create a practical application, it would be necessary to develop a detection model in combination with the classification problem. Future research could explore approaches such as You Only Look Once for this purpose [97].
In addition, the authors believe that it would be highly beneficial for farmers to develop a prediction model that predicts the optimal harvest time of immature cashew apples. This approach would refine resource management on farms, potentially resulting in cost savings and enhanced operational efficiency [98]. Therefore, future work could also focus on creating datasets with timestamps and corresponding labels, as well as developing predictive models.
In conclusion, despite its limitations, this study has made an important contribution by demonstrating that Deep Learning techniques can have valuable practical applications in the field of cashew apples. This merits further exploration to offer farmers effective solutions and to pave the way for the growing importance of the valuable cashew apple.
References
- 1. Savadi S, Muralidhara BM, Godwin J, Adiga JD, Mohana GS, Eradasappa E, et al. De novo assembly and characterization of the draft genome of the cashew (Anacardium occidentale L.). Sci Rep. 2022;12(1):18187. pmid:36307541
- 2. Eradasappa E, Mohana GS, Poduval M, Sethi K, Rani MSA, Lourdusamy IK, et al. Analysis of stability for nut yield and ancillary traits in cashew (Anacardium occidentale L.). Sci Rep. 2024;14(1):2127. pmid:38267471
- 3. Oliveira NN, Mothé CG, Mothé MG, de Oliveira LG. Cashew nut and cashew apple: a scientific and technological monitoring worldwide review. J Food Sci Technol. 2020;57(1):12–21. pmid:31975703
- 4. Nkumbula LE, Masawe PA, Mukela I, Mneney EE, Venkataramana PB, Mng’ong’o M. Cashew improvement approaches and technologies across countries, and their implication to Zambia cashew industry. South Afr J Botany. 2023;162:220–9.
- 5. Das I, Arora A. Post-harvest processing technology for cashew apple–a review. J Food Eng. 2017;194:87–98.
- 6. Azoubel PM, El-Aouar AA, Tonon RV, Kurozawa LE, Antonio GC, Murr FEX. Effect of osmotic dehydration on the drying kinetics and quality of cashew apple. Int J Food Sci Technol. 2009;44(5):980–6.
- 7. Akyereko YG, Yeboah GB, Wireko-Manu FD, Alemawor F, Mills-Robertson F, Odoom W. Nutritional value and health benefits of cashew apple. JSFA Reports. 2023;3(3):110–8.
- 8. Ghag SS, Gokhale JS, Lele SS. Effect of chemical pretreatment on quality attributes of the cashew apple. J Food Sci. 2023;88(6):2353–67. pmid:37073422
- 9. Asmawati A. The potential of cashew apple waste as a slimming agent. Jordan J Biol Sci. 2022;15(5):887–92.
- 10. Kaprasob R, Sarkar D, Kerdchoechuen O, Laohakunjit N, Khanongnuch C, Shetty K. Beneficial lactic acid bacteria based bioprocessing of cashew apple juice for targeting antioxidant nutraceutical inhibitors as relevant antidotes to type 2 diabetes. Process Biochem. 2019;82:40–50.
- 11. Dimoso N, Aluko A, Makule E, Kassim N. Challenges and opportunities toward sustainable consumption and value addition of cashew apples in Tanzania. Outlook Agric. 2020;50(2):169–77.
- 12. Akanro R, Kede GR, Attanasso MO, Dossou J. Economic analysis of cashew apple value chain within the Collines department of Benin. Open Access Lib J. 2022;9(10):1–11.
- 13. Anoopkumar A, Gopinath C, Annadurai S, Abdullah S, Tarafdar A, Hazeena SH. Biotechnological valorisation of cashew apple: prospects and challenges in synthesising wide spectrum of products with market value. Bioresour Technol Rep. 2024;25:101742.
- 14. Gnagne AAGB, Soro D, Ouattara Y, Koui E, Koffi E. A literature review of cashew apple processing. Afr J Food Agricult Nutr Developm. 2023;23(2):22425–67.
- 15. Akyereko YG, Wireko-Manu FD, Alemawor F, Adzanyo M. Cashew Apples in Ghana: Stakeholders’ knowledge, perception, and utilization. Int J Food Sci. 2022;2022:2749234. pmid:35036424
- 16. Aidoo R, Kwofie EM, Ngadi MO. Circularity of cashew apples: examining the product-process pathways, techno-functional, nutritional/phytomolecular qualities for food applications. ACS Food Sci Technol. 2022;2(7):1051–66.
- 17. Osabohien R, Iqbal BA, Osabuohien ES, Khan MK, Nguyen DP. Agricultural trade, foreign direct investment and inclusive growth in developing countries: evidence from West Africa. Trans Corporat Rev. 2022;14(3):244–55.
- 18. Gawankar M, Salvi B, Pawar C, Khanvilkar M, Salvi S, Dalvi N, et al. Technology development for cashew apple processing in Konkan region–a review. Adv Agric Res Technol J. 2018;2(1):40–7.
- 19. Ackah NB, Ampadu-Ameyaw R, Appiah AHK, Annan T, Amoo-Gyasi M. Awareness of market potentials and utilization of cashew fruit: perspectives of cashew farmers in the Brong Ahafo region of Ghana. J Sci Res Rep. 2020;26(3):14–27.
- 20. Dimoso N, Kassim N, Makule E. Cashew apple in Tanzania: status of utilization, challenges, and opportunities for sustainable development. F1000Res. 2024;11:1354. pmid:39359309
- 21. Sandamurthy K, Ramanujam K. A hybrid weed optimized coverage path planning technique for autonomous harvesting in cashew orchards. Inf Process Agricult. 2020;7(1):152–64.
- 22. Sivagurunathan P, Sivasankari S, Muthukkaruppan S. Characterisation of cashew apple (Anacardium occidentale L.) fruits collected from Ariyalur district. J Biosci Res. 2010;1(2):101–7.
- 23. Ghag SS, Gokhale JS, Lele SS. Shelf-life extension of cashew apples (Anacardium occidentale) by chemical pretreatment using dip and dry method. J Food Measur Characteriz. 2024;18(3):2306–17.
- 24. N’guessan D, Bedikou M, Abouo V, Samagaci L, Ehon C, Yacouba C, et al. Waste cashew apple (anacardium occidentale) as feedstock for simultaneous production of two main ecofriendly fuels. J Power Energy Eng. 2023;11(8):16–31.
- 25. Jeyavishnu K, Thulasidharan D, Shereen MF, Arumugam A. Increased revenue with high value-added products from cashew apple (Anacardium occidentale L.)—addressing global challenges. Food Bioprocess Technol. 2021;14:985–1012.
- 26. Sharma A, Jain A, Gupta P, Chowdary V. Machine learning applications for precision agriculture: a comprehensive review. IEEE Access. 2020;9:4843–73.
- 27. Saranya T, Deisy C, Sridevi S, Anbananthen KSM. A comparative study of deep learning and Internet of Things for precision agriculture. Eng Appl Artif Intell. 2023;122:106034.
- 28. Sishodia RP, Ray RL, Singh SK. Applications of remote sensing in precision agriculture: a review. Remote Sens. 2020;12(19):3136.
- 29. Radoglou-Grammatikis P, Sarigiannidis P, Lagkas T, Moscholios I. A compilation of UAV applications for precision agriculture. Comput Netw. 2020;172:107148.
- 30.
Ghosh S, Dasgupta R. Machine learning and precision farming. Machine learning in biological sciences. Singapore: Springer; 2022. p. 239–49.
- 31. Rani S, Mishra AK, Kataria A, Mallik S, Qin H. Machine learning-based optimal crop selection system in smart agriculture. Sci Rep. 2023;13(1):15997. pmid:37749111
- 32. Cisternas I, Velásquez I, Caro A, Rodríguez A. Systematic literature review of implementations of precision agriculture. Comput Electron Agricult. 2020;176:105626.
- 33.
Mustaffa IB, Khairul SFBM. Identification of fruit size and maturity through fruit images using OpenCV-Python and Raspberry Pi. In: 2017 International Conference on Robotics, Automation and Sciences (ICORAS). 27–29 Nov 2017; Melaka, Malaysia. IEEE; 2017. p. 1–3.
- 34. Rizzo M, Marcuzzo M, Zangari A, Gasparetto A, Albarelli A. Fruit ripeness classification: a survey. Artif Intell Agricult. 2023;7:44–57.
- 35.
Jerripothula KR, Shukla S, Kumar JS, Singh S. Fruit maturity recognition from agricultural, market and automation perspectives. In: IECON 2021. 47th Annual Conference of the IEEE Industrial Electronics Society. 2021 Oct 13–16. Toronto, ON, Canada. IEEE; 2021. p. 1–6.
- 36. Karunathilake EMBM, Le AT, Heo S, Chung YS, Mansoor S. The path to smart farming: innovations and opportunities in precision agriculture. Agriculture. 2023;13(8):1593.
- 37.
Kathiria P, Patel U, Madhwani S, Mansuri CS. Smart crop recommendation system: a machine learning approach for precision agriculture. In: Sisodia DS, Garg L, Pachori RB, Tanveer M, editors. MISP 2022. Proceedings of the 4th International Conference on Machine Intelligence and Signal Processing. 2022 Mar 12–14. Singapore: Springer; 2023. p. 841–50.
- 38.
Geetha LV, Vishnu PA, Harikrishnan PS. Adaptive IoT system for precision agriculture. In: Smys S, Balas VE, Palanisamy R, editors. ICICIT 2021. Inventive Computation and Information Technologies. 2021 Aug 12–13; Coimbatore, India. Singapore: Springer; 2022. p. 39–49.
- 39. Sarkar SK, Rudra RR, Sohan AR, Das PC, Ekram KMM, Talukdar S, et al. Coupling of machine learning and remote sensing for soil salinity mapping in coastal area of Bangladesh. Sci Rep. 2023;13(1):17056. pmid:37816754
- 40.
Marín W, Colorado J, Bernal IM. Computer vision for recognition of fruit maturity in amazonian palms using an UAV. In: Martínez A, Moreno H, Carrera I, Campos A, Baca J, editors. LACAR 2019. Advances in Automation and Robotics Research. 2019 Oct 30 – Nov 1; Cali, Columbia. Cham, Springer; 2020. p. 31–9.
- 41. Goyal K, Kumar P, Verma K. Tomato ripeness and shelf-life prediction system using machine learning. J Food Measur Characteriz. 2024;18:2715–30.
- 42. Prabhu A, Rani NS, Nandi CS. Towards importance of comprehensive color features analysis using iterative golden ratio proportions for Alphonso mango ripening stage classification by adapting to natural progressive ripening method. J Food Compos Anal. 2024;126:105873.
- 43. Feng S, Shang J, Tan T, Wen Q, Meng Q. Nondestructive quality assessment and maturity classification of loquats based on hyperspectral imaging. Sci Rep. 2023;13(1):13189. pmid:37580378
- 44. Attri I, Awasthi LK, Sharma TP, Rathee P. A review of deep learning techniques used in agriculture. Ecol Inform. 2023;77:102217.
- 45. Coulibaly S, Kamsu-Foguem B, Kamissoko D, Traore D. Deep learning for precision agriculture: a bibliometric analysis. Intell Syst Appl. 2022;16:200102.
- 46. MacEachern CB, Esau TJ, Schumann AW, Hennessy PJ, Zaman QU. Detection of fruit maturity stage and yield estimation in wild blueberry using deep learning convolutional neural networks. Smart Agricult Technol. 2023;3:100099.
- 47. Badeka E, Karapatzak E, Karampatea A, Bouloumpasi E, Kalathas I, Lytridis C, et al. A deep learning approach for precision viticulture, assessing grape maturity via YOLOv7. Sensors (Basel). 2023;23(19):8126. pmid:37836956
- 48. Khatun T, Nirob MAS, Bishshash P, Akter M, Uddin MS. A comprehensive dragon fruit image dataset for detecting the maturity and quality grading of dragon fruit. Data Brief. 2023;52:109936. pmid:38125368
- 49. Shuprajhaa T, Raj JM, Paramasivam SK, Sheeba K, Uma S. Deep learning based intelligent identification system for ripening stages of banana. Postharvest Biol Technol. 2023;203:112410.
- 50. Shuprajhaa T, Raj JM, Paramasivam SK, Sheeba K, Uma S. Deep learning based intelligent identification system for ripening stages of banana. Postharvest Biol Technol. 2023;203:112410.
- 51. Behera SK, Rath AK, Sethy PK. Maturity status classification of papaya fruits based on machine learning and transfer learning approach. Inf Process Agricult. 2021;8(2):244–50.
- 52. Sanya R, Nabiryo AL, Tusubira JF, Murindanyi S, Katumba A, Nakatumba-Nabende J. Coffee and cashew nut dataset: a dataset for detection, classification, and yield estimation for machine learning applications. Data Brief. 2023;52:109952. pmid:38226042
- 53. Wang R, Xiao X, Guo B, Qin Q, Chen R. An effective image denoising method for UAV images via improved generative adversarial networks. Sensors (Basel). 2018;18(7):1985. pmid:29933601
- 54. Tian W, Zhao Q, Kan Z, Long X, Liu H, Cheng J. A new method for estimating signal-to-noise ratio in UAV hyperspectral images based on pure pixel extraction. IEEE J Select Topics Appl Earth Observ Remote Sens. 2022;16:399–408.
- 55. Zhang P, Guo Z, Ullah S, Melagraki G, Afantitis A, Lynch I. Nanotechnology and artificial intelligence to enable sustainable and precision agriculture. Nat Plants. 2021;7(7):864–76. pmid:34168318
- 56. Vecchio Y, De Rosa M, Adinolfi F, Bartoli L, Masi M. Adoption of precision farming tools: a context-related analysis. Land Use Policy. 2020;94:104481.
- 57. Lakshmi GP, Asha P, Sandhya G, Sharma SV, Shilpashree S, Subramanya S. An intelligent IOT sensor coupled precision irrigation model for agriculture. Measur Sens. 2023;25:100608.
- 58. Kaplun D, Deka S, Bora A, Choudhury N, Basistha J, Purkayastha B, et al. An intelligent agriculture management system for rainfall prediction and fruit health monitoring. Sci Rep. 2024;14(1):512. pmid:38177254
- 59. Leiva F, Abdelghafour F, Alsheikh M, Nagy NE, Davik J, Chawade A. ScabyNet, a user-friendly application for detecting common scab in potato tubers using deep learning and morphological traits. Sci Rep. 2024;14(1):1277. pmid:38218867
- 60. Lippi M, Carpio RF, Contarini M, Speranza S, Gasparri A. A data-driven monitoring system for the early pest detection in the precision agriculture of hazelnut orchards. IFAC-PapersOnLine. 2022;55(32):42–7.
- 61. Tufail M, Iqbal J, Tiwana MI, Alam MS, Khan ZA, Khan MT. Identification of tobacco crop based on machine learning for a precision agricultural sprayer. IEEE Access. 2021;9:23814–25.
- 62. Abayomi-Alli O, Damaševičius R, Misra S, Abayomi-Alli A. FruitQ: a new dataset of multiple fruit images for freshness evaluation. Multim Tools Appl. 2023;83:11433–60.
- 63. Jaeger SR, Antúnez L, Ares G. An exploration of what freshness in fruit means to consumers. Food Res Int. 2023;165:112491. pmid:36869502
- 64. Olisah CC, Trewhella B, Li B, Smith ML, Winstone B, Whitfield EC. Convolutional neural network ensemble learning for hyperspectral imaging-based blackberry fruit ripeness detection in uncontrolled farm environment. Eng Appl Artif Intell. 2024;132:107945.
- 65. Saranya N, Srinivasan K, Kumar SP. Banana ripeness stage identification: a deep learning approach. J Ambient Intell Humaniz Comput. 2022;13:4033–9.
- 66.
Chmaj, G., Sharma, S., Selvaraj, H. Automated agronomy: evaluation of fruits ripeness using machine learning approach. In: Selvaraj H, Chmaj G, Zydek D, editors. ICSEng. Proceedings of the 27th International Conference on Systems Engineering. 2020 Dec 14–16; Las Vegas, USA. Cham: Springer; 2021. p. 183–91.
- 67. Mahmood A, Singh SK, Tiwari AK. Pre-trained deep learning-based classification of jujube fruits according to their maturity level. Neural Comput Applic. 2022;34:13925–35.
- 68. Chang C-Y, Kuan C-S, Tseng H-Y, Lee P-H, Tsai S-H, Chen S-J. Using deep learning to identify maturity and 3D distance in pineapple fields. Sci Rep. 2022;12(1):8749. pmid:35610243
- 69.
Kangune K, Kulkarni V, Kosamkar P. Grapes ripeness estimation using convolutional neural network and support vector machine. In: GCAT. 2019 Global Conference for Advancement in Technology 2019 Oct 18-20; Bangalore, India. IEEE; 2019. p. 1–5.
- 70. Elwirehardja GN, Prayoga JS. Oil palm fresh fruit bunch ripeness classification on mobile devices using deep learning approaches. Comput Electron Agricult. 2021;188:106359.
- 71. Gururaj N, Vinod V, Vijayakumar K. Deep grading of mangoes using convolutional neural network and computer vision. Multim Tools Applic. 2023;82:39525–50.
- 72. Zhang L, Cao J. A light-weight CNN based multi-task architecture for apple maturity and disease classification. Biol Life Sci Forum. 2024;30(1):Article No. 19.
- 73. Chen S, Xiong J, Jiao J, Xie Z, Huo Z, Hu W. Citrus fruits maturity detection in natural environments based on convolutional neural networks and visual saliency map. Precision Agricult. 2022;23(5):1515–31.
- 74. Bouguettaya A, Zarzour H, Kechida A, Taberkit AM. Deep learning techniques to classify agricultural crops through UAV imagery: a review. Neural Comput Appl. 2022;34(12):9511–36. pmid:35281624
- 75. Zhao X, Peng Y, Li Y, Guo Q, Wang B. A flight sensing detector for apple maturity indexes in orchard. Biosyst Eng. 2023;230.
- 76. He K, Zhang X, Ren S, Sun J. Deep Residual Learning for Image Recognition. arXiv preprint 2015. https://arxiv.org/abs/1512.03385
- 77.
Deng J, Dong W, Socher R, Li L-J, Li K, Fei-Fei L. ImageNet: a large-scale hierarchical image database. In: 2009 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). 2009 Jun 20–25; Miami, FL, USA. IEEE; 2009. p. 248–55.
- 78.
Szegedy C, Vanhoucke V, Ioffe S, Shlens J, Wojna Z. Rethinking the inception architecture for computer vision. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR). 2016. p. 2818–26.
- 79.
Tan M, Le Q. EfficientNet: rethinking model scaling for convolutional neural networks. In: Proceedings of the 36th International Conference on Machine Learning. 2019. p. 6105–14.
- 80. Zhao L, Zhang Z. A improved pooling method for convolutional neural networks. Sci Rep. 2024;14(1):1589. pmid:38238357
- 81. Srivastava N, Hinton G, Krizhevsky A, Sutskever I, Salakhutdinov R. Dropout: a simple way to prevent neural networks from overfitting. J Mach Learn Res. 2014;15:1929–58.
- 82.
Waoo AA, Soni BK. Performance analysis of sigmoid and relu activation functions in deep neural network. In: Sheth A, Sinhal A, Shrivastava A, Pandey AK, editors. Intelligent Systems. Algorithms for Intelligent Systems. 2021 Feb 5–6; Jaipur, India. Singapore: Springer; 2021. p. 39–52.
- 83. LeCun Y, Bengio Y, Hinton G. Deep learning. Nature. 2015;521(7553):436–44. pmid:26017442
- 84. Wong TT, Yeh PY. Reliable accuracy estimates from k-fold cross validation. IEEE Trans Knowl Data Eng. 2020;32(8):1586–94.
- 85. Fernando KRM, Tsokos CP. Dynamically weighted balanced loss: class imbalanced learning and confidence calibration of deep neural networks. IEEE Trans Neural Netw Learn Syst. 2022;33(7):2940–51. pmid:33444149
- 86. Grandini M, Bagli E, Visani G. Metrics for multi-class classification: an overview. arXiv preprint 2020. https://arxiv.org/abs/2008.05756
- 87. Sokolova M, Lapalme GA. A systematic analysis of performance measures for classification tasks. Inf Process Manag. 2009;45(4):427–37.
- 88. Monaghan TF, Rahman SN, Agudelo CW, Wein AJ, Lazar JM, Everaert K. Foundational statistical principles in medical research: sensitivity, specificity, positive predictive value, and negative predictive value. Medicina. 2021;57(5):503.
- 89.
Zhang Z, Liu H, Yang C, Ampatzidis Y, Zhou J, Jiang Y. Unmanned aerial systems in precision agriculture: technological progresses and applications. Singapore: Springer. 2022.
- 90. Bradley AP. The use of the area under the ROC curve in the evaluation of machine learning algorithms. Pattern Recognit. 1997;30(7):1145–59.
- 91. G P, Choudhary S, Anbazhagan K, Naresh D, Baddam R, Jarolimek J. A step towards inter-operable Unmanned Aerial Vehicles (UAV) based phenotyping; A case study demonstrating a rapid, quantitative approach to standardize image acquisition and check quality of acquired images. ISPRS Open J Photogram Remote Sens. 2023;9:100042.
- 92. Ampatzidis Y, Partel V, Costa L. Agroview: cloud-based application to process, analyze and visualize UAV-collected data for precision agriculture applications utilizing artificial intelligence. Comput Electron Agricult. 2020;174:105457.
- 93.
Rodrigues B, Kansara R, Singh S, Save D, Parihar S. Ripe-unripe: machine learning based ripeness classification. In: ICICCS. 2021 5th International Conference on Intelligent Computing and Control Systems. 2021 May 06–08; Madurai, India. IEEE; 2021. p. 1–5.
- 94.
Brigato L, Iocchi L. A close look at deep learning with small data. In: 2020 25th International Conference on Pattern Recognition (ICPR). 2021; Milan, Italy. IEEE; 2021. p. 2490–7.
- 95.
Kabir MM, Ohi AQ, Rahman MS, Mridha MF. An evolution of CNN object classifiers on low-resolution images. In: HONET. 2020 IEEE 17th International Conference on Smart Communities: Improving Quality of Life Using ICT, IoT and AI. 2020 Dec 14–16; Charlotte, NC, USA. IEEE; 2021. p. 209–13.
- 96. Donapati RR, Cheruku R, Kodali P. Real-time seed detection and germination analysis in precision agriculture: a fusion model with U-Net and CNN on Jetson Nano. IEEE Trans AgriFood Electron. 2023;1(2):145–55.
- 97.
Redmon J, Divvala S, Girshick R, Farhadi A. You only look once: unified, real-time object detection. In: 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). 2016 Jun 27–30; Las Vegas, NV, USA. IEEE; 2016. p. 779–88.
- 98. He L, Fang W, Zhao G, Wu Z, Fu L, Li R, et al. Fruit yield prediction and estimation in orchards: a state-of-the-art comprehensive review for both direct and indirect methods. Comput Electron Agricult. 2022;195:106812.