Skip to Content
Remote SensingRemote Sensing
  • Article
  • Open Access

1 December 2026

28 Pages

Automated Detection of the Colorado Potato Beetle Using UAV-Acquired Ultra-High-Resolution RGB Imagery and Deep Learning

,
and
Centre ETE, Institut National de la Recherche Scientifique, Quebec, QC G1K 9A9, Canada
*
Author to whom correspondence should be addressed.
Remote Sens.2026, 18(23), 4167;https://doi.org/10.3390/rs18234167 
(registering DOI)
This article belongs to the Section Remote Sensing in Agriculture and Vegetation

Highlights

  • Comparative evaluation of deep learning models and training strategies identified ResNet-50 with data-augmentation oversampling as the best-performing approach for individual Colorado potato beetle (CPB) detection (F1-score = 77%).
  • Aggregating individual CPB detections enabled infestation hotspot identification with an F1-score of 87%.
  • Ultra-high-resolution UAV imagery and deep learning-based scouting offer a faster and more reliable alternative to conventional field scouting for CPB monitoring.
  • Spatially targeted infestation mapping could support more cost-effective insecticide applications and integrated pest management.

Abstract

The Colorado potato beetle (CPB) (Leptinotarsa decemlineata) poses a major threat to potato cultivation. Conventional scouting methods are often labor-intensive, costly in terms of human resources and, therefore, frequently overlooked. The use of unmanned aerial vehicles (UAVs) offers a rapid alternative for accurately locating outbreaks and estimating phytosanitary intervention thresholds. This study presents a method for estimating the number of visible CPB individuals in close-range UAV imagery with a ground sampling distance (GSD) of 1.17 mm. Suitable RGB camera and UAV flight parameters were identified and a detection algorithm was developed. The algorithm consists of two detection phases: (1) detection of candidate CPB individuals using threshold-based segmentation and region property filtering; and (2) classification of these candidate regions using deep convolutional neural networks (DCNNs) with transfer learning (CPB vs. non-CPB). The algorithm was evaluated at both the individual insect level and the infestation site level, and results were compared with conventional scouting. Since images may contain hundreds of potential regions for only a few CPBs, various DCNN training strategies were tested to address class imbalance. Oversampling and cost-sensitive learning proved to be the most effective approaches. At the individual level, the best model achieved an F1-score of 77% (precision: 82%, recall: 72%), while at the infestation site level it achieved an F1-score of 87% (precision: 82%, recall: 93%). In addition, the model obtained a high coefficient of determination (R2 = 70%) when comparing detections from the proposed method with those from conventional scouting.

1. Introduction

Potato (Solanum tuberosum L.) is Canada’s most economically important vegetable crop, representing 29.3% of total vegetable production revenues and 15.4% of horticultural production revenues. In 2016, Canadian potato production reached about 4.77 million tonnes, valued at CAD 1.2 billion [1]. The Colorado potato beetle (CPB) is one of the most destructive insect pests affecting potato crops worldwide and represents a major agronomic and economic threat. Its management relies primarily on chemical insecticides, raising significant concerns regarding environmental impacts and human health risks. Globally, CPB management costs are estimated at approximately USD 1 billion annually, with cumulative crop losses reaching nearly USD 3.5 billion per year [2]. Only a limited number of producers implement the first level of Integrated Pest Management (IPM), which consists of field scouting and applying insecticides only when economic thresholds are exceeded [3].
IPM uses knowledge about the spatial variation in the pest population to influence the spatial deployment of management inputs. Colonizing CPB adults aggregate along field edges [4,5] and the larval population is highly aggregated in clusters [6]. Some studies have explored spatial structuring of CPB populations in untreated fields and the results suggest that a systemic perimeter treatment could be an important management tactic [7]. Ferro et al. [8] suggested that insecticides could be limited to a 6 m perimeter of a field. Weisz et al. [5] showed that mapped-and-targeted insecticide applications can reduce the quantity of insecticide that is needed to control the pest by 30 to 40% compared to whole-field insecticide treatments and when field mean infestation densities have exceeded action levels. Although CPB outbreaks are highly aggregated spatially, targeted phytosanitary treatments may be difficult to implement in practice because accurately identifying infestation hotspots requires substantial time and labor for field scouting.

3. Materials and Methods

3.1. Field Survey

UAV imagery was acquired over a potato field owned by the partner producer Patates Dolbec in Sainte-Anne-de-la-Pérade, Québec, Canada (Figure 2). The “Goldrush” potato variety was planted with imidacloprid-treated seed potatoes to reduce early-season susceptibility to CPB infestation. Since no crop rotation was implemented, the field became heavily infested during the growing season. Two field campaigns, including UAV flights and scouting activities, were conducted in July 2018 after agronomists identified the onset of CPB infestation.
Figure 2. Location of the experimental plot and the scouting sites for the two survey dates along the St. Lawrence River in Quebec.
During the first survey, conducted on 19 July 2018, four scouting plots (2 rows × 2 m) were delineated in CPB-infested areas for manual field scouting. Observations included row number as well as the number of visible CPBs (small larvae, large larvae, and adults) that were located on the canopy or hidden beneath the leaves. Close-range photographs that were acquired with a mobile phone camera were also collected to support the interpretation and validation of aerial imagery observations (Figure 2).
During the second survey on 30 July 2018, manual scouting was conducted on five plots, while proximal photographic scouting was performed at 25 additional locations (Figure 3). The geographic coordinates of all scouting sites were recorded using a mobile phone GPS (±2 m accuracy). A photogrammetric target associated with a unique identification number was placed at each scouting location to link field observations and proximal imagery with the corresponding aerial data.
Figure 3. Scouting site #23 (30 July): (a) example of a close-up photo used for the validation of CPB detection in aerial photographs; (b) enlarged UAV image; (c) UAV image at the original scale, with the red box indicating the area shown in panels (a,b).

3.2. Ultra-High-Resolution UAV Image Acquisition

The UAV used was an Onyx Star HYDRA-12 (AltiGator, Waterloo, Belgium) hexacopter equipped with 12 motors and a Sony a6000 (Sony Corporation, Tokyo, Japan) camera (Figure 4). The camera was mounted on a stabilization gimbal to ensure a direct nadir view and to reduce flight disruptions. Table 1 shows the camera specifications and Table 2 shows the flight parameters that were used in the field campaigns.
Figure 4. (a) UAV platform OnyxStar HYDRA-12; (b) Sony a6000 camera with 50 mm focal-length lens.
Table 1. Specifications of the camera used in both field campaigns (Sony a6000).
Table 2. Flight parameters for the two field campaigns.
Camera exposure parameters were adjusted manually during the first field campaign. Several flight speeds, shutter speeds, aperture settings, and ISO values were tested to determine the optimal image acquisition configuration. Shutter speeds were selected to ensure that motion blur (b) remained below 1.5 pixels at a flight speed of 4 m/s, as estimated using Equation (1) [41]. Aperture and ISO settings were evaluated to obtain well-focused and properly exposed images while maintaining the lowest possible ISO sensitivity. The best results were obtained at a cruising speed of 3 m/s, with a shutter speed at 1/4000 s, an aperture at F3.2, and ISO 250. During the second survey, the cruising speed was set to 3 m/s and shutter speed to 1/4000 s, aperture F3.5 and ISO 320. The settings differed from those that were used during the first survey due to slightly different illumination conditions and to evaluate the effect of camera configuration on image quality and model performance. The white balance was set to daylight mode for all image acquisitions. Weather conditions were clear and sunny during both surveys, with only limited cloud cover. Image acquisition was conducted around solar noon to maximize illumination.
b = v ∗ t GSD ,
where b is the motion blur, v is the UAV ground speed, t is the shutter speed and GSD is the ground sampling distance.
The images were geotagged by synchronizing the GPS time and the camera time using ExifTools (v11.16 2018) software and assigning a GPS position to each photograph from the UAV’s flight log GPX file.

3.3. Detection Pipeline

The developed algorithm consists of two phases: (1) preliminary detection using threshold-based segmentation; and (2) classification of potential areas using a pre-trained convolutional neural network to identify CPB larvae and adults. Following classification, an aggregation map is generated by counting detections within a 1000 × 1000 pixel grid (1.37 m2). This grid size was selected as a practical spatial scale for representing CPB infestation hotspots, consistent with the spatial scale at which field scouting and variable-rate pesticide applications can be managed, rather than as an optimized aggregation scale. This aggregation approach helps identify infestation sites while reducing the effects of false positive and false negative detections. Because CPB populations are typically spatially clustered, high detection densities are expected to correspond to actual infestation zones.

3.3.1. Preliminary Detection Pipeline

The idea behind the preliminary detection was to extract, exclusively on the vegetation areas, groups of pixels with features corresponding to CPB individuals. Figure 5 shows the hierarchical process of the preliminary detection.
Figure 5. Preliminary detection pipeline with segmentation and feature threshold values that were used.
First, the image is converted to the HSV color space, and vegetation is extracted by thresholding the hue (H) channel. A vegetation map is then generated by applying a mean filter to the resulting segmentation using a 20 × 20 pixel window. Windows with a mean value greater than 0.5 are classified as vegetation (value = 1). The resulting vegetation mask is then upsampled to the original image resolution. This procedure was implemented to reduce the processing time in comparison with using a standard median filter which requires longer processing time for the same result. A thresholding segmentation is also done to extract red regions from the image. Masking (scalar product) is performed by combining the vegetation map and the red area map.
Features such as mean hue (H band), circularity, elongation, area and percentage of vegetation in a neighboring of 48 × 48 pixel window are then extracted using the region properties function of the scikit-image measure Python library (v0.13.1). A rule-based classification is performed on those features to quickly extract the potential areas within the image.
To determine segmentation threshold values, the exact locations of CPBs in the images were identified. Segmentation using a threshold of H < 0.19 was then used to extract CPB segments. The histogram of pixel values was analyzed and the values of the 5th and 80th percentiles of the hue channel were selected (0.06 < H < 0.16). For the brightness (V) channel, the 10th percentile was selected (V > 0.35). The threshold values directly influenced the number of potential zones that would be processed by the detection algorithm using a DCNN. The greater the number of potential areas there are, the longer the processing time. Since minimizing CPB omission is essential at this stage, parameters were calibrated empirically using the training imagery. The selected parameters were subsequently evaluated on the validation imagery to assess their ability to identify CPB candidate regions while limiting the number of candidate regions and, consequently, processing time and false positives.
The developed decision equation for identifying a potential area is expressed as
PotentialArea = 1 , ∧ if µ H ≥ 0.145 ∧ 0.5 < C ≤ 2.3 ∧ 1 ≤ E ≤ 2.3 ∧ 6 ≤ A ≤ 100 ∧ V 48 × 48 ≥ 0.80 0 , ∧ otherwise ,
where
  • μH = Mean H
  • C = Circularity
  • E = Elongation
  • A = Area
  • V48×48 = proportion of vegetation in the neighboring 48 × 48 pixel window
  • and
  • 1 = Potential area
  • 0 = Not a potential area

3.3.2. Deep Convolutional Neural Network Framework

During the preliminary detection, the method extracts many more potential areas than there are CPBs that are present in the images. As each of these zones must subsequently be classified, it is therefore an unbalanced classification problem. Class imbalance is a problem that relates to the degree of imbalance, the complexity of the concept represented by the data, the size of the training data set and the classifier that is used [42]. In order to take into account class imbalance, different training strategies such as oversampling, sub-sampling, thresholding of the membership probability, and cost-sensitive learning can be used [43].
Five different training strategies were compared in this study for three ResNet architectures (ResNet-18, ResNet-34, and ResNet-50) pretrained from the ImageNet dataset. The different training strategies are
  • Random sub-sampling (strategy 1);
  • Sub-sampling with K-means (strategy 2);
  • Combination of oversampling with data-augmentation and random sub-sampling (strategy 3);
  • Combination of oversampling with Synthetic Minority Oversampling Technique (SMOTE) and sub-sampling with K-means (strategy 4);
  • Cost-sensitive learning (strategy 5).
  • Strategy 1 requires the majority class to be randomly sub-sampled by randomly picking samples so the number of samples in the majority class and the minority class are equal. In this case, the samples in the minority class are modified with random data-augmentation (i.e., modifications of hue, saturation, brightness, cropping, mirror and rotation) without adding extra samples. Strategy 2 aims to synthesize the majority class with the centroids of the K-means method instead of the original samples [44]. Strategy 3 consists of oversampling the minority class only with data-augmentation and randomly sub-sampling the majority class so the number of samples in both classes are equal. Strategy 4 requires oversampling the minority class using the SMOTE method and to sub-sample the majority class using the K-means method. The SMOTE method involves creating synthetic samples by randomly selecting neighbors from the k-nearest neighbors in the feature space [45]. Cost-sensitive learning consists of keeping the unbalanced ratio of the dataset and associating greater weight to minority-class samples of the in the loss function. This method assigns a different cost when there is a misclassification by class [46].
The SMOTE method for oversampling and the K-means method for sub-sampling were implemented using the Python library imbalanced-learn (v0.4.3) [47]. The data-augmentation was done using the Python library Augmentor (v0.2.3) [48].
The ResNet DCNN architecture was selected because it enables comparison across different depths, while maintaining strong and stable performance as network depth increases. ResNet uses skip connections that add the outputs of earlier layers to deeper layers, allowing low-level features to be preserved, while deeper layers learn residual refinements of the representation. This also improves gradient propagation in very deep networks [24]. The input size of the architecture was set to 64 × 64 pixels to reduce computational time and match the sample window size. The architecture weights were pre-trained on the ImageNet dataset. ImageNet was selected due to its large-scale and diverse image content, which enables the learning of robust feature representations that can be transferred to downstream tasks using UAV RGB imagery.
The last layer of the ResNet architecture was replaced with a classifier composed of
  • Global average pooling;
  • Dropout layer (p = 0.3);
  • Fully connected layer with a single neuron and sigmoid activation function.
  • The networks were trained using binary cross-entropy loss with a batch size of 32. All of the layers in the networks have been retrained. Probability thresholding has been applied to each model. This method consists of selecting the probability threshold for the CPB class that maximizes the F1-score and precision on the unbalanced validation dataset.
Different optimization parameters were used depending on the training strategy. Preliminary trial-and-error experiments were conducted to identify optimization settings and learning rates that resulted in generally stable model convergence. Once stable convergence was achieved, the hyperparameters were fixed for the subsequent experiments. For strategies 1, 3 and 5, the optimization function was stochastic gradient descent with momentum (momentum = 0.9) with a learning rate of 0.0001. For strategies 2 and 4, the stochastic gradient descent with momentum (momentum = 0.9) was also used, but with a learning rate schedule. The initial learning rate was set at 0.01 and divided by 2 every 5 epochs. This learning rate schedule was adopted during the preliminary experiments to improve convergence stability for these strategies. The DCNNs were trained for a maximum of 100 epochs. Early stopping was used to prevent overfitting and to reduce the computing time if the performance of the model did not improve for 20 epochs. The average accuracy was monitored on the validation dataset for strategies 1, 2, 3 and 4 to save the best model. For strategy 5 (cost-sensitive learning), the loss was monitored on the unbalanced validation dataset. A class weight of 15:1 was assigned to the CPB class in the loss function. This weight value was selected empirically. During training, samples were randomly shuffled and data augmentation was applied to each batch. The transformations included horizontal flipping, rotations in 90° increments and translations along the X and Y axis of up to 10% of the window size. Models were trained using the Python library Keras (v2.2.4) [49] with the TensorFlow Backend (v1.12.0).

3.4. Training, Validation and Testing Steps

The training, validation and testing steps require different datasets. The training step uses most of the image collection to calibrate the model’s hidden parameters. The validation step is used to fine-tune the hyperparameters of the model such as the learning rate, batch size and the architecture. The testing step is required to evaluate the model on a completely independent dataset that is different from the training and validation sets.

3.4.1. Datasets

The location of the images used for training, validation and testing is shown in Figure 6. The training dataset is composed of 54 UAV images (6 images of 1st campaign and 48 images of 2nd campaign), the validation dataset is composed of 6 images (3 images of 1st campaign and 3 images of 2nd campaign) and the testing dataset is composed of 7 images (3 images of 1st campaign and 4 images of 2nd campaign). The images were selected to ensure no spatial overlap among them, thereby preventing the inclusion of duplicate images in the dataset. The images for which conventional scouting was performed were selected to design the validation and testing sets.
Figure 6. Location of UAV images and corresponding dataset and scouting plots for the two 2018 field campaigns.
For every UAV image that was used, the CPB’s center location was recorded by visually inspecting the images and the observations were validated using the close-up photographs. Using the preliminary detection algorithm, where the detected potential area bounding box intersects with an identified CPB, an image of that area is extracted. For the negative samples, images with no CPB occurrence were used to extract potential areas that were associated with the no-CPB class. The image size of each sample is equal to the bounding box of the potential area plus a 2-pixel buffer surrounding the box. This adaptive window size has been compared to a fixed window size (32 × 32 and 48 × 48 pixels) and has demonstrated better results. Before feeding the image to the neural network, the images are resized to the input size of the ResNet architecture (64 × 64 pixels). Those images were used to train the DCNNs and to evaluate their performance.
Table 3 details the data sets that are used by the different training strategies, the number of associated samples for each class and the validation method that was used. Table 4 details the validation and testing data sets. The unbalanced dataset is used to validate the unbalanced training dataset that is used in the cost-sensitive learning strategy (Strategy 5).
For the validation of the infestation site’s locations, the UAV images that were used in testing and validation were selected. To evaluate the performance of the models on their ability to locate infestation sites, infestation sites were recorded when five or more CPB detections were identified within a 1000 × 1000 pixel grid. A threshold of five large larvae per grid was used as an operational criterion to delineate potential infestation hotspots from the UAV-based detections. This threshold was selected to identify areas with relatively high detection densities while excluding isolated detections. No formal optimization of this threshold was performed. In total, the infestation site dataset includes 13 UAV-acquired images (6 images of the 1st campaign and 7 images of the 2nd campaign), corresponding to the validation and test images combined, and contained 30 infestation sites.
Conventional scouting data were used to calculate the correlation between the conventional scouting of the adults and large larvae at the top of the canopy and the detections that were generated by the proposed models for a total of nine conventional scouting plot and nine corresponding UAV images.
Table 3. Different datasets used for the training strategies including the number of samples from each class (n).
Table 4. Validation and test data sets including the number of samples from each class.

3.4.2. Validation Metrics

To evaluate an unbalanced dataset, it is inappropriate to use overall accuracy (Equation (3)) as a validation metric since it considers the total number of correct predictions relative to the total number of samples. If a class is largely over-represented, the overall accuracy can be very high while having a low detection rate for the minority class. The preferred evaluation metrics are, for example, recall, precision and f1-score. Precision (Equation (4)) is a measure of the accuracy of the classifier; low precision indicates that the classifier overestimates the positive elements (high number of false positives), whereas the recall (Equation (5)) is a measure of the classifier’s ability to identify positive samples. A low recall indicates an underestimation of the positive elements (a high number of false negatives). The F1-score (Equation (6)) is the harmonic mean between precision and recall.
The different evaluation metrics are calculated as follows:
Overall   accuracy   =   TP + TN TP + TN + FP + FN ,
Precision = TP TP + FP ,
Recall = TP TP + FN ,
F 1 - Score = 2 ∗ Precision ∗ Recall Precision + Recall ,
where TP, TN, FP, and FN denote true positives, true negatives, false positives, and false negatives, respectively.

4. Results

4.1. Automatic Detection Results at the Individual CPB Level

For all of the UAV images that were used, the number of detected CPBs was compared with the number of CPBs present to qualify the accuracy of the preliminary detection algorithm. The number of potential areas for each of these images was also calculated to estimate an average potential area per image. The recall measure was chosen to assess the performance of the method given the high number of potential areas and that the objective at this stage is to omit as few CPBs as possible. Table 5 presents the results for the images of the different data sets.
The parameter selection of the preliminary detection algorithm on the training images allows successful identification of CPBs in the validation and test images with a similar detection rate. At this stage, about 14.2% of the CPBs are omitted, while an average of 965 potential areas per image are detected. Omitted samples do not satisfy criteria that were defined by the preliminary detection algorithm, most commonly due to segment shape, area, or color characteristics. Figure 7 illustrates the vegetation mask and candidate areas that were identified within an infestation site. In this example, two adjacent large larvae (yellow circle, lower right) were likely omitted because the corresponding segment area exceeds the 100-pixel threshold and does not meet the required shape criteria. Nevertheless, several isolated CPBs are successfully detected.
Figure 7. Preliminary detection example of an infestation site during the first field campaign. two adjacent large larvae (yellow circle) were omitted.
Table 5. Performance of the preliminary detection algorithm for the UAV images used in the training, validation and testing datasets for the two field campaigns.

4.2. Performance of DCNN Training Strategies

Training deep learning models requires multiple hyper-parameter adjustments to optimize performance and ensure good generalization capability. The analysis of training and validation curves allows us to assess learning stability, model convergence, and the potential presence of overfitting. Models that were trained using strategies 1 and 3 (random under-sampling and data-augmentation over-sampling) showed stable behavior and a small gap between training and validation performance, indicating adequate convergence. In contrast, models that were trained with strategies 2 and 4 (K-Means under-sampling and SMOTE over-sampling) exhibited larger discrepancies between training and validation results, suggesting overfitting. Models that were trained with strategy 5 (cost-sensitive learning) maintained high overall accuracy despite less stable convergence that was caused by the strong class imbalance within mini-batches and the high weights of the CPB samples. All model training sessions were stopped before reaching 100 epochs using an early stopping criterion that was triggered after 20 consecutive epochs without improvement. Table 6 summarizes the best training epoch selected for model checkpointing.
Table 6. Training epochs at which the best-performing models were saved.
For each model, a probability threshold maximizing the F1-score and precision was selected using predictions that were generated on the unbalanced validation dataset. Probability distributions for both classes were analyzed, and thresholds ranging from 0.05 to 0.15, with increments of 0.005, were evaluated. Since the CPB class was encoded as class 0 during training, samples with probabilities below the selected threshold were classified as beetles. Table 7 summarizes the validation metrics that were obtained using the optimal threshold for each model.
Table 7. Performance of the different models for candidate-area classification and selected threshold values on the unbalanced validation dataset.
Among the tested models that were compared against the unbalanced validation dataset, ResNet-18 with training strategy 3 (data-augmentation over-sampling) achieved the highest F1-score (0.787). In contrast, the ResNet-18 with training strategy 5 (cost-sensitive learning) produced a comparable F1-score (0.785) with higher precision (0.830), indicating lower overestimation. All models using training strategy 3 achieved F1-scores above 75%, whereas the models using strategy 1 (random under-sampling) maintained F1-scores above 71%, despite containing nearly nine times fewer samples than the oversampled datasets. In contrast, training strategies 2 and 4 (K-Means under-sampling and SMOTE over-sampling) produced substantially poorer performances, particularly for strategy 2. This performance degradation is likely related to the synthetic sample generation process and the image resizing that is required by these approaches.
The results also support findings from the literature indicating that oversampling generally provides better performance than under-sampling for convolutional neural networks without necessarily increasing overfitting [42]. The selected thresholds were subsequently applied to the independent test dataset, which was never seen during training or validation. As expected, performance was lower on the test dataset because model selection was optimized using validation results. Table 8 presents the test performance metrics for all evaluated models.
Table 8. Performance of the different models for candidate-area classification on the unbalanced test dataset.
For each compared architecture, the best-performing model on the test dataset was identified. ResNet-50 trained with random under-sampling achieved the highest candidate-classification F1-score (77.11%) with a precision of 82.45%. Its recall was comparable to ResNet-34 that was trained with data-augmentation over-sampling, whereas its precision was similar to ResNet-18 that was trained with data-augmentation over-sampling. Increasing network depth resulted in slight improvement in performance, yet the gain remained modest relative to the reduction in processing time that was provided by ResNet-18. Because only a single training run was performed for each model configuration, it is not possible to conclude that ResNet-50 provides a statistically meaningful advantage over the shallower architectures.
Examples of correct and incorrect detections for the selected models are presented in Figure 8. True positives generally corresponded to CPBs with limited leaf occlusion, low shadow presence, and strong color contrast. The models successfully detected both adults and larvae, with adults typically appearing beige and larvae orange. True negatives mainly consisted of non-beetle samples lacking similar shape or color characteristics.
Figure 8. Examples of true positives, true negatives, false positives, and false negatives for the following models: (a) ResNet-18 trained with cost-sensitive learning; (b) ResNet-34 trained with cost-sensitive learning; and (c) ResNet-50 trained with data-augmentation over-sampling.
Most false positives were caused by leaf arrangements, soil reflections, and occasionally potato flowers, which produced shapes and color patterns that were similar to CPBs. Some samples were difficult to interpret visually, potentially introducing labeling errors to the reference data. False negatives were primarily associated with shaded samples and low contrast between the beetle and its surroundings. These observations highlight the main challenges associated with detecting individual CPBs in complex agricultural backgrounds, particularly when their visual characteristics overlap with those of surrounding vegetation. Furthermore, detection errors may originate from either the preliminary candidate extraction stage or the subsequent classification stage, potentially affecting the overall detection performance. The representative examples presented in Figure 8, together with the quantitative performance results reported in Table 5 and Table 8, provide further insight into these limitations and the behavior of the proposed detection framework.
Experiments with multiple fixed window sizes demonstrated that segment-adaptive windows provided the best performance. This approach reduced background noise and intraclass variability compared with fixed window sizes, although substantial variability remained. Several true positives and false negatives were consistently observed across different models.
To simultaneously evaluate both components of the algorithm, omissions from the preliminary detection stage were incorporated into the confusion matrices of the validation and test datasets. Figure 9 presents the precision, recall, and F1-score obtained for each drone image in the test dataset for all models except those trained with strategy 2 (K-Means under-sampling). Images acquired on 19 July 2018 are shown in blue, whereas images from 30 July 2018 are shown in purple to assess the effect of acquisition conditions on model performance. The combined score for all images is shown in red.
Figure 9. Boxplots showing the precision, recall, and F1-score results of the different trained models for the test dataset images, obtained using the complete detection pipeline. Results are separated according to acquisitions from 19 July 2018 (field campaign 1 in blue) and 30 July 2018 (field campaign 2 in purple), together with the complete test dataset (total in red).
The six best-performing models achieved higher precision and F1-scores on images acquired during the first field campaign. In the test dataset, the preliminary detection algorithm underestimated the number of detections by approximately 13% more during the second field campaign. This greater underestimation may be related to the higher ISO values used during the second campaign, which may have reduced the contrast between CPBs and the surrounding vegetation. It may also have contributed to the lower recall observed during the second campaign and partly explain the differences in precision and F1-scores between the two campaigns.
Among all models, ResNet-18 and ResNet-50 that were trained with strategy 3 (data-augmentation over-sampling) showed the most stable performance across images, with ResNet-50 achieving the highest and least variable precision. The ResNet-50 and ResNet-18 models trained with strategy 5 (cost-sensitive learning) also achieved higher maximum F1-scores for several images. Unexpectedly, ResNet-18 outperformed ResNet-34, although the latter was expected to produce intermediate performance between ResNet-18 and ResNet-50. This discrepancy may be related to training variability; additional training iterations would be required to confirm the robustness of the best-performing model.
The classification task remained challenging because the visual features characterizing the CPB were limited and highly variable, mainly consisting of shape, color, and shading patterns. Furthermore, the non-beetle class was substantially overrepresented and contained a wider diversity of learnable features for the algorithm.

4.3. Validation of Infestation Sites

Infestation hotspot validation was performed using all 13 drone images that were included in the validation and test datasets. Predictions were based on grid cells containing five or more estimated CPB detections. Figure 10 illustrates an example of the scouting maps that were generated. Blue cells represent correct predictions (true positives), red cells indicate commission errors (false positives), and yellow cells correspond to omission errors (false negatives). Green tiles indicate areas with 0–1 detections (low risk), yellow tiles represent areas with 2–4 detections (moderate risk), and red tiles correspond to areas with five or more detections (high risk).
Figure 10. Example of a scouting map for image 4981 acquired on July 19, generated using the ResNet-50 model trained with strategy 3. Blue, yellow, and red outlines indicate correct predictions, omission errors, and commission errors, respectively. Transparent colored squares indicate the locations of infestation hotspots identified based on the number of detections.
Table 9 details the correct predictions for both classes, as well as omission and commission errors at the infestation patch scale for each validated image and model. Overall model performance across all infestation patches is summarized in Table 10.
Table 9. Detailed table of true positives (TP), true negatives (TN), false positives (FP), and false negatives (FN) for each image that was used in the infestation patch validation dataset.
Table 10. Performance of the three best-performing models on the infestation patch validation dataset.
The ResNet-50 model that was trained with strategy 3 achieved the best performance at the infestation patch scale. Unlike the individual beetle classification results, recall was substantially higher, demonstrating that natural spatial aggregation of CPB larvae facilitates infestation patch detection. Most false positives originated from image #7924, which contained only seven isolated individuals without aggregation. Interestingly, the ResNet-18 and ResNet-34 models, both producing 512 output activations, showed comparable performance. The ResNet-50 model generated a larger feature representation (2048 output activations), but it only improved performance on image #7924 and performed worse on image #7978, suggesting that the larger feature space did not consistently translate into better classification results.
Overall, the aggregation-based scouting maps effectively detected infestation patches due to their strong spatial clustering. Despite omissions occurring during both phases of the algorithm, infestation patches containing high larval densities were rarely missed.

4.4. Comparison of Conventional Scouting and UAV-Based Automated Scouting

To compare conventional scouting with the proposed method, manually scouted plot areas were extracted from the imagery, and the three best-performing models from each architecture were used to detect CPB individuals. The results for the scouting plots are presented in Table 11, Table 12 and Table 13.
Table 11. Comparison of field scouting and drone-based detection results for the ResNet-18 model trained with strategy 5.
Table 12. Comparison of field scouting and drone-based detection results for the ResNet-34 model trained with strategy 5.
Table 13. Comparison of field scouting and drone-based detection results for the ResNet-50 model trained with strategy 3.
To explore the relationship between conventional scouting and model detections, linear regressions were performed using the nine manually scouted plots (n = 9). The detection/scouting relationship represents the regression between the number of detected CPBs, defined as the sum of true positive and false positive detections (TP + FP), and the number of CPBs identified through conventional scouting. The TP/scouting relationship represents the regression between the number of true positive detections (TP) and the number of CPBs identified through conventional scouting. The coefficient of determination (R2) and the p-value associated with the regression slope were calculated for each relationship and are presented in Table 14. The regression analyses were used to assess the association between the two approaches at the plot scale.
Table 14. Coefficient of determination (R2) and p-values for the relationships between model-based detection (TP + FP) and conventional scouting, and between true positive detections (TP) and conventional scouting (n = 9).
Model performance at the plot scale was consistent with the results that were obtained on the test dataset. The coefficient of determination between true positive detections and beetles visible above the canopy exceeded 60% for all three models, with statistically significant relationships (p < 0.05). Differences between the two methods can be attributed to potential errors in manual scouting as well as intrinsic detection algorithm limitations. For example, some CPBs may be aggregated in clusters, making individual counts difficult, or may have moved between the conventional sampling and drone image acquisition. Overall, these results indicate consistent agreement between the drone-based scouting approach and conventional manual scouting across the nine evaluated plots.

4.5. Recommended Ultra-High-Resolution UAV Image Acquisition Parameters for CPB Detection

Validation results demonstrated that the image acquisition parameters that were used during the July 19 field campaign provided suitable image quality for CPB detection. Future acquisitions using the Sony Alpha a6000 camera should therefore follow the same drone flight and camera settings: flight altitude of 15 m, spatial resolution of 1.17 mm/pixel, flight speed of 3 m/s, and lateral overlap below 10%. Camera parameters included a shutter speed of 1/4000 s, aperture of F3.2–F3.5, ISO ≤ 250, and an acquisition frequency of 1 image/s.
A shutter speed of 1/4000 s was selected to minimize motion blur and allow image acquisition at platform speeds up to 4 m/s. Yet, a flight speed of 3 m/s was retained to account for drone motion uncertainties. Since shutter speed remained fixed, aperture was optimized to maintain low ISO values while providing sufficient depth of field to compensate for altitude variations. An aperture of F3.2 was used during the first flight campaign, while F3.5 was subsequently tested during the second campaign and provided similarly suitable image quality. Both aperture settings provided sufficient depth of field while allowing adequate light to reach the sensor and maintaining low ISO values (between 250 and 320), thereby reducing image noise and preserving contrast between CPB individuals and potato foliage.
Image acquisition quality strongly depends on illumination conditions, routinely requiring high ambient light levels. Cameras with improved low-light performance, such as the Sony Alpha a7R II, could further improve acquisition efficiency by reducing sensor noise at higher ISO values and enabling larger image coverage through a full-frame sensor. In addition, shutter speeds up to 1/8000 s could support higher drone flight speeds while maintaining image sharpness.

5. Discussion

5.1. Operational Applicability

Operationally, surveying an entire field at such a low altitude may be challenging. Priority should therefore be given to field edges, which are generally the first areas to be infested in rotational cropping systems. A practical flight plan would include two flight lines along the field borders, covering approximately 14 m of edge area, followed by a zigzag trajectory across the field interior. Figure 11 presents an example flight plan designed to provide partial coverage of a 12-ha field with 10% horizontal and 35% vertical overlap. At a flight speed of 3 m/s and an image acquisition rate of one image per second, the flight time is approximately 18 min and would represent around 1095 image acquisitions. Including additional time for flight approach and positioning, the total operational time is estimated at 20 min, corresponding to two drone flights of approximately 10 min each.
Figure 11. Example of a flight plan prioritizing field edges and using a zigzag pattern across the interior of the agricultural plot for operational applications. The red outline delineates the field boundaries, the solid yellow lines represent the planned UAV flight path, the yellow arrows indicate the flight direction, and the numbered green markers identify successive waypoints. The red markers indicate field boundary reference points, while the dashed yellow lines represent auxiliary flight segments.
The millimeter-level spatial resolution required for reliable detection of individual CPBs introduces additional constraints for large-scale deployment. Achieving this resolution requires relatively low flight altitudes, which reduces the ground area covered by individual images and increases the number of images required to survey larger agricultural fields. Consequently, storage and computational requirements increase as the surveyed area expands. The proposed two-stage framework partially addresses the computational component of this limitation by restricting deep learning inference to candidate regions identified through color-based thresholding rather than processing the entire full-resolution imagery. Nevertheless, a trade-off remains between spatial resolution, survey coverage, computational cost, and detection performance when extending the approach to larger agricultural areas.
Although this strategy does not provide complete field coverage, it can provide a rapid overview of infestation patterns while following a sampling approach similar to conventional scouting. The resulting high-resolution, georeferenced infestation maps could support precision pest management by identifying areas for targeted field inspection and potentially informing variable-rate phytosanitary applications.

5.2. Computational Efficiency and Scalability

The computational requirements of the proposed framework are an important consideration for operational deployment. Using an average of 965 candidate zones per image, the preliminary detection required approximately 20.16 s per image. The subsequent ResNet classification required 9.51 s per image for ResNet-18, 15.99 s per image for ResNet-34, and 19.97 s per image for ResNet-50. Thus, the total processing time per image was approximately 29.67, 36.15, and 40.13 s for ResNet-18, ResNet-34, and ResNet-50, respectively. These processing times were measured using an AWS virtual machine equipped with an NVIDIA Tesla K80 GPU with 12 GB of GPU memory, 4 vCPUs, and 61 GB of RAM. For the 1095 images acquired in the example flight plan, the estimated processing time would therefore be approximately 9.0 h, 11.0 h, and 12.2 h for ResNet-18, ResNet-34, and ResNet-50, respectively.
Computational optimization strategies, including image disaggregation for median filtering and the exclusive use of the HSV color space, substantially reduced processing complexity and computing time for the preliminary detection stage. Although deeper architectures improved performance, ResNet-18 provided an effective trade-off between accuracy and inference time. At current AWS On-Demand rates, approximately 9 h of processing using the ResNet-18 configuration would cost an estimated CAD $7–8, excluding data storage and transfer costs. Processing the acquired imagery could therefore be completed within approximately one day following image acquisition.

5.3. Training Strategies

The results showed that cost-sensitive learning (Strategy 5) and oversampling with data augmentation combined with random sub-sampling (Strategy 3) generally provided the best performance, whereas the strategies involving K-means or SMOTE generally resulted in lower performance. This may be related to the preservation of real observations in Strategies 3 and 5. Strategy 5 retains the original class distribution while increasing the contribution of minority-class errors during model training, whereas Strategy 3 increases the representation of the minority class through data augmentation while retaining real samples from both classes. Furthermore, with Strategy 5, the model is trained using more samples from the background (no-CPB) class, allowing it to learn from a more diverse range of background conditions.
In contrast, Strategies 2 and 4 replace or supplement original observations using K-means centroids or synthetic samples generated by SMOTE. Such representations may not adequately capture the visual variability of CPBs and their surrounding vegetation and background characteristics, particularly given their small size in the imagery. Similarly, Strategy 1 reduces the number of majority-class observations through random sub-sampling, potentially removing information about the diversity of non-CPB image regions. Overall, the results suggest that preserving the diversity of real observations while explicitly addressing class imbalance was more effective for this dataset than relying on sub-sampling or synthetic sample generation.

5.4. Limitations

Several limitations should be considered when interpreting these results. The dataset was collected from a single potato field and cultivar during one growing season, with image acquisition conducted on two sunny dates. Consequently, the ability of the proposed approach to generalize to other fields, cultivars, growing stages, environmental conditions, and acquisition dates remains to be established. In addition, image acquisition quality strongly depends on illumination conditions, with high ambient light levels generally required to maintain the short exposure times and low ISO values needed for sharp, low-noise imagery. The acquisition parameters evaluated in this study should therefore be considered suitable for the tested conditions rather than universally optimal.
The rule-based preliminary detection relied on color-based thresholds that may be sensitive to changes in illumination, shadows, canopy conditions, CPB developmental stages, and camera settings. Furthermore, each model was trained only once, and the influence of training randomness on the reported performance could therefore not be quantified. Repeated training using different random seeds would be required to assess the variability of model performance and provide a more robust comparison among model configurations.

5.5. Future Improvements

Future acquisitions could investigate cameras with improved low-light performance, such as the Sony Alpha a7R II, which could improve image quality under lower illumination conditions by reducing sensor noise at higher ISO values and providing a wider field of view with a full-frame sensor. Furthermore, higher shutter speeds of up to 1/8000 s could allow higher drone flight speeds while maintaining image sharpness, potentially increasing survey efficiency.
The developed algorithm primarily detects adults and large larvae but does not distinguish between developmental stages, which is relevant for applying stage-specific phytosanitary intervention thresholds. The current approach also does not detect eggs, which are typically laid on the underside of potato leaves, or small larvae when they occur individually rather than in clusters. Future improvements could include life-stage classification, evaluation of additional pretrained architectures, and further optimization of the training and sampling strategies. Expanding the dataset with additional fields, acquisition dates, and environmental conditions would also help improve the robustness and transferability of the proposed approach.
End-to-end object detection approaches, including YOLO-based and transformer-based architectures, could also be evaluated to determine whether CPB detection and classification can be performed in a single inference step, thereby potentially reducing processing time by eliminating the preliminary candidate-extraction stage. In parallel, further optimization of the current preliminary detection algorithm and overall processing workflow should be considered, as candidate extraction currently represents the main computational bottleneck of the proposed framework.

6. Conclusions

This study developed a drone-based ultra-high-resolution imaging and deep learning approach for the rapid detection and mapping of CPB infestations in potato fields. The proposed methodology successfully combines automated image acquisition, preliminary rule-based detection, and convolutional neural network classification to support precision scouting applications.
Under the field conditions evaluated, suitable flight and camera parameters enabled the acquisition of sharp imagery from a moving drone at a flight speed of 3 m/s. Among the evaluated training strategies, data augmentation oversampling and cost-sensitive learning produced the best generalized performance, while synthetic sampling approaches were less effective. ResNet-50 trained with data-augmentation oversampling had the best end-to-end performance among the evaluated models (F1-Score = 77%) on the test dataset, while ResNet-18 trained with cost-sensitive learning provided a favorable trade-off between detection performance and inference time. Because CPB larvae were spatially clustered within infestation hotspots, evaluation at the infestation-site level resulted in an F1-score of 87%, compared with 77% for individual CPB detection. Furthermore, comparisons with conventional field scouting showed that the best-performing models achieved coefficients of determination (R2) exceeding 60% when compared with manual counts of large larvae and adults that were located at the canopy level.
Overall, the results demonstrate the feasibility of combining ultra-high-resolution UAV imagery with a two-stage detection framework for rapid CPB scouting. The approach provides a potential basis for spatially targeted pest monitoring while reducing the need to manually inspect entire fields. Further validation across multiple fields, cultivars, growing seasons, and environmental conditions, together with improvements in processing efficiency and life-stage classification, will be necessary before broader operational deployment.
Assessing the practical value of the proposed approach will also require a comprehensive techno-economic assessment to determine whether UAV-based scouting translates into measurable agronomic, economic and environmental benefits compared with conventional scouting and treatment practices. Such an approach could potentially support more targeted CPB management by identifying areas with higher infestation densities and informing where phytosanitary interventions may be needed.

Author Contributions

Conceptualization, D.T. and K.C.; methodology, D.T. and R.L.; validation, D.T.; formal analysis, D.T.; investigation, D.T.; resources, K.C.; data curation, D.T. and R.L.; writing—original draft preparation, D.T.; writing—review and editing, D.T. and R.L.; supervision, D.T., R.L. and K.C.; project administration, K.C. and R.L.; funding acquisition, R.L. and K.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Mitacs Accélération and Ministère de l’Agriculture, des Pêcheries et de l’Alimentation (MAPAQ), and Patates Dolbec grant number IT11008.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Acknowledgments

This project was supported by the Mitacs Accelerate program (Grant No. IT11008), with financial contributions from Patates Dolbec and the Ministère de l’Agriculture, des Pêcheries et de l’Alimentation du Québec (MAPAQ). The authors thank Patates Dolbec for providing the experimental agricultural field and for its financial contribution to the project. We also acknowledge the valuable support of agronomists Philippe Parent and Juliette Lévesque for their expertise in potato crop management, agronomy, and plant protection. Finally, we thank Daniel Bergeron and MAPAQ for facilitating the collaboration between INRS and Patates Dolbec and for their financial support of the project. W.F.J. Parsons revised the English text.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. AAC. Revue D’Information Sur Les Marchés de la Pomme de Terre 2015–2016; Section des Analyses et des Renseignements sur les Marchés, Division de l’Horticulture et des Enjeux Pan Sectoriels, Eds.; Gouvernement du Canada: Ottawa, ON, Canada, 2017. [Google Scholar]
  2. Jernelöv, A. The Colorado (Potato) Beetle. In The Long-Term Fate of Invasive Species; Springer: Cham, Switzerland, 2017; pp. 105–116. [Google Scholar]
  3. Alyokhin, A. Colorado Potato Beetle Management on Potatoes: Current Challenges and Future Prospects. Fruit Veg. Cereal Sci. Biotechnol. 2009, 3, 10–19. [Google Scholar]
  4. French, N.M., II; Follett, P.; Nault, B.A.; Kennedy, G.G. Colonization of potato fields in eastern North Carolina by Colorado potato beetle. Entomol. Exp. Appl. 1993, 68, 247–256. [Google Scholar] [CrossRef] [Scilit]
  5. Weisz, R.; Fleischer, S.; Smilowitz, Z. Site-Specific Integrated Pest Management for High-Value Crops: Impact on Potato Pest Management. J. Econ. Entomol. 1996, 89, 501–509. [Google Scholar] [CrossRef] [Scilit]
  6. Harcourt, D.G. Population Dynamics of Leptinotarsa decemlineata (Say) in Eastern Ontario: II. Population and mortality estimation during six age intervals. Can. Entomol. 1971, 103, 1049–1061. [Google Scholar]
  7. Blom, P.E.; Fleischer, S.J.; Smilowitz, Z. Spatial and Temporal Dynamics of Colorado Potato Beetle (Coleoptera: Chrysomelidae) in Fields with Perimeter and Spatially Targeted Insecticides. Environ. Entomol. 2002, 31, 149–159. [Google Scholar] [CrossRef] [Scilit]
  8. Ferro, D.N.; Logan, J.A.; Voss, R.H.; Elkinton, J.S. Colorado Potato Beetle (Coleoptera: Chrysomelidae) Temperature-dependent Growth and Feeding Rates. Environ. Entomol. 1985, 14, 343–348. [Google Scholar] [CrossRef] [Scilit]
  9. Backoulou, G.F.; Elliott, N.C.; Giles, K.L.; Mirik, M. Processed multispectral imagery differentiates wheat crop stress caused by greenbug from other causes. Comput. Electron. Agric. 2015, 115, 34–39. [Google Scholar] [CrossRef] [Scilit]
  10. Lee, W.S.; Kumar, A.; Ehsani, R.J.; Albrigo, L.G.; Yang, C.; Mangan, R.L. Citrus greening disease detection using aerial hyperspectral and multispectral imaging techniques. J. Appl. Remote Sens. 2012, 6, 23. [Google Scholar] [CrossRef] [Scilit]
  11. Li, X.; Lee, W.S.; Li, M.; Ehsani, R.; Mishra, A.R.; Yang, C.; Mangan, R.L. Feasibility study on Huanglongbing (citrus greening) detection based on WorldView-2 satellite imagery. Biosyst. Eng. 2015, 132, 28–38. [Google Scholar] [CrossRef] [Scilit]
  12. Apan, A.; Held, A.; Phinn, S.; Markley, J. Detecting sugarcane ‘orange rust’ disease using EO-1 Hyperion hyperspectral imagery. Int. J. Remote Sens. 2004, 25, 489–498. [Google Scholar] [CrossRef] [Scilit]
  13. Bhattacharya, B.K.; Chattopadhyay, C. A multi-stage tracking for mustard rot disease combining surface meteorology and satellite remote sensing. Comput. Electron. Agric. 2013, 90, 35–44. [Google Scholar] [CrossRef] [Scilit]
  14. Mirik, M.; Jones, D.C.; Price, J.A.; Workneh, F.; Ansley, R.J.; Rush, C.M. Satellite Remote Sensing of Wheat Infected by Wheat streak mosaic virus. Plant Dis. 2010, 95, 4–12. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  15. Mirik, M.; Jones, D.C.; Price, J.A.; Workneh, F.; Ansley, R.J.; Rush, C.M. WeedMap: A Large-Scale Semantic Weed Mapping Framework Using Aerial Multispectral Imaging and Deep Neural Network for Precision Farming. Remote Sens. 2018, 10, 1423. [Google Scholar] [CrossRef] [Scilit]
  16. Bah, M.D.; Hafiane, A.; Canals, R. Deep Learning with Unsupervised Data Labeling for Weed Detection in Line Crops in UAV Images. Remote Sens. 2018, 10, 1690. [Google Scholar] [CrossRef] [Scilit]
  17. Gavelle, E. Surveillance Phytosanitaire des Cultures de Pommes par Aéronefs Sans Pilote. Master’s Thesis, Département de Géomatique Appliquée, Université de Sherbrooke, Sherbrooke, QC, Canada, 2015; p. 82. [Google Scholar]
  18. Hunt, E.R.; Rondon, S.I. Detection of potato beetle damage using remote sensing from small unmanned aircraft systems. J. Appl. Remote Sens. 2017, 11, 1. [Google Scholar] [CrossRef] [Scilit]
  19. Bouroubi, Y.; Bugnet, P.; Nguyen-Xuan, T.; Gosselin, C.; Bélec, C.; Longchamps, L.; Vigneault, P. Pest Detection on UAV Imagery using a Deep Convolutional Neural Network. In Proceedings of the International Conference on Precision Agriculture, Montréal, QC, Canada, 24–27 June 2018. [Google Scholar]
  20. Lowe, D.G. Distinctive Image Features from Scale-Invariant Keypoints. Int. J. Comput. Vis. 2004, 60, 91–110. [Google Scholar] [CrossRef] [Scilit]
  21. Dalal, N.; Triggs, B. Histograms of oriented gradients for human detection. In Proceedings of the 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05), San Diego, CA, USA, 20–25 June 2005; IEEE: Piscataway, NJ, USA, 2005. [Google Scholar]
  22. Bay, H.; Tuytelaars, T.; Van Gool, L. SURF: Speeded Up Robust Features. In Computer Vision–ECCV 2006; Springer: Berlin/Heidelberg, Germany, 2006. [Google Scholar]
  23. LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  24. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. arXiv 2015, arXiv:1512.03385. [Google Scholar]
  25. Krizhevsky, A.; Sutskever, I.; Hinton, G.E. ImageNet classification with deep convolutional neural networks. In Proceedings of the 25th International Conference on Neural Information Processing Systems; Curran Associates Inc.: Lake Tahoe, NV, USA, 2012; Volume 1, pp. 1097–1105. [Google Scholar]
  26. Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; et al. An image is worth 16 × 16 words: Transformers for image recognition at scale. In Proceedings of the International Conference on Learning Representations (ICLR), Virtual Event, 3–7 May 2021. [Google Scholar]
  27. Kirillov, A.; Mintun, E.; Ravi, N.; Mao, H.; Rolland, C.; Gustafson, L.; Xiao, T.; Whitehead, S.; Berg, A.C.; Lo, W.-Y.; et al. Segment anything. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Paris, France, 2–6 October 2023; pp. 4015–4026. [Google Scholar]
  28. Ding, W.; Taylor, G. Automatic moth detection from trap images for pest management. Comput. Electron. Agric. 2016, 123, 17–28. [Google Scholar] [CrossRef] [Scilit]
  29. Duarte-Carvajalino, J.M.; Alzate, D.F.; Ramirez, A.A.; Santa-Sepulveda, J.D.; Fajardo-Rojas, A.E.; Soto-Suárez, M. Evaluating Late Blight Severity in Potato Crops Using Unmanned Aerial Vehicles and Machine Learning Algorithms. Remote Sens. 2018, 10, 1513. [Google Scholar] [CrossRef] [Scilit]
  30. DeChant, C.; Wiesner-Hanks, T.; Chen, S.; Stewart, E.L.; Yosinski, J.; Gore, M.A.; Nelson, R.J.; Lipson, H. Automated Identification of Northern Leaf Blight-Infected Maize Plants from Field Imagery Using Deep Learning. Phytopathology 2017, 107, 1426–1432. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  31. Stewart, E.L.; Wiesner-Hanks, T.; Kaczmar, N.; DeChant, C.; Wu, H.; Lipson, H.; Nelson, R.J.; Gore, M.A. Quantitative Phenotyping of Northern Leaf Blight in UAV Images Using Deep Learning. Remote Sens. 2019, 11, 2209. [Google Scholar] [CrossRef] [Scilit]
  32. Zhang, X.; Han, L.; Dong, Y.; Shi, Y.; Huang, W.; Han, L.; González-Moreno, P.; Ma, H.; Ye, H.; Sobeih, T. A Deep Learning-Based Approach for Automated Yellow Rust Disease Detection from High-Resolution Hyperspectral UAV Images. Remote Sens. 2019, 11, 1554. [Google Scholar] [CrossRef] [Scilit]
  33. Fuentes, A.; Yoon, S.; Kim, S.C.; Park, D.S. A Robust Deep-Learning-Based Detector for Real-Time Tomato Plant Diseases and Pests Recognition. Sensors 2017, 17, 2022. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  34. Mohanty, S.P.; Hughes, D.P.; Salathé, M. Using Deep Learning for Image-Based Plant Disease Detection. Front. Plant Sci. 2016, 7, 1419. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  35. Umirzakova, S.; Muksimova, S.; Buriboev, A.S.; Primova, H.; Choi, A.J. A Unified Transformer Model for Simultaneous Cotton Boll Detection, Pest Damage Segmentation, and Phenological Stage Classification from UAV Imagery. Drones 2025, 9, 555. [Google Scholar] [CrossRef] [Scilit]
  36. Qu, J.; Li, Q.; Pan, J.; Sun, M.; Lu, X.; Zhou, Y.; Zhu, H. SS-YOLOv8: Small-Size Object Detection Algorithm Based on Improved YOLOv8 for UAV Imagery. Multimed. Syst. 2025, 31, 42. [Google Scholar] [CrossRef] [Scilit]
  37. Wang, C.; Han, Y.; Yang, C.; Wu, M.; Chen, Z.; Yun, L.; Jin, X. CF-YOLO for Small Target Detection in Drone Imagery Based on YOLOv11 Algorithm. Sci. Rep. 2025, 15, 16741. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  38. Guo, Z.; Cai, D.; Zhou, Y.; Xu, T.; Yu, F. Identifying Rice Field Weeds from Unmanned Aerial Vehicle Remote Sensing Imagery Using Deep Learning. Plant Methods 2024, 20, 105. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  39. Fotouhi, F.; Menke, K.; Prestholt, A.; Gupta, A.; Carroll, M.E.; Yang, H.-J.; Skidmore, E.J.; O’nEal, M.; Merchant, N.; Das, S.K.; et al. Persistent Monitoring of Insect-Pests on Sticky Traps through Hierarchical Transfer Learning and Slicing-Aided Hyper Inference. Front. Plant Sci. 2024, 15, 1484587. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  40. Ma, L.; Luo, Y.; Xu, J. HMF-DEIM: High-Fidelity Multi-Domain Fusion Transformer for UAV Small Object Detection. Sensors 2026, 26, 2187. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  41. O’Connor, J.; Smith, M.J.; James, M.R. Cameras and settings for aerial surveys in the geosciences: Optimising image data. Prog. Phys. Geogr. Earth Environ. 2017, 41, 325–344. [Google Scholar]
  42. Japkowicz, N.; Stephen, S. The class imbalance problem: A systematic study. Intell. Data Anal. 2002, 6, 42–449. [Google Scholar] [CrossRef] [Scilit]
  43. Buda, M.; Maki, A.; Mazurowski, M.A. A systematic study of the class imbalance problem in convolutional neural networks. Neural Netw. 2018, 106, 249–259. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  44. Yen, S.-J.; Lee, Y.-S. Cluster-based under-sampling approaches for imbalanced data distributions. Expert Syst. Appl. 2009, 36, 5718–5727. [Google Scholar] [CrossRef] [Scilit]
  45. Chawla, N.V.; Bowyer, K.W.; Hall, L.O.; Kegelmeyer, W.P. SMOTE: Synthetic Minority Over-sampling Technique. J. Artif. Intell. Res. 2002, 16, 321–357. [Google Scholar] [CrossRef] [Scilit]
  46. Elkan, C. The foundations of cost-sensitive learning. In Proceedings of the 17th International Joint Conference on Artificial Intelligence; Morgan Kaufmann Publishers Inc.: Seattle, WA, USA, 2001; Volume 2, pp. 973–978. [Google Scholar]
  47. Lemaître, G.; Nogueira, F.; Aridas, C.K. Imbalanced-learn: A Python Toolbox to Tackle the Curse of Imbalanced Datasets in Machine Learning. J. Mach. Learn. Res. 2017, 18, 1–5. [Google Scholar]
  48. Bloice, M.D.; Roth, P.M.; Holzinger, A. Biomedical image augmentation using Augmentor. Bioinformatics 2019, 35, 4522–4524. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  49. Chollet, F. Keras. GitHub. 2015. Available online: https://github.com/keras-team/keras (accessed on 30 July 2026).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Article metric data becomes available approximately 24 hours after publication online.