Skip to Content
SustainabilitySustainability
  • Article
  • Open Access

19 January 2026

20 Pages

Automated Sunflower Head Detection and Yield Estimation from High-Resolution UAV Imagery Using YOLOv11 for Precision Agriculture

,
,
and
1
Geographic Information Science, School of Information and Communication Technology, University of Phayao, Phayao 56000, Thailand
2
Faculty of Science and Industrial Technology, Prince of Songkla University, Surat Thani Campus, Surat Thani 84000, Thailand
3
Information Technology, School of Information and Communication Technology, University of Phayao, Phayao 56000, Thailand
*
Author to whom correspondence should be addressed.
This article belongs to the Section Sustainable Agriculture

Abstract

Traditional methods for assessing sunflower yield across large agricultural fields are typically labor-intensive and time-consuming. This study explores the integration of unmanned aerial vehicle (UAV) imagery and the YOLOv11 deep learning model for automated sunflower head detection and yield estimation. Aerial imagery was collected from sunflower fields using UAVs, and a YOLOv11-based detection model was developed to identify sunflower heads efficiently. Model performance was optimized by tuning the Confidence Threshold and Intersection over Union (IoU) parameters. A total of 1290 image tiles derived from 215 UAV images were used for model training and evaluation. The dataset was divided into training and testing subsets with an 80:20 ratio. The optimal configuration, achieved at a Confidence Threshold of 0.50 and an IoU Threshold of 0.40, yielded balanced and accurate results, including a Precision of 0.84, Recall of 0.95, mAP@0.5 of 0.95, and an F1-score of 0.90. The findings demonstrate that parameter adjustment directly influences model detection accuracy and reliability. Overall, this study confirms that combining UAV remote sensing with YOLOv11 offers a robust and scalable approach for automated sunflower yield estimation, significantly reducing manual effort and processing time. Moreover, the proposed framework can be adapted for other high-value crops, contributing to the advancement of intelligent and data-driven agricultural management systems.

1. Introduction

The advent of precision agriculture has fundamentally transformed modern farming practices by leveraging advanced digital technologies to optimize resource utilization, enhance crop monitoring, and maximize yield potential amid growing global food security challenges. Among these technologies, unmanned aerial vehicles (UAVs) have become indispensable tools for large-scale agricultural surveillance, providing high-resolution and real-time imagery that enables precise assessment of crop health, canopy structure, and yield-related traits across extensive cultivation areas [1,2]. This integration of UAV-based remote sensing and deep learning represents a shift from traditional labor-intensive monitoring toward automated, efficient, and scalable farm management systems.
Sunflower (Helianthus annuus L.) is an economically significant crop in Southeast Asia—particularly in Thailand—where it is cultivated for edible oil production, seed consumption, livestock feed, and agritourism. Thailand cultivates over 15,000 rai (approximately 2400 hectares) annually, with yields ranging from 300–400 kg per rai, making accurate yield forecasting essential for market planning, contract farming, and sustainable resource allocation [3]. However, sunflower presents several agronomic challenges for yield estimation. Variations in head diameter, seed filling percentage, and phenological stages complicate manual counting, while dense canopies and uneven field accessibility often hinder timely field surveys. Conventional methods remain labor-intensive, prone to observer bias, and limited in scalability under real-world field conditions [4]. These limitations underscore the need for automated, high-precision monitoring tools that support the agricultural sector’s increasing demand for productivity, sustainability, and digital transformation.
Deep learning and computer vision have shown significant potential in automating sunflower head detection [5]. Earlier ground-based approaches achieved accuracy levels of up to 92% [6], while UAV-based studies, such as those by Santos et al. [7], demonstrated that convolutional neural networks (CNNs) can effectively estimate flower density. Nevertheless, existing research is often constrained by limited datasets, controlled or homogeneous environments, difficulty capturing head variability, and incomplete validation of the relationship between detected flower heads and true yield measurements. Moreover, although recent architectures—including Sunflower-YOLO [8,9] and transformer-enhanced models [10]—have improved detection performance, few studies have rigorously evaluated next-generation YOLO models (e.g., YOLOv11) for high-resolution UAV imagery in diverse agricultural conditions. A clear comparison between state-of-the-art models and their applicability to operational, farm-scale decision-making remains largely absent from the literature.
To address these research gaps, this study integrates YOLOv11 with high-resolution UAV imagery to develop a robust and scalable framework for sunflower head detection and yield estimation using real-world data from commercial fields in Thailand. YOLOv11 introduces architectural enhancements—including improved feature aggregation, optimized attention mechanisms, and faster inference—that offer potential advantages over earlier versions such as YOLOv8 and YOLOv10, particularly for detecting small, densely distributed flower heads under varying lighting and canopy structures. By linking automated flower head counts with field-measured yield, this study aims to provide a practical decision-support tool for growers and contribute to broader goals of agricultural sustainability, automation, and data-driven crop management.
Objectives
1.
To investigate the effectiveness of integrating high-resolution UAV imagery with the YOLOv11 architecture for automated sunflower head detection under real-world agricultural conditions.
2.
To develop and validate a predictive yield estimation model that links UAV-derived sunflower head counts to actual field-measured yield, demonstrating the practical applicability of YOLOv11 for precision crop monitoring and farm-level decision support.

3. Methodology

This research systematically integrates UAV technology with deep learning algorithms to develop a reliable and efficient framework for sunflower yield estimation. The main objective is to establish a rapid, cost-effective method for predicting sunflower productivity, minimizing the limitations of traditional manual counting, which is labor-intensive and scale dependent. UAVs were deployed to capture high-resolution aerial imagery across experimental sunflower plots, while the YOLOv11 deep learning model was applied to perform automated object detection and sunflower head counting.
The methodological workflow, summarized in Figure 1, was structured following geoinformatics best practices. The framework integrates eight sequential stages organized into three operational categories by color coding. Green boxes represent field-based data collection (study area preparation and ground truth sampling), cyan boxes represent digital processing and model development (UAV imaging, image processing, YOLO-based training and validation, and automated detection and counting), and light blue boxes represent analysis and validation (yield estimation and performance evaluation). Black arrows indicate the sequential data flow and process dependencies, while parallel data collection paths converge at yield estimation for comprehensive validation.
Figure 1. UAV-based automated sunflower yield estimation using YOLOv11 deep learning framework.
Following this framework structure, the study began with ground truth sampling and UAV-based image acquisition, followed by image preprocessing and data partitioning. The dataset was split 80:20, with eighty percent allocated for training the YOLOv11 model and twenty percent reserved for independent validation. Model performance was evaluated using standard object detection metrics—Precision, Recall, and mean Average Precision (mAP)—to assess detection accuracy, completeness, and overall effectiveness.
Ground-truth data on sunflower head counts and corresponding yield were collected to validate and calibrate the detection model. The integration of UAV-derived imagery and field-based measurements ensured reliable validation and enhanced model generalization. The overall framework provides a scalable and reproducible methodological foundation that combines remote sensing, automated object detection, and empirical yield modeling, supporting advanced applications in precision agriculture and improving operational efficiency in large-scale crop monitoring.

3.1. Study Area

The study was conducted within an experimental sunflower cultivation plot covering approximately 900 m2 at the Sufficiency Economy Learning Center, University of Phayao (Figure 2). To ensure representative sampling across the field, the area was stratified based on observable variations in canopy density, plant vigor, and phenological stage, which were assessed during preliminary field scouting. These agronomic factors were selected because they directly influence sunflower head density and contribute to spatial variability in yield.
Figure 2. Map of study area at the Sufficiency Economy Learning Center, University of Phayao.
Within each stratum, the field was systematically subdivided into 2 × 2 m ground-truth sampling units. The required number of sampling plots was determined using Formula (1), where the standard deviation of yield was obtained from a preliminary survey of ten randomly selected quadrats, and the allowable error (E) was set according to standard agronomic guidelines for plot-level yield estimation. Based on these parameters, a total of 15 representative sampling subplots were selected. This stratified sampling framework ensured that ground measurements captured the inherent spatial variability necessary for accurate calibration and validation of UAV-based yield estimation.

3.2. Ground Truth Data Acquisition

Following the stratified subdivision of the 900 m2 experimental sunflower plot (Section 3.1), the field was partitioned into uniform 2 × 2 m sampling units. This spatial structure ensured that ground measurements captured plant variability associated with canopy density, plant vigor, and phenological differences, thereby reducing sampling bias.
To determine the appropriate number of sampling plots, a statistical sample size estimation was performed using Formula (1). The standard deviation of yield (σ) was derived from a preliminary assessment of ten randomly selected quadrats, which provided an empirical estimate of yield variability within the study area. The acceptable margin of error (E) was set according to agronomic guidelines commonly employed in small-plot yield estimation studies, ensuring a balance between sampling precision and operational feasibility. With a 95% confidence level (Z = 1.96), the calculation indicated that 15 subplots were sufficient to represent the spatial variability of the field.
Within each selected subplot, all sunflower heads were manually counted, and plot-level yield was harvested, weighed, and recorded using standardized field datasheets. These observations constituted the ground truth dataset, which was subsequently used to calibrate and statistically validate the YOLOv11-based sunflower head detection and yield estimation framework.
n = ( Z ⋅ σ E ) 2
where Z = Z-score corresponding to the desired confidence level; σ = standard deviation of yield;
E = acceptable margin of error

3.3. UAV-Based Aerial Image Acquisition

Aerial imagery was acquired using a DJI Phantom 4 Pro v.2 (DJI, Shenzhen, China) equipped with a 20-megapixel RGB camera featuring an 8.8 mm focal length 1-inch CMOS sensor. The camera settings were standardized across all flights, with ISO 100 and a 1/240 s shutter speed, to minimize illumination-related variability and motion blur.
Flights were conducted following a predefined grid flight plan to achieve complete spatial coverage of the 900 m2 experimental plot. The UAV was flown at a constant altitude of 15 m, resulting in a Ground Sampling Distance (GSD) of 0.41 cm/pixel, which provides sufficient spatial detail for the detection of individual sunflower heads. The aircraft maintained a flight speed of 0.5 m/s and operated with a 90° nadir viewing angle to reduce geometric distortion and occlusion effects.
To ensure high-quality photogrammetric reconstruction, front and side overlaps were set between 70% and 80%, producing high-resolution orthomosaic images suitable for subsequent object detection and yield estimation. Image acquisition was carried out between 10:00 AM and 2:00 PM under sunny, clear-sky conditions, ensuring consistent solar illumination and minimizing shadow interference. Only the RGB spectral configuration was used, as it is compatible with the YOLOv11 deep learning workflow employed in this study.
As UAV operations can be affected by wind and precipitation, data collection was performed exclusively under favorable weather windows. This ensured operational safety as well as uniform image quality, thereby enhancing the reliability and reproducibility of the aerial dataset used for model training and validation.

3.4. Geospatial Imagery Processing and Data Preparation

A high-resolution orthomosaic of the 900 m2 sunflower field was generated from the UAV imagery using QGIS (version 3.28.0-Firenze) and standard photogrammetric processing workflows. The orthomosaic served as a spatial reference for extracting subplot-level image patches corresponding to the 2 × 2 m sampling units used during field data collection.
A total of 215 UAV images were initially captured using the flight parameters described in Section 3.3. Each raw UAV image (1536 × 1024 px) was subdivided into 512 × 512-pixel tiles to increase the number of training samples and enhance spatial diversity. This tiling procedure produced six tiles per UAV image, resulting in a total of 1290 image tiles used for the sunflower detection experiment. This approach follows established best practices in deep-learning-based agricultural image analysis, ensuring that the model is exposed to localized spatial variation while minimizing information loss at field boundaries.
All sunflower heads in the extracted tiles were annotated manually using the LabelImg tool following a standardized bounding-box protocol. Accurate annotation was emphasized to reduce label noise and improve model reliability. After annotation, the dataset was partitioned into training and testing subsets. To analyze the impact of data distribution on model performance, three split ratios (60:40, 70:30, and 80:20) were systematically evaluated. This approach aligns with established methodologies for determining optimal data partitioning in deep learning [23] and adheres to theoretical guidelines for preventing overfitting [24]. This strategy provided a robust foundation for model evaluation and supported generalizability assessment across varied training proportions.

3.5. Geospatial Training and Validation of YOLOv11 Object Detection

The training and validation of the YOLOv11 model were performed using the annotated image tiles derived from the UAV orthomosaic. All experiments were conducted using the PyTorch 2.9.1 deep learning framework with GPU acceleration. Prior to training, the geospatially referenced tiles were normalized and standardized to ensure uniform radiometric quality across image samples.
Hyperparameters were carefully tuned to ensure model stability and prevent overfitting—an important consideration when working with field-scale agricultural datasets. The batch size was selected based on available GPU memory, while the initial learning rate was set to 0.001 and progressively reduced using a cosine annealing schedule. To increase dataset diversity and improve robustness against variations in illumination, viewing angle, and canopy geometry, a comprehensive augmentation pipeline was applied. This included image rotation, horizontal and vertical flipping, random brightness adjustments, and minor perspective distortions. These augmentations were intentionally chosen based on known UAV imaging sensitivities such as sun angle, canopy shadow patterns, and nadir-view variations, thereby improving the model’s ability to generalize under field conditions.
Model validation was conducted using the standard suite of object detection metrics—Precision, Recall, F1-score, and mean Average Precision (mAP)—to capture both accuracy and completeness of detections. The mAP@0.5 was selected as the primary performance indicator, given its widespread use in agricultural deep learning research. To evaluate generalization and reduce the risk of overfitting, model performance was tested using multiple dataset partitions (60:40, 70:30, 80:20). In addition, cross-checking was performed by ensuring that training and validation tiles originated from distinct spatial locations to limit spatial autocorrelation effects, which can artificially inflate performance metrics in remote-sensing workflows.
Collectively, this geospatially informed training and validation framework ensured that YOLOv11 was rigorously assessed under realistic UAV-derived imaging conditions. The achieved performance metrics demonstrate its suitability for high-precision sunflower head detection and provide a strong foundation for subsequent yield estimation analysis.
To support practical application of the proposed workflow in real field settings, a concise implementation guideline is included directly within the Methods. Practitioners can reproduce the process by following the core steps: acquiring UAV images using the specified flight parameters (15 m altitude, nadir angle, 70–80% overlap), generating an orthomosaic in standard photogrammetry software, tiling images into 512 × 512-pixel patches, annotating sunflower heads in YOLO format, and running model inference through a PyTorch-based YOLOv11 environment using the optimal confidence threshold (0.543). These integrated instructions ensure that the workflow can be deployed using widely available UAV platforms and open-source geospatial and deep learning tools, without requiring additional supplementary documents.

3.6. Geospatial Stratified Random Sampling Scheme

A geospatially informed stratified random sampling approach was applied to ensure that the dataset used for training and validating the YOLOv11 model was representative of the spatial and phenological variability present within the study area. The orthomosaic of the 900 m2 sunflower field was first divided into uniform 2 × 2 m grid cells corresponding to the ground-truth sampling plots. These grid cells served as natural strata because they captured localized variability in plant density, growth stage, soil background, and illumination conditions—factors known to influence UAV-based object detection performance.
Within this stratified structure, a random selection procedure was implemented to identify 15 subplot images, ensuring that samples were drawn proportionally across all strata while preventing spatial clustering of training data. This method minimized sampling bias and ensured that both high-density and low-density sunflower areas were adequately represented.
The use of stratified random sampling is particularly important in agricultural remote sensing, where spatial autocorrelation can cause nearby samples to exhibit similar spectral or structural properties. By distributing samples across multiple strata and spatially distinct locations, the dataset better supports model generalization and reduces the risk of inflated performance metrics caused by overly homogeneous training data. This framework aligns with recommended sampling protocols in remote sensing and geostatistical analysis, ensuring a balanced, unbiased, and spatially representative dataset for deep-learning model development.

4. Results

The findings summarized in Table 1 clearly illustrate the significant potential of integrating UAV-based remote sensing with the YOLOv11 deep learning algorithm for enhanced precision in agricultural monitoring. This approach demonstrates robust effectiveness in the detection of sunflowers and reliable estimation of crop yield, underscoring the value of advanced geospatial and AI technologies in modern agricultural practices. Through a meticulous workflow encompassing aerial image acquisition, optimized model training, and validation procedures, the YOLOv11 model demonstrated robust operational performance. Notably, a peak F1-score of 0.90 was reached in the dataset split with an 80:20 train-test ratio, reflecting the model’s optimal balance between precision (0.84) and recall (0.95), and evidencing high reliability in both correctly identifying targets and minimizing missed detections.
Table 1. Accuracy metrics for sunflower detection.
Comparative analysis across different train-test splits revealed that increasing the proportion of training data incrementally boosted key performance metrics, including mAP@0.5, precision, and F1-score. For instance, mAP@0.5 values ranged from 0.94 at a 60:40 split to 0.95 at both 70:30 and 80:20, with notable improvements in precision and F1-score observed as the confidence threshold was optimized. This quantitative evidence reiterates the value of systematic model tuning and adequate data partitioning in maximizing detection accuracy for fine-scale phenotypic traits in crop monitoring.
Overall, the study showcases not only the high detection fidelity of the YOLOv11 network when paired with UAV-acquired imagery but also highlights the broader impact of deep learning-driven object detection in advancing practical geoinformatics workflows. The findings provide a foundation for robust, repeatable precision agriculture solutions, emphasizing the critical role of spatially explicit, high-quality datasets in supporting strategic, data-driven decisions for sustainable crop management and yield forecasting at both field and landscape scales.
To rigorously assess the performance of the YOLOv11 model for sunflower detection using UAV imagery, two critical parameters—Confidence Threshold and IoU (Intersection over Union) Threshold—were systematically varied. The Confidence Threshold determines the minimum probability required for the model to identify an object as a detection, while the IoU Threshold sets the required overlap percentage between the predicted bounding box and the ground truth for a detection to be considered correct.
The results, summarized in Table 2, reveal the nuanced influence of these parameters on key performance metrics. At lower thresholds (e.g., Confidence 0.10, IoU 0.10), recall is maximized (0.99), reflecting the model’s tendency to detect nearly all possible sunflower regions, yet this comes at the expense of lower precision (0.55) and F1-score (0.71), indicating more false positives. As the thresholds are increased, there is a marked improvement in precision—reaching up to 0.99 at the highest settings—while the recall correspondingly decreases due to a stricter definition of correct detections.
Table 2. Effects of adjusting the confidence and IoU threshold parameters on model performance metrics.
Optimal overall performance is observed at a balanced threshold setting (Confidence 0.50, IoU 0.50), where the model achieves high scores across all metrics: mAP 0.95, precision 0.91, recall 0.94, and F1-score 0.91. These findings underscore the importance of parameter tuning to harmonize the trade-off between sensitivity and specificity, enabling reliable sunflower detection and minimizing both missed detections and false alarms. This sensitivity analysis not only demonstrates the adaptability of YOLOv11 in UAV-based phenotypic monitoring but also provides insights for tailoring detection strategies to specific operational objectives in precision agriculture applications.
An in-depth evaluation of the model’s confidence threshold reveals that a setting of 0.50 delivers the most balanced and reliable performance for sunflower detection. The confidence threshold determines the minimum probability at which the model considers a detected object valid. Experimental results indicate that setting this threshold too low (such as 0.10–0.20) leads to a marked increase in false positives, thereby reducing precision, as the model tends to classify non-sunflower objects incorrectly. Conversely, applying a high threshold (0.70–0.90) results in a substantial drop in recall because the model becomes overly selective and may overlook true sunflower detections.
The optimal threshold of 0.50, as illustrated in Table 3, offers well-balanced performance, yielding high scores across all principal metrics—mAP@0.5, precision, recall, and F1-score. This suggests that the ideal confidence threshold for UAV-based sunflower detection with YOLO typically falls within the range of 0.30 to 0.50, though exact values may need adjustment according to image noise levels and the specific visual characteristics of the target objects. These findings reinforce the significance of careful parameter tuning for enhancing the robustness and accuracy of agricultural object detection using deep learning architectures.
Table 3. Sunflower detection performance at different confidence thresholds (IoU threshold fixed at 0.50).
The analysis confirms that setting the IoU threshold to 0.40 provides an optimal balance for practical sunflower detection tasks. The IoU (Intersection over Union) threshold is a critical criterion in object detection, defining the minimum overlap required between the predicted bounding box and the ground truth for a detection to be considered correct. The metric is calculated as the ratio of the overlapping area to the union area of the predicted and actual bounding boxes.
Comparative evaluation of varying IoU thresholds reveals distinct trade-offs. When the IoU value is set low (≤0.40), the detection system tolerates greater spatial deviation between predictions and ground truths, resulting in artificially inflated performance metrics that do not necessarily reflect practical accuracy. Conversely, high IoU thresholds (≥0.75) impose very strict requirements, disqualifying detections that are reasonably accurate but not perfectly aligned, which causes the precision metrics to drop unnecessarily. Empirical results show that an IoU of 0.40 stands out as a rational compromise, ensuring robust performance while maintaining meaningful accuracy in real-world UAV-based sunflower detection scenarios.
For instance, with the confidence threshold fixed at 0.50 (Table 4), the metrics at IoU 0.40 show mAP at 0.96, precision at 0.87, recall at 0.96, and F1-score at 0.91. These scores represent a reliable equilibrium that maximizes true positives without being either over-penalizing or overly-permissive regarding box misalignment. As depicted in Figure 3, the application of this detection protocol across UAV-acquired imagery enables spatially explicit mapping of sunflower distribution and supports both fine-scale crop monitoring and yield estimation in geoinformatics-driven agricultural workflows.
Table 4. Sunflower detection performance at different IoU thresholds (Confidence threshold fixed at 0.50).
Figure 3. Sunflower detection results. (Top) Blue bounding boxes indicate detections on individual image tiles used for training/validation. (Bottom) Red bounding boxes illustrate the detection results mapped onto the field-scale UAV orthomosaic.
The visualization in Figure 3 exemplifies YOLO-based sunflower detection, displaying bounding boxes correctly encapsulating floral targets on both zoomed and field-scale UAV images, further attesting to the suitability of the chosen IoU threshold in practical deployments.
Analysis of the four performance curves (Figure 4) provides deep insight into the model’s threshold-dependent behavior and helps identify optimal operating parameters. The F1–Confidence curve (Figure 4A) is pivotal for selecting an optimal operating point, where the model maximizes the F1-score—a balanced measure of precision and recall. The analysis identifies a peak F1-score of 0.90 at a confidence threshold of 0.543, which is thus recommended for practical implementations requiring robust and balanced detection. This threshold yields a model that can reliably detect sunflowers while maintaining both high precision and minimal false negatives.
Figure 4. Evaluation curves showing (A) F1-score versus confidence, (B) precision versus confidence, (C) precision–recall curve, and (D) recall versus confidence, providing a comprehensive graphical summary of the model’s diagnostic performance.
The complementary behaviors observed in the Precision-Confidence Curve (Figure 4B), Precision-Recall Curve (Figure 4C) and Recall-Confidence Curve (Figure 4D) highlight the classic trade-off inherent in threshold selection. As visualized, increasing the confidence threshold boosts precision, indicating a higher likelihood that detected objects are indeed true positives. However, this comes at the cost of recall, as a higher threshold inevitably misses some true instances—clearly demonstrated as recall falls at higher confidence levels. This interplay supports the selection of an intermediate confidence value (around 0.5) to avoid the extremes of too many false positives or excessive missed detections.
Collectively, these results underscore the effectiveness of the model in sunflower detection tasks, with an outstanding mAP@0.5 of 0.956. The use of the recommended confidence threshold of 0.543 ensures optimal, real-world performance with the F1-score peaking at 0.90—an important benchmark for both research and operational deployment in agricultural and remote sensing applications.
The confusion matrices presented in Figure 5 offer a nuanced evaluation of the model’s performance on sunflower detection. The normalized matrix (Figure 5A) underscores the model’s impressive recall capacity, indicating that nearly all true sunflowers are successfully identified. However, the raw count matrix (Figure 5B) reveals that a non-trivial number of false positives (72 instances) remain, reflecting cases where the model incorrectly classifies background objects as sunflowers. This observation points to a strength in the model’s ability to minimize false negatives—crucial when the priority is not to miss actual targets—but also highlights an area for further refinement, namely, improving precision by reducing erroneous detections.
Figure 5. Confusion matrix visualization for sunflower detection model: (A) normalized class matrix, (B) raw count matrix.
Collectively, these matrices serve as a diagnostic lens, enabling in-depth understanding of the model’s classification tendencies. Such analysis is fundamental for guided optimization, supporting both the interpretation of detection reliability and the identification of avenues to enhance the model’s discriminative accuracy for real-world agricultural deployment.
The yield prediction model demonstrated a strong statistical association between UAV-derived sunflower head counts and manually measured yields, as illustrated in Figure 6. The data points form a compact cluster around the regression line, resulting in a high coefficient of determination (R2 = 0.984). While this value reflects a close fit between predicted and observed yields, it must be interpreted with caution. The experimental field exhibited relatively homogeneous plant vigor, head size, and growing conditions, which naturally reduces biological variation and contributes to tighter grouping of points.
Figure 6. Relationship between actual and predicted values. The dotted line represents the linear regression trend line (R2 = 0.984).
Given that the model relies primarily on head count—without explicitly incorporating additional agronomic factors such as head diameter, seed filling percentage, or seed weight—the high R2 should not be interpreted as evidence of perfect predictive capability under broader production conditions. Instead, it indicates that within this small and biologically consistent experimental plot, head count served as a reliable proxy for yield.
The observed prediction error of approximately 5% is within acceptable agronomic limits for small-plot proof-of-concept studies. However, yield variability in larger or more heterogeneous fields would likely be greater. Therefore, future validation across multiple regions, seasons, and phenotypic conditions is necessary to confirm the model’s generalizability. Despite these limitations, the results demonstrate the potential of combining UAV imagery and deep learning as an efficient tool for rapid, non-destructive yield estimation in precision agriculture.

5. Discussion

This study provides a comprehensive evaluation of the YOLOv11 deep learning framework for automated sunflower head detection and yield estimation from UAV-derived imagery. The findings directly address several long-standing challenges in agricultural computer vision, particularly the difficulty of achieving high detection accuracy under heterogeneous field conditions and the limited validation of automated methods against actual yield measurements. Through the integration of UAV remote sensing and advanced deep learning techniques, this work establishes a scalable and reproducible workflow that substantially reduces time, labor, and subjectivity compared to traditional manual assessments. The results also highlight the growing potential of next-generation object detection models for supporting real-world decision-making in precision agriculture.

5.1. Model Performance and Parameter Optimization

A core methodological contribution of this study lies in the systematic optimization of YOLOv11 model parameters for agricultural environments. Through experimental tuning, the combination of a 0.50 Confidence Threshold and a 0.40 IoU Threshold was identified as yielding the optimal trade-off between precision and completeness. Under these conditions, the model achieved Precision = 0.84, Recall = 0.95, mAP@0.5 = 0.95, and F1-score = 0.90. These results exceed performance reported in several prior UAV-based agricultural detection studies, many of which achieved mAP values ranging from 0.85 to 0.93 depending on crop type and imaging conditions.
A deeper interpretation of the metrics underscores their practical significance. The high Recall indicates that the model captures nearly all sunflower heads, which is critical for preventing underestimation of yield. Meanwhile, the strong Precision helps minimize false detections caused by leaf clusters or sunlit patches—common challenges in sunflower imagery. This combination is particularly impactful for farms that rely on early-season flowering data to forecast production. Sensitivity analysis further reveals that inappropriate threshold selection can significantly distort results, emphasizing the importance of parameter calibration when deploying deep learning systems in operational agricultural settings.

5.2. Comparative Analysis and Benchmarking

Comparison with recent studies demonstrates that YOLOv11 provides competitive or superior performance for sunflower detection. For instance, Jing et al. [8] reported mAP@0.5 values of up to 0.93 using Sunflower-YOLO, while transformer-based approaches have recently achieved similar accuracy but with considerably higher computational costs. The present study not only attains a higher mAP@0.5 of 0.95 but does so using UAV imagery acquired under diverse lighting conditions, canopy density, and field variability typical of commercial Thai sunflower production. This suggests improved robustness and adaptability of YOLOv11 relative to earlier YOLO variants and other specialized architectures.
Additionally, unlike many previous studies that focused solely on detection performance, this work integrates detection outputs directly into a validated yield estimation model. The use of train–test splits aligned with established deep learning practices (e.g., 80:20 partitioning as in Nguyen et al. [25]) ensures reproducibility and methodological consistency with the broader agricultural AI literature. Collectively, these comparisons highlight that YOLOv11 not only advances detection accuracy but also strengthens the linkage between detection and agronomic outcomes—a critical step forward for operational deployment.
YOLOv11 was selected due to architectural improvements over YOLOv8 and YOLOv10, including enhanced backbone efficiency, updated C3k2 modules, and improved SPPF layers that enable better multi-scale feature extraction—critical for detecting sunflower heads of varying sizes. These enhancements provide higher consistency in dense plant structures compared with previous YOLO versions.

5.3. Yield Estimation and Practical Implications

In addition to detection accuracy, the integration of UAV-derived sunflower head counts into a quantitative yield estimation model yielded a nearly perfect coefficient of determination (R2 = 0.984) when compared with manual harvest data. This strong correlation is noteworthy because previous UAV-based studies rarely validated automated detection results against ground-truth yield measurements. The findings indicate that YOLOv11 can effectively support end-to-end yield forecasting, reducing reliance on time-consuming manual sampling and enabling more timely and accurate production planning.
From a practical standpoint, this capability has several implications.
1.
Farm-level decision-making: Producers can estimate yield earlier and more consistently, improving harvesting schedules, market negotiations, and resource allocation.
2.
Labor reduction: The automated workflow reduces the need for extensive field scouting, particularly in large plantations where manual counts are impractical.
3.
Scalability: The approach can be adapted to other flowering crops with similar structural features, offering a pathway for broader adoption in precision agriculture.
However, it is important to acknowledge potential limitations. The model’s performance may vary in fields with different canopy architectures, soil backgrounds, or sunflower cultivars. Likewise, extreme illumination or occlusion conditions may reduce accuracy. These considerations highlight the need for future studies exploring multi-temporal imagery, multi-location datasets, and cross-cultivar generalization.
Overall, the findings demonstrate that YOLOv11, when combined with UAV-based remote sensing and ground-truth calibration, offers a highly effective and scalable framework for sunflower yield estimation, with strong potential for deployment in real agricultural production systems.

5.4. Sensitivity to UAV Flight Conditions

Although the model achieved high detection accuracy, its performance remains partly dependent on the UAV acquisition conditions. Changes in flight altitude, camera angle, illumination, and weather conditions can influence image sharpness, shadow formation, and color composition—factors known to affect deep learning detection in agricultural imagery. The present study was conducted under stable illumination and clear-sky conditions; therefore, future experiments should assess the robustness of YOLOv11 under variable light, cloud cover, and off-nadir imaging angles.

5.5. Limitations in UAV Deployability Under Adverse Weather

While UAV-based data collection reduces fieldwork constraints, drone flights cannot always be conducted under adverse weather conditions due to wind instability, rain, or low visibility. These operational constraints must be considered in real-world deployment scenarios, particularly for large-scale farms or regions with unpredictable climate patterns.

5.6. Biological Factors Not Captured in the Yield Model

The yield estimation model relies primarily on sunflower head count, without incorporating biological variables such as head diameter, seed-filling percentage, or average seed weight. These parameters contribute substantially to actual yield variability. The high R2 observed in this study is largely attributable to the homogeneity of the experimental plot. Future yield models should incorporate multi-variable predictors or multispectral features to improve accuracy across diverse agronomic conditions.

5.7. Generalizability and Field-Scale Constraints

The experimental area (900 m2) represents a small-scale, homogeneous plot; thus, generalization to larger or more heterogeneous fields should be approached with caution. Spatial variations in soil conditions, plant vigor, and weed interference—common in production-scale fields—may reduce detection accuracy and yield predictability. Multi-season, multi-location datasets will be required to validate the model’s applicability beyond controlled experimental environments.

5.8. Economic Feasibility and Operational Implications

Despite the promising technical results, economic feasibility is a key consideration for practical adoption. UAV equipment costs, data processing time, and annotation labor may outweigh benefits for small farms. However, for medium- and large-scale producers, the reduction in manual labor and the ability to monitor large fields rapidly could substantially enhance decision-making efficiency. Future research should quantify cost–benefit ratios to better inform real-world adoption strategies.

6. Conclusions

This study demonstrates the feasibility of integrating UAV imagery with the YOLOv11 deep learning framework to detect sunflower heads and estimate yield in a small-scale agricultural environment. The model achieved high detection accuracy (mAP@0.5 = 0.95) and a strong correlation between UAV-derived head counts and manually measured yields (R2 = 0.984). These results highlight the potential of UAV-based computer vision as a rapid and non-destructive tool for operational crop monitoring.
However, the findings must be interpreted within the context of the controlled and relatively homogeneous study area. The model does not incorporate key biological traits such as head diameter, seed filling percentage, or seed weight, which can significantly influence yield in more heterogeneous production fields. Moreover, UAV data acquisition remains sensitive to flight altitude, illumination, and weather conditions, which may affect performance under real farm conditions.
Overall, this research provides a proof-of-concept foundation for sunflower monitoring using UAV–AI integration, offering useful insights for future scaling and adaptation. The methodological framework presented here can serve as a baseline for developing more advanced and generalizable systems for precision agriculture.

7. Future Research and Recommendations

To enhance the robustness and applicability of the proposed framework, several research directions warrant further investigation. First, large-scale validation across multiple farms, seasons, and environmental conditions is essential to assess model generalizability. Future studies should incorporate diverse lighting conditions, off-nadir imaging angles, and variable flight altitudes to improve resilience to operational drone deployment challenges.
Second, yield prediction models should integrate additional agronomic indicators such as head diameter, seed filling ratio, and seed weight, as these biological factors contribute significantly to field-level production variability. Incorporating multispectral or hyperspectral data may further strengthen early-stage yield forecasting [26].
Third, economic feasibility analysis—including the costs of UAV platforms, field flights, data annotation, and computational resources—should be evaluated to determine the practicality of deploying this technology in different farm sizes [27,28,29,30,31]. The development of user-friendly pipelines, automated preprocessing scripts, and simplified deployment guides will also support real-world adoption [30].
Finally, future work should focus on reducing the burden of manual annotation by utilizing semi-automatic labeling tools, active learning approaches, synthetic augmentation, and AI-assisted annotation frameworks [32]. Such improvements will accelerate dataset development and facilitate more scalable applications of deep learning in agricultural remote sensing.
In addition, future research should include benchmarking against lightweight object detection architectures such as YOLOv8-nano or EfficientDet to determine whether YOLOv11 provides a significant performance advantage or whether simpler, computationally efficient models could achieve comparable accuracy. Such benchmarking would provide valuable insight into the trade-offs between model complexity, detection performance, and operational feasibility for large-scale or resource-constrained agricultural deployments [33].

Author Contributions

Conceptualization, N.I.; methodology, N.I., T.A., P.H. and S.P.; software, N.I., T.A. and P.H., validation, T.A. and N.I.; formal analysis, T.A. and N.I.; writing—original draft preparation, N.I., T.A. and S.P.; writing—review and editing, T.A., P.H., N.I. and S.P.; visualization, T.A., P.H., N.I. and S.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

The authors would like to express their sincere gratitude to the University of Phayao and Prince of Songkla University, Surat Thani Campus, for their kind support and collaboration in facilitating this research. Their continuous encouragement and provision of research resources were instrumental in the successful completion of this study.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Zhang, S.; Wang, X.; Lin, H.; Qiang, Z. A Review of the Application of UAV Multispectral Remote Sensing Technology in Precision Agriculture. Smart Agric. Technol. 2025, 15, 101406. [Google Scholar] [CrossRef] [Scilit]
  2. Candiago, S.; Remondino, F.; De Giglio, M.; Dubbini, M.; Gattelli, M. Evaluating Multispectral Images and Vegetation Indices for Precision Farming Applications from UAV Images. Remote Sens. 2015, 7, 4026–4047. [Google Scholar] [CrossRef] [Scilit]
  3. Department of Agriculture. Research and Development of Sunflower Production. 2023. Available online: https://www.doa.go.th/plan/wp-content/uploads/2023/08/19.3แผนงานย่อยการวิจัยและพัฒนาการผลิตทานตะวัน.pdf (accessed on 5 November 2025).
  4. Basso, B.; Cammarano, D.; Carfagna, E. Review of Crop Yield Forecasting Methods and Early Warning Systems. In Proceedings of the First Meeting of the Scientific Advisory Committee of the Global Strategy to Improve Agricultural and Rural Statistics, FAO Headquarters, Rome, Italy, 24–25 July 2013; Volume 241. [Google Scholar]
  5. Villamil-Mahecha, M.; Pathak, H.; Rai, N.; Overby, P.; Sun, X. Deep Learning for Sunflower (Helianthus annuus L.) Mapping and Stand Counting: Trade-Offs between Closed vs. Open-Access Methods. Smart Agric. Technol. 2025, 15, 101235. [Google Scholar] [CrossRef] [Scilit]
  6. Rehman, T.U.; Mahmud, M.S.; Chang, Y.K.; Jin, J.; Shin, J. Current and Future Applications of Statistical Machine Learning Algorithms for Agricultural Machine Vision Systems. Comput. Electron. Agric. 2019, 156, 585–605. [Google Scholar] [CrossRef] [Scilit]
  7. Santos, V.G.; Pereira, D.S.; Nascimento, L.B.; Alsina, P.J. CNN-Based Boat Detection for Environmental Protection Area Monitoring. Congr. Bras. Automática—CBA 2022, 3, CBA2022. [Google Scholar] [CrossRef] [Scilit]
  8. Jing, R.; Niu, Q.; Tian, Y.; Zhang, H.; Zhao, Q.; Li, Z.; Zhou, X.; Li, D. Sunflower-YOLO: Detection of Sunflower Capitula in UAV Remote Sensing Images. Eur. J. Agron. 2024, 160, 127332. [Google Scholar] [CrossRef] [Scilit]
  9. Ramalingam, K.; Pazhanivelan, P.; Jagadeeswaran, R.; Prabu, P.C. YOLO Deep Learning Algorithm for Object Detection in Agriculture: A Review. J. Agric. Eng. 2024, 55, 1641. [Google Scholar] [CrossRef] [Scilit]
  10. Yildirim, E.; Colkesen, I.; Sefercik, U.G. Transformer-Based Sunflower (Helianthus annuus L.) Recognition from Multi-Temporal UAV Orthomosaics. Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2025, 48, 309–315. [Google Scholar] [CrossRef] [Scilit]
  11. Jensen, J.R. Remote Sensing of the Environment: An Earth Resource Perspective, 2nd ed.; Pearson Education India: New Delhi, India, 2009. [Google Scholar]
  12. Maes, W.H.; Steppe, K. Perspectives for Remote Sensing with Unmanned Aerial Vehicles in Precision Agriculture. Trends Plant Sci. 2019, 24, 152–164. [Google Scholar] [CrossRef] [Scilit]
  13. Zhu, H.; Lin, C.; Liu, G.; Wang, D.; Qin, S.; Li, A.; Xu, J.; He, Y. Intelligent Agriculture: Deep Learning in UAV-Based Remote Sensing Imagery for Crop Diseases and Pests Detection. Front. Plant Sci. 2024, 15, 1435016. [Google Scholar] [CrossRef] [Scilit]
  14. Congalton, R.G.; Green, K. Assessing the Accuracy of Remotely Sensed Data: Principles and Practices; CRC Press: Boca Raton, FL, USA, 2019. [Google Scholar]
  15. Volpato, L.; Tirado Tolosa, S.; Potnuru, C.; Jaacks, J.; Layton, J. Remote Phenotyping Strategies for Sunflower Flowering Assessments Using Deep Learning Approaches. bioRxiv 2025. [Google Scholar] [CrossRef] [Scilit]
  16. Zhang, C.; Kovacs, J.M. The Application of Small Unmanned Aerial Systems for Precision Agriculture: A Review. Precis. Agric. 2012, 13, 693–712. [Google Scholar] [CrossRef] [Scilit]
  17. Pádua, L.; Vanko, J.; Hruška, J.; Adão, T.; Sousa, J.J.; Peres, E.; Morais, R. UAS, Sensors, and Data Processing in Agroforestry: A Review towards Practical Applications. Int. J. Remote Sens. 2017, 38, 2349–2391. [Google Scholar] [CrossRef] [Scilit]
  18. Kamilaris, A.; Prenafeta-Boldú, F.X. Deep Learning in Agriculture: A Survey. Comput. Electron. Agric. 2018, 147, 70–90. [Google Scholar] [CrossRef] [Scilit]
  19. Rahnemoonfar, M.; Sheppard, C. Deep Count: Fruit Counting Based on Deep Simulated Learning. Sensors 2017, 17, 905. [Google Scholar] [CrossRef] [Scilit]
  20. Badgujar, C.M.; Poulose, A.; Gan, H. Agricultural Object Detection with You Only Look Once (YOLO) Algorithm: A Bibliometric and Systematic Literature Review. Comput. Electron. Agric. 2024, 223, 109090. [Google Scholar] [CrossRef] [Scilit]
  21. Tamayo-Vera, D.; Mesbah, M.; Zhang, Y.; Wang, X. Advanced Machine Learning for Regional Potato Yield Prediction: Analysis of Essential Drivers. npj Sustain. Agric. 2025, 3, 12. [Google Scholar] [CrossRef] [Scilit]
  22. Jabed, M.A.; Murad, M.A.A. Crop Yield Prediction in Agriculture: A Comprehensive Review of Machine Learning and Deep Learning Approaches, with Insights for Future Research and Sustainability. Heliyon 2024, 10, e40836. [Google Scholar] [CrossRef] [Scilit]
  23. Bichri, H.; Chergui, A.; Hain, M. Investigating the Impact of Train/Test Split Ratio on the Performance of Pre-Trained Models with Custom Datasets. Int. J. Adv. Comput. Sci. Appl. 2024, 15, 331–339. [Google Scholar] [CrossRef] [Scilit]
  24. Gholamy, A.; Kreinovich, V.; Kosheleva, O. Why 70/30 or 80/20 Relation Between Training and Testing Sets: A Pedagogical Explanation; Departmental Technical Reports (CS) 1209; The University of Texas at El Paso: El Paso, TX, USA, 2018. [Google Scholar]
  25. Nguyen, T.; Novak, R.; Xiao, L.; Lee, J. Dataset Distillation with Infinitely Wide Convolutional Networks. Adv. Neural Inf. Process. Syst. 2021, 34, 5186–5198. [Google Scholar]
  26. Camenzind, M.P.; Yu, K. Multi-Temporal Multispectral UAV Remote Sensing Allows for Yield Assessment across European Wheat Varieties Already before Flowering. Front. Plant Sci. 2024, 14, 1214931. [Google Scholar] [CrossRef] [Scilit]
  27. Wang, J.; Wang, Y.; Li, G.; Qi, Z. Integration of Remote Sensing and Machine Learning for Precision Agriculture: A Comprehensive Perspective on Applications. Agronomy 2024, 14, 1975. [Google Scholar] [CrossRef] [Scilit]
  28. Abbas, A.A. Integration of Remote Sensing and GIS for Precision Agriculture: A Case Study. Int. J. Struct. Des. Eng. 2024, 5, 15–24. [Google Scholar]
  29. Getahun, S.; Kefale, H.; Gelaye, Y. Application of Precision Agriculture Technologies for Sustainable Crop Production and Environmental Sustainability: A Systematic Review. Sci. World J. 2024, 2024, 2126734. [Google Scholar] [CrossRef] [Scilit]
  30. Mansoor, S.; Iqbal, S.; Popescu, S.M.; Kim, S.L.; Chung, Y.S.; Baek, J.H. Integration of Smart Sensors and IoT in Precision Agriculture: Trends, Challenges and Future Prospectives. Front. Plant Sci. 2025, 16, 1587869. [Google Scholar] [CrossRef] [Scilit]
  31. Mamabolo, E.; Mashala, M.J.; Mugari, E.; Mogale, T.E.; Mathebula, N.; Mabitsela, K.; Ayisi, K.K. Application of Precision Agriculture Technologies for Crop Protection and Soil Health. Smart Agric. Technol. 2025, 15, 101270. [Google Scholar] [CrossRef] [Scilit]
  32. Nitin; Gupta, S.B.; Yadav, R.; Bovand, F.; Tyagi, P.K. Developing Precision Agriculture Using Data Augmentation Framework for Automatic Identification of Castor Insect Pests. Front. Plant Sci. 2023, 14, 1101943. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  33. Dalal, M.; Mittal, P. A Systematic Review of Deep Learning-Based Object Detection in Agriculture: Methods, Challenges, and Future Directions. Comput. Mater. Contin. 2025, 84, 66056. [Google Scholar] [CrossRef] [Scilit]
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

Multiple requests from the same IP address are counted as one view.