Next Article in Journal
Comprehensive Characterization of the TCP Gene Family in Punica granatum: Insights into Their Roles in Developmental Dynamics and Stress Adaptation
Previous Article in Journal
Recent Advances on the Function and Mechanism of Tomato WRKY Family Genes Under Salt Stress
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

CFADet: A Contextual and Frequency-Aware Detector for Citrus Buds in Complex Orchards Enabling Early Yield Estimation

1
School of Computer and Electronic Information, Guangxi University, Nanning 530004, China
2
Institute of Scientific Research, Guangxi University, Nanning 530004, China
3
School of Electrical Engineering, Guangxi University, Nanning 530004, China
4
Agricultural Biosystem Engineering Group, Wageningen University & Research, 6700 HB Wageningen, The Netherlands
5
College of Agriculture, Guangxi University, Nanning 530004, China
*
Author to whom correspondence should be addressed.
Horticulturae 2026, 12(4), 459; https://doi.org/10.3390/horticulturae12040459
Submission received: 3 March 2026 / Revised: 3 April 2026 / Accepted: 4 April 2026 / Published: 8 April 2026
(This article belongs to the Section Fruit Production Systems)

Abstract

Citrus trees exhibit severe alternate bearing, resulting in significant annual yield fluctuations and posing substantial challenges to orchard management planning. Accurate citrus bud counting provides an effective solution by supplying essential data for tree-level and orchard-level yield prediction. However, citrus buds are extremely small (5–10 mm in diameter) and are frequently occluded by leaves during the flowering stage, which makes precise detection highly challenging in complex orchard environments. To address these challenges, this paper proposes a Contextual and Frequency-Aware Detector (CFADet) for robust citrus bud detection. Specifically, an Enhanced Feature Fusion (EFF) module is introduced in the neck to refine multi-scale feature aggregation and strengthen information flow for small targets. A Contextual Boundary Enhancement Module (CBEM) is designed to capture surrounding contextual cues and enhance boundary representation through dimensional interaction and max-pooling operations. To suppress background interference, a Frequency-Aware Module (FAM) is developed to adaptively recalibrate frequency components in the amplitude spectrum, thereby enhancing target features while reducing background noise. In addition, Spatial-to-Depth Convolution (SPDConv) is employed to reconstruct the backbone to preserve fine-grained bud features while reducing model parameters. Experimental results show that CFADet achieves 81.1% precision, 80.9% recall, 81.0% F1-score, and 87.8% mAP, with stable real-time performance on mobile devices in practical orchard scenarios. This study presents a preliminary investigation into robust citrus bud detection in real-world orchard environments and provides a promising technical foundation for intelligent orchard monitoring and early yield estimation, while further validation on larger and more diverse datasets is still required.

1. Introduction

Citrus is an alternate-bearing crop, and its floral bud density is widely recognised as a critical determinant of annual fruit yield [1]. Earlier estimation of citrus bud abundance enables more timely adjustment of orchard management and production planning [2]. During the first three years after transplanting, citrus saplings should be managed to prioritize canopy development while minimizing or suppressing flowering. Once entering the mature fruiting stage, flowering intensity should be reduced for weakly growing trees and promoted for vigorous individuals to stabilize annual yield. Consequently, precise regulation of bud load is essential for economically sustainable citrus production. However, a single mature citrus tree can produce thousands of individual buds, posing substantial challenges to accurate quantification. Neither manual counting nor conventional machine vision approaches can achieve reliable and consistent estimation [3]. Current practice still relies heavily on visual inspection and experiential estimation by growers. Such conventional methods are labor-intensive, time-consuming, costly, and highly subjective, resulting in low efficiency and poor scalability for large-scale orchard management [4]. With the accelerating transition toward intelligent and automated citrus cultivation, automated and accurate citrus bud estimation techniques are urgently needed [5]. The development of intelligent vision-based estimation systems to replace manual counting is therefore critically needed to reduce labor input and improve operational efficiency in modern citrus production.
As a core technique for intelligent estimation robots, accurate and efficient detection algorithms are essential to improve estimation reliability and provide a solid technical foundation for practical deployment. Current citrus yield estimation approaches, which rely on color features, ultrasonic sensing, and aerial imagery, predominantly focus on fruit counting during the mature fruiting stage. For instance, a machine vision system was developed for real-time early citrus yield estimation using pixel distribution in the HSI color space, representing one of the earliest applications of computer vision in this field [6]. To further improve estimation accuracy, an increasing number of studies have incorporated deep learning techniques into yield estimation pipelines. For example, Faster R-CNN and LSTM models have been combined with UAV imagery to detect citrus fruits and achieve early yield estimation, yielding higher accuracy than traditional vision-based methods [7]. Another recent study integrated deep learning-based fruit detection with the XGBoost regression model, using pruning intensity and multi-view image features as inputs to improve individual-tree early yield estimation accuracy [8]. Nevertheless, nearly all existing studies concentrate on fruit detection during the fruiting stage and cannot be directly extended to citrus bud estimation in the early flowering period.
Deep learning has been successfully applied to flower bud detection and yield estimation for other horticultural crops using RGB images, such as grapes and tea, which validates the feasibility of computer vision-based bud estimation in agricultural scenarios [9,10,11]. However, citrus flower buds present distinct and more challenging characteristics compared with grape and tea buds: they are smaller in size, more densely distributed, and suffer from more severe occlusion by leaves and branches in complex orchard environments. Mutual shading and overlapping between foliage and citrus buds further escalate detection difficulty, rendering existing bud detection pipelines designed for other crops inapplicable to direct citrus bud estimation.
Recently, the YOLOv8 model has garnered widespread attention in agricultural small object detection due to its exceptional detection accuracy and inference speed, with successful applications in addressing challenges like small target size, dense distribution, and occlusion [12]. It can effectively process high-resolution images and detect diverse object categories. For example, Gai et al. adapted YOLOv8 for blueberry detection to address challenges such as small size, dense distribution, and leaf occlusion [13]. Similarly, to address challenges including the high color similarity between buds and background foliage, as well as occlusion caused by overlapping leaves, Liu et al. extended YOLOv8s to develop MAE-YOLOv8, which improves detection efficiency and accuracy for green crisp plums [14]. For passion fruit, Chen et al. developed the YOLOv8-MDN-Tiny model based on YOLOv8s to enhance the detection of small-scale diseases and overcome limitations of conventional detection models [15]. Notably, Lu et al. incorporated the lightweight CARAFE operator and a multi-efficient channel attention mechanism into YOLOv8, realizing fast and accurate small-object detection; this capability is particularly critical for UAV-based citrus orchard monitoring and highly relevant to the task of citrus bud estimation [16].
Accurate citrus bud detection is crucial for refining agricultural management practices and early yield estimation. Inspired by the aforementioned advances, we adopt YOLOv8 for the citrus bud detection task and further enhance its performance. Notably, YOLOv8 offers five variants (n, s, m, l, and x) with varying widths and depths. Given the limited computational resources in real orchard environments, we select the lightweight YOLOv8n as the baseline model, due to its minimal model size and lowest computational complexity. However, accurate detection of citrus buds still faces two key challenges. First, citrus buds exhibit clustered growth patterns and are frequently occluded by surrounding foliage, which readily gives rise to missed detections. Second, natural citrus orchards feature complex backgrounds accompanied by variable illumination, shadow interference, lime coatings, and diverse vegetation, all of which introduce substantial background noise and interferences, impeding accurate citrus bud detection.
To address the challenges involved in citrus bud detection within complex orchard scenarios, this study presents a dedicated contextual and frequency-aware detector named CFADet to achieve accurate and reliable bud estimation. Specifically, a diverse citrus bud dataset is constructed under varied illumination and occlusion conditions. Moreover, spatial-to-depth convolution (SPDConv) is employed to reconstruct the network backbone, which effectively enhances fine-grained feature extraction for these small and densely clustered targets. To enhance the robustness of information transmission for small targets, an enhanced feature fusion network (EFF) embedded with a novel dual-path weighted fusion strategy is proposed to adaptively fuse multi-scale features from different network depths while integrating intermediate backbone layers as well as skip connections to better focus on tiny-scale characteristics. Meanwhile, a contextual boundary enhancement module (CBEM) based on dimension interaction and max-pooling is designed to highlight edge and contour information of citrus buds to make them more distinguishable from cluttered backgrounds. Furthermore, a frequency-aware module (FAM) with a specially designed attention weight filter is developed to adaptively regulate frequency components and suppress complex background noise, which effectively reduces missed detections and localization errors caused by bud overlap and leaf occlusion while improving the model’s perception capability toward citrus buds of varying sizes.
The rest of this paper is structured as follows. Section 2 describes the self-constructed dataset and the proposed citrus bud detection model. Section 3 presents the experimental results with detailed analysis. Section 4 discusses the limitations of our approach and outlines potential directions for future work. Finally, Section 5 summarizes the research.

2. Materials and Methods

2.1. Image Acquisition

In this study, all citrus bud images were collected at the Citrus Planting Base of Guangxi Shanshui Nonggang on 26 February 2024, between 9:00 a.m. and 6:00 p.m., with approximately one frame captured per minute per operator. The geographical coordinates of the base are 106.58 ° E longitude and 22.30 ° N latitude (WGS84 datum), as shown in Figure 1a. During the acquisition period, weather conditions varied from clear and cloudy to overcast with light rain, resulting in naturally fluctuating illumination levels that reflect real orchard environments. The sampled citrus cultivar was Orah Mandarin (Citrus reticulata cv. Orah). Image data were acquired using two handheld devices: a smartphone (iPhone 13, Apple Inc., Cupertino, CA, USA) and a digital camera (IXUS 125 HS, Canon Inc., Tokyo, Japan). To ensure data consistency, all devices operated under automatic ISO settings. The collected images were captured at a resolution of 3024 × 4032 pixels and stored in JPG format. To enhance dataset diversity and simulate realistic field inspection scenarios, citrus buds were photographed under both frontlighting and backlighting conditions at distances ranging from 20 cm to 80 cm. Specifically, 326 images were captured at close range (20–40 cm), 418 at medium range (40–60 cm), and 223 at long range (60–80 cm). This stratified distance distribution ensures that the dataset covers typical viewing conditions encountered during orchard monitoring. Challenging scenarios, including partial occlusion, leaf shading, and densely clustered buds, were deliberately recorded to improve dataset robustness, as illustrated in Figure 1b,c. After quality screening based on image clarity, completeness, and annotation feasibility, a total of 967 high-resolution images were retained as the final dataset. Images with severe blurring, overexposure, excessive occlusion, or incomplete bud structures were removed to ensure dataset reliability and annotation accuracy.

2.2. Data Preprocessing

To ensure high-quality training data for accurate citrus bud detection, a series of data preprocessing steps were conducted, including manual labeling, dataset splitting, and data augmentation.
During manual annotation, citrus buds in the images were manually annotated using LabelImg (Tzutalin, Redwood City, CA, USA; Version 1.8.6). Precise rectangular bounding boxes were carefully drawn around each individual citrus bud to tightly align with its actual contour. For targets occluded by branches, leaves, or adjacent buds, annotators delineated the bounding boxes based on the typical morphological characteristics of Orah Mandarin (Citrus reticulata cv. Orah) buds to accurately reflect the true physical size of each target. The target buds were labeled into two categories: “green” and “white”, excluding extremely tiny background points smaller than 10 × 10 pixels (approximately less than 0.001% of the total image area). Such ultra-small targets suffer from optical blurring and pixel aliasing, resulting in incomplete morphological contours and introducing unwanted noise into the dataset, which further increases the computational burden of the model. Furthermore, such miniature distant buds are predominantly immature latent buds or non-productive distal shoots with an extremely low fruit-set rate, contributing negligible value to current-season yield formation and thus being irrelevant for practical yield estimation. This exclusion only eliminates unidentifiable ultra-small background noise while retaining all valid foreground buds, thereby imposing minimal impact on the model’s generalization ability and ensuring high-quality annotation and efficient inference for real-world orchard deployment.
Following standardized bud classification criteria [17], white-green flower buds with obvious sepals were labeled as green buds, and those with unclear sepals and completely white bodies as white buds (Figure 1c). To minimize labeling errors caused by the small target size, the annotation process was divided into three sequential stages: initial labeling according to classification criteria, error verification, and final review by professional agricultural experts to ensure labeling consistency and standardization. All annotation files were exported and stored in PASCAL VOC format.
Subsequently, 97 samples with less than 30% occluded buds were chosen to form the easy test set A. Another 97 samples with more than 30% occluded buds and relatively dense distribution were selected to create the challenging test set B. In addition, a combined test set AB was generated by merging sets A and B, covering a full gradient from simple to complex detection environments, which is highly consistent with real-world citrus bud detection tasks (e.g., orchard monitoring under natural illumination and post-lime-spraying conditions). This design ensures data authenticity and relevance to practical applications. After creating the test sets, the remaining 773 images were randomly assigned to the training set, and 97 images to the validation set, resulting in a training:validation:test ratio of 7:1:2 (676:97:194).
Adequate sample diversity is critical for robust training of deep neural networks. Accordingly, an online data augmentation strategy integrated within the training framework was adopted to expand the effective training sample space without modifying the original training dataset. This strategy performs real-time augmentation operations during model training, with specific techniques including random blurring, median blurring, contrast-limited adaptive histogram equalization (CLAHE), random flipping, MixUp, and Mosaic augmentation. These transformations simulate common field imaging degradations and enrich sample diversity, effectively enhancing the model’s robustness to lighting variations, occlusions, and bud posture differences [12].
Beyond these augmentation operations, uniform resizing of input images to 640 × 640 pixels is another key preprocessing step. For the majority of citrus buds in our dataset, this resolution retains sufficient pixel features to guarantee reliable detection performance. However, feature loss is inevitable for extremely tiny buds after downsampling, which constitutes the core challenge addressed by all the proposed methods in this study. In addition, the selection of 640 × 640 resolution is a deliberate trade-off between detection accuracy and inference speed, which meets the real-time deployment requirements of practical orchard scenarios.

2.3. Data Analysis

Target size was defined based on the relative ratio of the target to the image area in previous research [18]. A target was categorized as a small target when the median ratio of the bounding box area to the image area fell within the range of 0.08% to 0.58%, as specified in Equation (1):
0.0008 M S b b o x , i j S i m g , i 0.0058
where M ( x k ) represents the median value of the set x k , which in this case is the set of all ratios S b b o x , i j S i m g , i across all bounding boxes in the dataset, S b b o x , i j represents the area of the j-th bounding box within the i-th image, and S i m g , i represents the area of the i-th image.
In this study, all annotation coordinates in the dataset were normalized to a unified coordinate system. As shown in Figure 2, the dataset contains a substantial number of small targets. This high proportion aligns with the visual distribution in the figure, confirming that small targets dominate the dataset. For further quantitative characterization and reproducibility, the average number of citrus buds per image was calculated as 36.82 ± 6.94 (mean ± standard deviation), indicating that citrus buds are numerous and densely distributed throughout the dataset. The dense and overlapping spatial distribution of green and white buds may lead to model confusion between adjacent targets—that is, failure to distinguish whether two bounding boxes correspond to separate buds—thus hindering high-precision target localization. Moreover, the limited number of pixels of these small targets in the feature map makes it challenging to extract robust features and preserve adequate spatial information as the number of network layers increases. These characteristics—small target dominance, limited pixel information, and dense overlapping distribution—collectively highlight the uniqueness of citrus bud detection compared to conventional object detection tasks, necessitating specialized model design.

2.4. CFADet

Given that most citrus flower buds are defined as small targets (as specified in Figure 2) and are often accompanied by complex foreground issues (e.g., overlapping with leaves, branches, or adjacent buds) in orchard scenarios, their feature representations tend to be weak. To address this issue, this study first improved YOLOv8 by introducing dual-path weighted feature fusion (DPF), cross-layer connections, and a small-target detection layer to enhance the robustness of small-target information flow, thus forming CFADet. However, it is important to note that CFADet still inherits and exhibits key limitations of the original YOLOv8 architecture, which hinder further performance gains. The employment of conventional strided convolutions in backbone networks may lead to the loss of fine-grained information, thereby affecting the model’s feature extraction capability, particularly for small objects. Secondly, the feature extraction via downsampling and pooling blurs the boundary details of small objects, weakening their distinguishability from complex backgrounds. Thirdly, the default feature fusion strategy in YOLOv8 assigns large targets to deep, semantically rich feature maps, while small targets are mapped to shallow, lower-level feature maps. In complex orchard backgrounds, deep layers may overemphasize global contextual information (e.g., dense leaves and branches) while potentially underweighting small and densely distributed buds. This could lead to the misidentification of small targets as background noise within deep features, due to the overwhelming effect of background noise. These challenges, arising from the potential limitations of YOLOv8 in fine-grained feature retention, edge preservation, and background suppression, highlight the need for targeted architectural improvements.
To address these limitations, we integrated the following modules into CFADet, as shown in Figure 3: (1) We replaced conventional strided convolutions with SPDConv in the backbone, as its design avoids excessive downsampling loss of fine-grained information, thereby preserving small-target details. (2) The contextual boundary enhancement module (CBEM) enhances contextual features and boundaries of small targets through dimensional interaction and max-pooling operations. (3) The frequency-aware module (FAM) performs background suppression in the frequency domain by distinguishing texture frequency differences between small buds and cluttered backgrounds. This alleviates misclassifications and missed detections of overlapping or occluded targets in complex backgrounds.

2.4.1. Preliminary Improvements to YOLOv8 for Citrus Bud Detection

In real citrus orchards, citrus buds are mostly small targets relative to the overall image dimensions, and are easily occluded by foreground elements such as branches and leaves, while complex backgrounds can obscure or confuse their detection. In this case, the features of citrus buds are prone to being overwhelmed. Existing methods, specifically the Feature Pyramid Network (FPN), attempt to retain more small-target features during multi-scale feature fusion. This is achieved by constructing a top-down pyramid that fuses high-level semantic features with low-level spatial features. Similarly, the Path Aggregation Network (PANet) was proposed to address this issue by incorporating a bottom-up path into the FPN architecture to improve the flow and fusion of low-level spatial features. This structure was adopted as the baseline feature fusion module in the original YOLOv8 [20]. To further preserve small-target information during multi-scale feature fusion, bidirectional feature pyramid network (BiFPN) was developed. It introduces weighted bidirectional cross-scale fusion on the P3–P7 feature layers to improve the flexibility of multi-scale feature integration. However, BiFPN only implements weighted fusion at the feature level, omitting fine-grained channel-wise feature recalibration and the high-resolution shallow layers essential for detecting extremely small citrus buds. This makes it insufficient to extract the discriminative information of small targets in complex orchard backgrounds.
To address these issues, we proposed an enhanced feature fusion (EFF) network to optimize network performance and reduce detail loss. As shown in the Figure 4, we designed a dual-path fusion to replace the simple concatenation. Specifically, for N input feature maps x 1 , x 2 , , x N we perform feature selection at both the feature (feature weight) and channel (channel weight) levels. In the feature weight pathway, dynamic weighted allocation is applied to multi-scale feature maps via learnable weight parameters ( w 1 , w 2 , , w N ), facilitating feature fusion across scales. In the channel weight pathway, the channel attention mechanism strengthens the critical channel information of the individual feature maps x 1 , x 2 , , x N while suppressing redundant interference. Finally, the outputs of these pathways are fused by summation to achieve complementary feature information at different levels. The operations are calculated as follows:
C W ( x i ) = [ x i · σ ( G A P ( x i ) ) ]
F W ( x i ) = [ w i i σ ( w i ) + γ · x i ]
D P F ( x ) = C W ( x i ) F W ( x i )
where C W ( · ) , F W ( · ) and D P F ( · ) represent the channel weight path, feature weight path and dual-path fusion, respectively. [ · ] represents a stack operation. σ represents the activation function. x i represents the input feature. w i represents the learnable weight. γ = 10 4 serves as a stabilizing term to prevent division by zero.
Furthermore, a P 2 detection layer is introduced as a shallow high-resolution branch to preserve fine-grained spatial details. This enables the neck to acquire richer information on small targets and renders the feature flow more robust against noise and occlusion during fusion. Additionally, cross-layer connections between C2–C4 (the backbone layers) facilitate the bidirectional propagation of shallow detail features and deep semantic features, thereby integrating original feature maps with contextual information.
Overall, these enhancements collectively strengthen the representation of small citrus bud features, mitigate detail loss during fusion and improve the robustness of small-target information flow. The enhanced feature fusion network lays a solid foundation for CFADet to detect small and occluded targets in natural orchard scenes.

2.4.2. Contextual Boundary Enhancement Module

The visual characteristics of small objects are often weak, so it is advantageous to make more precise judgements based on environmental information when detecting them. In citrus bud scenes, the appearance information of small buds is extremely limited, and making judgments based solely on their appearance is challenging. Instead, such judgments can be improved by incorporating contextual cues like pedicels (structures with more distinctive visual patterns than the buds themselves), thereby enhancing discriminability. Therefore, it is essential to utilize contextual information to guide bud detection. Current studies mainly focus on RFB-like structures, which process spatial features through convolutional branches with different kernel sizes and then perform channel-wise feature fusion via 1 × 1 convolution [21]. However, in the context of citrus bud detection, this architecture has two critical limitations that hinder performance: (1) spatial and channel operations are computed independently without considering their interdependencies, and (2) large-kernel convolutions expand receptive fields by blending features from extensive regions, resulting in blurred fine boundaries (e.g., bud edges that are 1–2 pixels wide). To address these limitations, we propose a contextual boundary enhancement module (CBEM), as shown in Figure 5. CBEM establishes spatial-channel dependencies through dimension exchange while reinforcing boundary features, thereby significantly improving the discriminative power of small object representations.
Specifically, the input tensor X 1 is first rotated to obtain F 2 ( B , H , C , W ) and F 3 ( B , W , H , C ) , while F 1 ( B , C , H , W ) remains unchanged. This rotation enables interaction between the spatial and channel features in different dimensions. No rotation is performed for the first branch, and local spatial features are extracted directly using standard 3   ×   3 convolutions. For the latter two branches, cascaded standard convolutional operations are performed on F 2 and F 3 to capture dependencies between channel and spatial dimensions, with kernel sizes of 1   ×   3 and 3   ×   1 , respectively. This design leverages the directional sensitivity of asymmetric kernels: ( 1   ×   3 ) kernels excel at capturing horizontal spatial correlations (e.g., lateral edges of citrus buds), while ( 3   ×   1 ) kernels are more effective at capturing vertical dependencies (e.g., longitudinal contours). Reversing the order of these asymmetric kernels across the two branches enables the module to better model multi-orientational features. This capability is essential for distinguishing small, irregularly shaped buds from cluttered backgrounds (e.g., leaves and branches) and reduces false negatives caused by orientation ambiguity.
Additionally, dilated convolutions are added to the last two branches to expand the receptive field without reducing spatial resolution, thereby capturing broader contextual information. After dimension interaction, the latter two branches are rotated back to their initial shape ( B , C , H , W ) . Finally, the outputs of the three branches are concatenated to maximize feature information retention and ensure the model captures as much detail as possible. The mathematical expressions of the dimension interaction structure can be written as follows:
F 1 = f c o n v 3 × 3 ( F 1 )
F 2 = f d i c o n v 3 × 3 { f c o n v 1 × 3 [ f c o n v 3 × 1 ( F 2 ) ] }
F 3 = f d i c o n v 3 × 3 { f c o n v 3 × 1 [ f c o n v 1 × 3 ( F 3 ) ] }
X 2 = C a t ( F 1 , F 2 , F 3 )
where f c o n v 3 × 3 , f c o n v 1 × 3 , and f c o n v 3 × 1 represent standard convolution operations with kernel sizes of 3   ×   3 , 1   ×   3 , and 3   ×   1 , respectively. f d i c o n v 3 × 3 denotes the atrous convolution operation with a dilation rate of 3. C a t ( · ) is the feature map concatenation operation. F 1 , F 2 , and F 3 represent different rotation forms of input feature maps. F 1 , F 2 , and F 3 represent the output feature maps of the three branches after standard and atrous convolution. X 2 is the output feature map of the dimension interaction structure.
To avoid boundary blurring, we perform boundary enhancement following the method in [22]. The boundary information of X 2 is enhanced from four directions. The key to enhancing boundaries is determining whether a position is a boundary point. Suppose we want to capture the left boundary of an object in the feature map F l R H W C . We determine whether there is a drastic change between a point and its neighbour to the left. Enhancement is then performed by using the rightmost point to traverse to the left, as specified in:
X i j c l = F i W c l if j = W max { F i j c l , F i ( j + 1 ) c l , , F i W c l } otherwise
where F l denotes the feature map for left boundary enhancement, F c l represents the c-th channel of feature map F l , and F i j c l represents the value at position ( i ,   j ) of the c-th channel of the feature map F l . X i j c l denotes the value at position ( i ,   j ) in the c-th channel of X l (the enhanced feature map for left boundaries). Similarly, boundary enhancement can be applied to the feature map in four directions: up, down, left, right, as shown in the right part of Figure 5. Finally, the output of four-directional boundary enhancement and the original feature X 1 are concatenated along the channel dimension to form X 3 , integrating enhanced boundary details with original semantic information.
By employing dimensional exchange and multi-directional enhancement strategies, CBEM effectively captures contextual information and the boundaries of small objects. To further improve the representation of features of small targets, CBEM is integrated into the C 1 layer, which retains the most fine-grained spatial details and contains the most relevant information for small targets. The enhanced features from the C 1 layer are then fused into the P 2 layer, which is responsible for detecting small targets. Due to the computational complexity of the C 1 layer, an upsampling approach is selected for the merging process to ensure efficient integration of these features.

2.4.3. Frequency-Aware Module

Following the CBEM and EFF modules, the feature maps already incorporate local contextual information and provide an accurate representation of the characteristics of small buds. However, in real orchard environments, citrus buds may be affected by other features, such as leaves and branches covered in limes, and occlusion issues could cause the model to misclassify the background as targets, potentially leading to false alarms.
Traditional background suppression methods are dominated by channel-wise attention mechanisms, represented by the SE and ECA modules. While these approaches recalibrate the importance of channels to filter out redundant information, they ignore the distribution of spatial features and are unable to distinguish between buds and lime-covered leaves, which have similar texture and grayscale traits. To address the limitations of single-dimensional attention, SCAM—a mainstream spatial-channel joint attention paradigm—integrates dual-dimensional feature modeling to deliver more comprehensive feature optimization [23]. Despite this advancement, SCAM remains confined to the spatial domain and cannot eliminate interference from backgrounds with highly analogous spatial characteristics. This results in unavoidable false alarms in complex orchard scenarios.
Essentially, all of the above methods rely on spatial-domain attention to analyse feature importance for background suppression. However, objects such as lime-covered leaves, which have similar texture and grayscale characteristics in the spatial domain, are difficult to distinguish using this method. To address this issue, existing studies have explored the impact of different frequency components on camouflaged target detection [24]. For example, a frequency perception network has been proposed that can automatically separate high-frequency texture and low-frequency contour features via octave convolution. This realises coarse localisation of camouflaged objects through frequency cues [25]. A two-stage frequency-aware framework has been developed, where frequency-domain features assist in identifying target “breakthrough points” and enhance the discriminability of low-contrast camouflaged objects from backgrounds [26]. This frequency-based discriminability can also be leveraged in citrus bud detection, where the texture frequencies of lime-covered leaves and buds are distinct. Adjusting the frequency components in the frequency domain enables clearer separation of the target and background. Based on the above analysis, we propose the FAM module to adaptively recalibrate the responses of different frequency components, as shown in Figure 6.
First, we use Fast Fourier Transform (FFT) to transform the input feature F i n from the spatial domain to the frequency domain ( F p ). Subsequently, we split F p into amplitude F a m p and phase spectrum P, which are derived from the magnitude and argument of the complex Fourier coefficients, respectively, as illustrated by the following equations:
F F T ( F in ) ( u , v ) = 1 H W h = 0 H 1 w = 0 W 1 F in ( h , w ) e j 2 π h H u + w W v
F amp ( u , v ) = R 2 ( F in ) ( u , v ) + I 2 ( F in ) ( u , v )
P ( F in ) ( u , v ) = arctan I ( F in ) ( u , v ) R ( F in ) ( u , v )
where F F T ( · ) represents the FFT operation applied to the feature. R ( F i n ) and I ( F i n ) are the real and imaginary parts of F F T ( · ) , respectively. The amplitude F a m p directly represents the strength and energy of the frequency components.
Furthermore, the amplitude component ( F a m p ) obtained by the FFT contains more critical information for object detection [27]. Consequently, this study focuses on exploring the influence of different frequency components in the amplitude spectrum while maintaining the phase spectrum unchanged. We design three strategies for modifying the amplitude, as shown in Figure 6a–c. The first strategy employs a high-pass filter to suppress low-frequency components and retain high-frequency details. While this strategy is indeed feasible, it must be noted that the high-pass filter may result in the loss of numerous low-frequency components, which could consequently lead to a further weakening of the details pertaining to the small targets. The second strategy utilises a channel attention mechanism to adaptively enhance the high-frequency components. The third strategy constructs a low-frequency mask by iterating over each pixel in the frequency domain and calculating its distance from the center. If this distance is less than a predefined low-frequency radius, the corresponding low-frequency components are suppressed. The specific calculations for the three strategies are represented by the following formulas:
F amp ( x , y ) = x W 2 2 + y H 2 2 max x W 2 2 + y H 2 2 · F amp ( x , y )
F a m p = A t t e n t i o n ( F a m p ) · F a m p
F a m p ( x , y ) = 0.5 F a m p ( x , y ) if ( x W 2 ) 2 + ( y H 2 ) 2 < d 2 F a m p ( x , y ) otherwise
where A t t e n t i o n ( · ) represents the channel attention mechanism. ( x , y ) represents the coordinates in the frequency domain, and ( W / 2 , H / 2 ) is the center of coordinates. The denominator m a x ( · ) is the maximum distance value, used for normalization to ensure the filter values range between [ 0 ,   1 ] . d is the predefined low-frequency radius.
The results of these strategies are shown in Table 1. All strategies are able to boost detection performance, but the difference between the first and third strategies is not significant. Therefore, we choose the second strategy for amplitude modification as shown in Figure 6b. Specifically, we utilize 3   ×   3 , 5   ×   5 , and 7   ×   7 depthwise (DW) convolutions to extract local features F, thereby enhancing the perception of different receptive fields. Subsequently, adaptive average pooling captures global information of the entire feature map. A fully connected layer (FC) then reduces the dimension of the pooled features and finally generates a Sigmoid activated output. The output from the fully connected layer is then processed by an exponential function, expanding its value range from [ 0 ,   1 ] to [ 1 ,   e ] . This exponential normalization makes the results more tolerant of positional errors. The process of the attention weight filter can be outlined as follows:
w = exp Sigmoid F C A v g k { 3 , 5 , 7 } f dwconv k × k ( F amp )
F amp = F amp w
where w denotes the attention weights generated to recalibrate amplitude components. f d w c o n v k × k represents depthwise convolution operations with kernel sizes of k   ×   k . A v g ( · ) performs adaptive average pooling. F C ( · ) and S i g m o i d ( · ) represent the fully connected layer and sigmoid activation function, respectively. e x p ( · ) performs exponential normalization.
After enhancing the amplitude to obtain F a m p , we stack it with the original phase P to reconstruct the modified frequency-domain feature F p . F p is then converted back to the spatial domain by applying the inverse FFT. Finally, the spatial domain features F i n and the frequency-domain enhanced features are fused to form the final output F o u t .
This approach, distinct from traditional attention mechanisms that operate solely in the RGB domain, offers a novel strategy for background suppression, particularly in challenging scenarios with occlusions and similar feature backgrounds.

2.4.4. SPDConv

In the shallow layers of the YOLOv8 structure, strided convolutions are widely utilised for the purpose of feature extraction. In most scenarios involving high-resolution images and reasonably large objects, there is redundant pixel information that allows strided convolution to skip details without significant impact. In the case of small objects, such as citrus buds, there is an absence of redundant information. This absence leads to loss of fine-grained details and poor feature learning.
To address this issue, we introduce SPDConv to reconstruct the backbone [28]. As shown in Figure 7, the stage comprises a spatial-to-depth layer and a feature extraction layer (consisting of 1   ×   1 and 3   ×   3 convolutions). This stage involves the downsampling of image features with the objective of preserving the essential information in the channels. It is followed by the execution of multiple 3   ×   3 convolutions, which serves to further enrich the feature map. The SPDConv takes the feature map X R C × H × W as input and performs the spatial-to-depth downsampling. Specifically, SPDConv performs equidistant sampling on the spatial dimensions of the input features and then concatenates each sampling result along the channel dimension to obtain X 2 . To avoid unbalanced sampling caused by strided convolutions, a 1   ×   1 convolution is employed to decrease the channel dimension. This spatial-to-depth layer enables downsampling without losing fine-grained information—unlike strided convolutions, which skip pixels and discard critical details of small buds. Finally, a 1   ×   1 convolution reduces the channel dimension to lower computational costs, followed by further feature extraction via N i   3   ×   3 convolutions.
Overall, by integrating SPDConv with C2f in the backbone enhancement, the proposed design achieves improved feature extraction capability while simultaneously reducing model parameters. This reconstructed backbone effectively alleviates the loss of fine-grained details and enhances the learning of discriminative features, leading to a more efficient and robust feature representation.
Building on the foundational improvements from EFF, and combined with the subsequent enhancements of CBEM and FAM, these modules collectively provide CFADet with a comprehensive solution for accurate small object detection in challenging orchard environments.

2.5. Network Training and Performance Evaluation

The experimental setup comprises a 13th Gen Intel (R) Core (TM) i7-13700KF CPU, an NVIDIA GeForce RTX 4090 D (24 GB memory) GPU, and 62 GB of RAM. The operating system is Ubuntu 24.04, with Visual Studio Code (v1.86.2) as the development environment. The programming language used is Python 3.8.19, and the deep learning framework is PyTorch 1.12.0. CUDA version 12.4 and cuDNN version 8.9.5 are employed to accelerate computations. For the proposed model, the input dimensions are set to 640 × 640 × 3, and the batch size is 16. Adam optimizer is utilized with an initial learning rate of 0.01, which is dynamically adjusted using a cosine annealing schedule during training. To ensure comprehensive training, the model is trained for a maximum of 1000 epochs, with an early stopping mechanism (patience = 50 epochs) to prevent overfitting.
This study employed precision (P), recall (R), F1-score, and average precision (AP) for individual categories as the key metrics to evaluate the model’s performance. In binary classification tasks, samples are classified into four categories according to whether their actual labels match the model’s predictions: true positives (TP), false positives (FP), true negatives (TN), and false negatives (FN). The TP and FP values are sensitive to different Intersection over Union (IOU) thresholds, and their variations directly impact precision and recall, thereby affecting the AP metric. An AP value closer to 1 signifies better recognition performance. Mean average precision (mAP) is another important metric, which aggregates the AP values across various object classes to provide an overall performance measure. The formulas for calculating P, R, F1, AP and mAP are as follows:
P = T P T P + F P × 100 %
R = T P T P + F N × 100 %
F 1 = 2 × P × R P + R × 100 %
A P = 0 1 P ( R ) d R
m A P = 1 2 i = 1 n A P ( i )
Additionally, we evaluated the model complexity using the number of parameters, model size and GFLOPs. The number of parameters reflects the number of weights that the model’s convolutional layers need to learn. Meanwhile, the model size denotes the amount of memory space the model occupies on the hardware platform. GFLOPs represent the computational complexity of the model. The formulas are as follows:
G F L O P s = O ( i = 1 n K i 2 C i 1 2 C i + i = 1 n M 2 C i )
P a r a m s = O ( i = 1 n M i 2 K 1 2 C i 1 C i )
where O ( · ) denotes a constant order, K represents the convolution kernel size, C is the number of channels, M is the input image size, and i is the layer index.

3. Experimental Results and Analysis

3.1. Comparison of Different Feature Fusion Network

To demonstrate the performance of the enhanced feature fusion network for citrus bud detection, we compare different feature fusion networks on the complete test set, which vary in head layers and fusion methods. These comparative methods are selected as they represent the mainstream multi-scale feature fusion paradigms in small object detection, covering foundational architectures (FPN, PANet), weighted fusion improvements (BiFPN, GFPN), and channel-aware optimization designs, ensuring a comprehensive validation of our EFF network. As shown in Table 2, our enhanced feature fusion network achieves the highest performance across mAP (84.5%), precision (79.5%), and recall (77.3%). Notably, its mAP outperforms the baseline by 4.6% and is 0.9% higher than that of GFPN. Therefore, we choose EFF as the neck of CFADet.

3.2. Ablation Experiments with Single and Multiple Modules

To verify the effectiveness of each module in CFADet, we conducted ablation experiments by sequentially embedding SPDConv, CBEM, and FAM.
(1)
A CBEM is designed based on the P 1 feature layer to enhance the feature boundaries and contours of small targets, thereby improving the model’s recognition accuracy for tiny targets and in blurred scenarios.
(2)
A FAM is designed to suppress complex background noise in orchard scenarios (e.g., occlusion by branches, leaves, etc.), thus further enhancing the feature representation of small targets.
(3)
SPDConv is introduced to replace the strided convolution in the backbone, which helps preserve more detailed information of citrus buds and reduce the number of parameters.
Table 3 presents the results of embedding SPDConv, CBEM, and FAM into CFADet on the complete test set. Specifically, with the incorporation of CBEM, all evaluation metrics improve significantly, with mAP and F1-score increasing by 6.7% and 4.4%, respectively, compared to the baseline. Similarly, after incorporating FAM, most evaluation metrics show improvement, with precision exhibiting a notable increase from 76.5% to 78.7%. Meanwhile, the introduction of SPDConv reduces the number of parameters by 10% while accompanying a 2.5% increase in precision. These results fully validate the effectiveness of each individual module, and their combined application optimizes both detection accuracy and model efficiency for citrus bud detection.

3.3. Feature Enhancement Effect Experiments

To verify the effectiveness of the proposed CBEM, we compared its performance with classical feature enhancement strategies RFB (Receptive Field Block) and RFBs (Receptive Field Blocks). These two methods serve as representative baselines, as they are widely adopted contextual feature extraction paradigms for small object detection that focus on expanding receptive fields and aggregating multi-scale contextual information—core objectives aligned with CBEM’s design for enhancing citrus bud feature discriminability. After embedding these modules into CFADet, as shown in Table 4, CBEM achieved the highest mAP, exceeding RFB by 0.9% and RFBs by 1.6%. CBEM also outperformed classical feature enhancement strategies in recall and F1-score, achieving 79.3% and 80%, respectively.
To further validate the effectiveness of CBEM in citrus bud detection, we visualized the detection results before and after incorporating CBEM. As shown in Figure 8, CFADet without CBEM exhibited a significant number of missed detections in complex scenes. For example, under the overlap and occlusion conditions shown in Figure 8a, the overlapping between buds and occlusion by the branches make the boundary difficult to detect. However, as shown in Figure 8b, the proposed CBEM demonstrated robust performance in both blurring and inter-class overlapping scenarios, significantly improving detection accuracy. These results highlight the enhanced detection performance of small objects under complex scenarios after introducing CBEM.

3.4. Background Suppression Effect Experiments

To evaluate FAM’s accuracy in detecting citrus buds under varying occlusion levels, we selected test sets A, B, and A + B for evaluation. Table 5 shows the comparison between FAM and several typical methods, including SCAM [23], ECA [32] and SE [33]. These methods are widely used standard solutions for background suppression in small object detection, as they have been proven effective in handling interference from cluttered environments similar to the orchard scenes targeted in our work. The experimental results demonstrate that FAM outperforms SCAM, ECA, and SE in key metrics across most test sets, with notable advantages in heavily occluded scenarios (test set B). Notably, FAM achieved an mAP of 86.8% and an F1-score of 79.8% on test set B, with recall (79.7%) surpassing that of SE (77.3%) and ECA (76.3%).
To visually verify the effectiveness of FAM, we used Grad-CAM to generate heatmaps and analyze the model’s attention regions, helping to determine whether the model learned correct feature information [34]. As shown in Figure 9b,c, traditional channel attention mechanisms, such as SE and ECA, exhibit imprecise focus and detect erroneous areas when identifying citrus buds under complex orchard scenes. These mechanisms often focus on similar background elements, especially lime-covered leaves and branches, leading to inaccuracies in sparse, dense, and occluded conditions. As shown in Figure 9d, SCAM often mistakenly focuses on background elements such as weeds and branches in small and dense scenes. In contrast, as shown in Figure 9e, FAM demonstrates superior background suppression capabilities and focuses more on the correct areas where the citrus buds are located.
We also validated different frequency-domain enhancement strategies in FAM on the test set B (Table 1), where A M 1 uses a high-pass filter, A M 2 employs a dedicated attention mechanism, and A M 3 applies a low-frequency mask. A M 2 achieves the highest mAP (86.8%), outperforming A M 1 (86.2%) by 0.6% and A M 3 (86.5%) by 0.3%, making it the optimal frequency enhancement strategy.

3.5. Performance Comparison of Different Object Detection Models

To further validate the effectiveness of the enhanced models, a comparative experiment was conducted on the complete test set. CFADet was compared with various mainstream detection models, including Faster R-CNN [35], Mask R-CNN [36], Cascade R-CNN [37], Deformable DETR [38], Dino [39], ATSS [40], YOLOv5, YOLOv6 [41], YOLOv7 [42], YOLOv8, YOLOv9, YOLOv10, YOLOv11, YOLOv12 [43] and YOLO26.
As shown in Table 6, CFADet achieves superior performance compared to all other models. Specifically, CFADet demonstrates outstanding performance in recall (80.9%) and F1-score (81.0%), with a precision of 81.1%—and achieves the highest mAP (87.8%) across all models. Notably, CFADet attains the highest mAP score of 87.8%. Compared to one-stage models such as the YOLO-n and YOLO-s variants, CFADet achieves an average mAP improvement of 7.6%. Moreover, compared to two-stage models such as ATSS, Cascade R-CNN, Deformable DETR, Dino, Faster R-CNN, and Mask R-CNN, CFADet achieves an average improvement of 8.5% in mAP. In terms of model complexity, CFADet achieves a remarkable reduction in model size, with a decrease of 98.8% when compared to Cascade R-CNN. The number of parameters further underscores the model’s efficiency, as it attains 2.8 M parameters, thus rendering it well-suited for deployment in resource-constrained environments.

3.6. Mobile Android Deployment

To verify CFADet’s performance on mobile devices, we developed a detection application named “Citrus Bud Estimation” using Android Studio and deployed it on the HUAWEI Pura 70 Pro (a mid-range Android device with Kirin 9010 chipset) for early citrus bud estimation. As shown in Figure 10, the application comprises three components.
(1)
Environment Setup. Within the application, users can select different input sources, models, and computing engines. Specifically, the “Switch Camera” function allows for setting input sources, including the front and rear camera. The image input size is fixed at a resolution of 640 × 640. Additionally, various models can be chosen, including the baseline YOLOv8n, our CFADet, and other variants. Each model undergoes format conversion from PyTorch (.pt) to ONNX and NCNN via torch.onnx.export and NCNN’s onnx2ncnn toolchain, ensuring efficiency on resource-limited devices. Moreover, to meet the diverse computing resource requirements of the model in practical application scenarios, either the CPU or GPU can be selected for detection.
(2)
Citrus Buds Detection. Based on the images from the input source, detection can be performed using different models to obtain the bounding boxes, categories, and confidence scores of citrus buds.
(3)
Result Display. To verify the performance of the model on mobile devices, the FPS (Frames Per Second) is displayed in the upper-right corner. Furthermore, the yield estimation results are displayed in the upper-left corner, including counts of different bud categories and total yield.
Figure 10. Real-world testing results of the Android application for citrus bud detection.
Figure 10. Real-world testing results of the Android application for citrus bud detection.
Horticulturae 12 00459 g010
To validate the application’s effectiveness with CFADet, we tested it across diverse environments (Figure 10). The application achieves high detection accuracy with confidence scores exceeding 70% and an FPS range of 20–30 (average 25.6), meeting real-time requirements (>15 FPS). Figure 10a shows accurate bud counting under normal illumination, demonstrating robustness in standard orchard environments. Figure 10b illustrates performance under lime-covered conditions, where lime deposits do not interfere with detection (confidence >70%). Figure 10c shows the handling of dense, occluded scenarios with an FPS of 27.25. These results confirm CFADet’s adaptability to resource-constrained mobile platforms, as its lightweight design enables real-time performance without sacrificing accuracy in complex orchard environments.

4. Discussion

We developed a citrus bud detection model named CFADet specifically for early bud estimation. Comprehensive experiments in Section 3 (comparative experiments, ablation studies, and on-device deployment validation) demonstrate that our model outperforms state-of-the-art methods in both accuracy and computational efficiency, making it highly suitable for precise early yield estimation. In this section, we provide an analysis of the experimental results, underscore the contributions of the proposed enhancements, and highlight potential future research directions to further improve its performance.
Ablation experiments validated the superior accuracy and efficacy of the introduced enhancements in citrus bud detection for early yield estimation. EFF adaptively fuses multi-scale features from different layers to provide complementary information. CBEM enhances the model’s discriminative ability for small targets through multi-branch convolution and pooling operations, making the targets more distinguishable in complex backgrounds. Furthermore, FAM offers a novel strategy for background suppression, leading to improved detection accuracy, especially in challenging scenarios involving occlusions and feature-similar backgrounds. Finally, SPDConv is introduced to reconstruct the backbone, thus enhancing the model’s ability to retain fine-grained information. These enhancements collectively render the model highly versatile for early yield estimation in agricultural applications. Future research could explore extending these improvements to other object detection tasks within environments of comparable complexity, such as vision-based small target drone detection in complex outdoor scenes and attention-based object detection for intricate traffic scenes [44,45].
Beyond validating individual module contributions, comparisons with other object detection models further highlight CFADet’s strengths in detecting small citrus buds under dense foliage and varying lighting conditions. This advantage is critical for early agricultural yield estimation, as accurate small-bud detection directly affects yield prediction precision. This accuracy advantage is reflected in its 87.8% mAP, outperforming mainstream models like YOLO11s (82.1%) and Cascade R-CNN (80.7%) in complex orchard scenarios. Despite these significant improvements, there is still room for further enhancement, particularly in handling extreme occlusion and device-specific optimization. Notably, CFADet may still fail to detect buds blocked at extreme angles or occluded by branches and other buds, which could affect the accuracy of early yield estimation. Addressing this issue could involve integrating more robust occlusion-handling mechanisms, such as attention-guided feature recovery, which has been proven effective for adaptive feature interaction and enhancement in complex vision tasks [46]. In terms of deployment, we verified the feasibility of CFADet in real-world applications by deploying the converted NCNN model on mobile devices via Android Studio. Nevertheless, there remains room for further optimization across diverse devices, a step that could further boost inference speed.
In addition to the model-specific limitations discussed, the scope of this study is further constrained by the types of citrus data currently available. The limitation to these two data types restricts the application scope of this study in citrus to yield estimation and flower thinning alone. Expanding coverage to all citrus types would extend the research scope to citrus disease management and growth status monitoring [47]. However, attaining full coverage across all citrus types still presents a challenge [48]. Considering the limited scale and single-orchard source of the experimental dataset, two prominent issues deserve in-depth discussion: on the one hand, the constrained sample diversity and single-scenario source introduce potential overfitting risks, as the model may overly adapt to the specific training scenes instead of learning universal bud features; on the other hand, the lack of cross-regional and cross-environmental data directly limits the model’s generalization ability, leading to possible performance degradation when deployed to unseen orchards with different growth conditions, bud morphologies or climatic backgrounds. Moreover, the insufficient environmental and sample diversity cannot be fully resolved by preliminary training strategies alone, representing a core limitation rooted in the dataset. To overcome these interconnected limitations caused by dataset constraints, we will collaborate with agricultural institutions to collect multi-stage citrus data across diverse regions, ensuring the dataset covers various growth stages, environmental conditions and citrus varieties. We will also further optimize the training regime to suppress overfitting risks and enhance the model’s adaptability to unseen scenes. Beyond the current two categories, we plan to incorporate the morphological characteristics of citrus flowers and fruits throughout their growth cycles to develop a comprehensive detection algorithm. This approach is anticipated to enhance the model’s robustness and broaden its applicability to a wide range of agricultural settings, thereby facilitating more comprehensive citrus cultivation management.

5. Conclusions

In this study, a contextual and frequency-aware citrus bud detection framework, CFADet, is proposed to achieve accurate and efficient citrus bud detection in complex orchard environments and support reliable early yield estimation. The proposed framework integrates four key enhancements to address the challenges of small object size, dense distribution, and severe background interference in real-world orchard scenarios. Specifically, an enhanced feature fusion network (EFF) with dual-path adaptive weighting is designed to strengthen multi-scale feature aggregation and improve spatial information transmission for small targets. A contextual boundary enhancement module (CBEM) is introduced to capture surrounding contextual cues and refine boundary representations, thereby improving the discriminative ability of citrus buds in cluttered environments. Furthermore, a frequency-aware module (FAM) is developed to suppress complex background noise by adaptively regulating frequency-domain components, which enhances feature robustness under varying illumination and occlusion conditions. Spatial-to-depth convolution (SPDConv) is employed to reconstruct the backbone to preserve fine-grained spatial details while reducing model parameters and improving computational efficiency. Experimental results on the self-constructed citrus bud dataset demonstrate that CFADet achieves 81.1% precision, 80.9% recall, 81.0% F1-score, and 87.8% mAP, showing competitive performance compared with existing detection methods. CFADet also achieves real-time performance on mobile devices with 29 FPS, validating its applicability in resource-constrained orchard environments. As a preliminary study, future work will focus on expanding the dataset across more regions and growth stages and further improving model robustness under complex orchard environments, providing a stronger foundation for large-scale intelligent orchard monitoring and early yield estimation.

Author Contributions

Conceptualization, Q.L. (Qizong Lu), L.Y. and H.Y.; methodology, Q.L. (Qizong Lu) and L.Y.; software, Q.L. (Qizong Lu) and L.Y.; validation Q.L. (Qizong Lu) and H.Y.; formal analysis, Q.L. (Qizong Lu) and Y.Y.; investigation, Q.L. (Qizong Lu) and Y.Y.; resources, L.Y. and Y.Y.; data curation, Q.L. (Qizong Lu) and H.Y.; writing—original draft administration, Q.L. (Qinghua Lai); writing—review and editing, L.Y. and H.Y.; visualization, Q.L. (Qinghua Lai) and H.Y.; supervision, H.Y. and Y.Y.; project administration, L.Y. and J.Z.; funding acquisition, L.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China (No. 62371144).

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request. If you need data, please contact qizong.lu@gmail.com.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Ali, H.; Abbas, A.; Rehman, A. Alternate bearing in fruit plants. Biol. Agric. Sci. Res. J. 2022, 1, 2. [Google Scholar] [CrossRef] [Scilit]
  2. Agustí, M.; Reig, C.; Martínez-Fuentes, A.; Mesejo, C. Advances in citrus flowering: A review. Front. Plant Sci. 2022, 13, 868831. [Google Scholar] [CrossRef] [Scilit]
  3. Choi, D.; Lee, W.S.; Ehsani, R.; Schueller, J.K.; Roka, F. Machine vision system for early yield estimation of citrus in a site-specific manner. In Proceedings of the 2015 ASABE Annual International Meeting; American Society of Agricultural and Biological Engineers: St. Joseph, MI, USA, 2015; p. 1. [Google Scholar]
  4. Storm, H.; Seidel, S.J.; Klingbeil, L.; Ewert, F.; Vereecken, H.; Amelung, W.; Behnke, S.; Bennewitz, M.; Börner, J.; Döring, T.; et al. Research priorities to leverage smart digital technologies for sustainable crop production. Eur. J. Agron. 2024, 156, 127178. [Google Scholar] [CrossRef] [Scilit]
  5. Cesco, S.; Sambo, P.; Borin, M.; Basso, B.; Orzes, G.; Mazzetto, F. Smart agriculture and digital twins: Applications and challenges in a vision of sustainability. Eur. J. Agron. 2023, 146, 126809. [Google Scholar] [CrossRef] [Scilit]
  6. Annamalai, P.; Lee, W.S.; Burks, T.F. Color vision system for estimating citrus yield in real-time. In Proceedings of the 2004 ASAE Annual Meeting; American Society of Agricultural and Biological Engineers: St. Joseph, MI, USA, 2004; p. 1. [Google Scholar] [CrossRef] [Scilit]
  7. Apolo-Apolo, O.E.; Martínez-Guanter, J.; Egea, G.; Raja, P.; Pérez-Ruiz, M. Deep learning techniques for estimation of the yield and size of citrus fruits using a UAV. Eur. J. Agron. 2020, 115, 126030. [Google Scholar] [CrossRef] [Scilit]
  8. Zhu, Y.; Liu, F.; Zhao, Y.; Gu, Q.; Zhang, X. Citrus yield estimation for individual trees integrating pruning intensity and image views. Eur. J. Agron. 2024, 161, 127349. [Google Scholar] [CrossRef] [Scilit]
  9. Rahim, U.F.; Utsumi, T.; Mineno, H. Comparison of grape flower counting using patch-based instance segmentation and density-based estimation with convolutional neural networks. In Proceedings of the International Symposium on Artificial Intelligence and Robotics 2021; SPIE: Bellingham, WA, USA, 2021; Volume 11884, pp. 412–423. [Google Scholar] [CrossRef] [Scilit]
  10. Palacios, F.; Bueno, G.; Salido, J.; Diago, M.P.; Hernández, I.; Tardaguila, J. Automated grapevine flower detection and quantification method based on computer vision and deep learning from on-the-go imaging using a mobile sensing platform under field conditions. Comput. Electron. Agric. 2020, 178, 105796. [Google Scholar] [CrossRef] [Scilit]
  11. Zhou, C.; Zhu, Y.; Zhang, J.; Ding, Z.; Jiang, W.; Zhang, K. The tea buds detection and yield estimation method based on optimized YOLOv8. Sci. Hortic. 2024, 338, 113730. [Google Scholar] [CrossRef] [Scilit]
  12. 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]
  13. Gai, R.; Liu, Y.; Xu, G. TL-YOLOv8: A blueberry fruit detection algorithm based on improved YOLOv8 and transfer learning. IEEE Access 2024, 12, 86378–86390. [Google Scholar] [CrossRef] [Scilit]
  14. Liu, Q.; Lv, J.; Zhang, C. MAE-YOLOv8-based small object detection of green crisp plum in real complex orchard environments. Comput. Electron. Agric. 2024, 226, 109458. [Google Scholar] [CrossRef] [Scilit]
  15. Chen, D.; Lin, F.; Lu, C.; Zhuang, J.; Su, H.; Zhang, D.; He, J. YOLOv8-MDN-Tiny: A lightweight model for multi-scale disease detection of postharvest golden passion fruit. Postharvest Biol. Technol. 2025, 219, 113281. [Google Scholar] [CrossRef] [Scilit]
  16. Lu, D.; Ye, J.; Wang, Y.; Yu, Z. Plant detection and counting: Enhancing precision agriculture in UAV and general scenes. IEEE Access 2023, 11, 116196–116205. [Google Scholar] [CrossRef] [Scilit]
  17. Dutta, S.K.; Gurung, G.; Yadav, A.; Laha, R.; Mishra, V.K. Factors associated with citrus fruit abscission and management strategies developed so far: A review. N. Z. J. Crop Hortic. Sci. 2023, 51, 467–488. [Google Scholar] [CrossRef] [Scilit]
  18. Chen, C.; Liu, M.Y.; Tuzel, O.; Xiao, J. R-CNN for small object detection. In Proceedings of the Computer Vision–ACCV 2016: 13th Asian Conference on Computer Vision, Taipei, Taiwan, 20–24 November 2016, Revised Selected Papers, Part V 13; Springer: Berlin/Heidelberg, Germany, 2017; pp. 214–230. [Google Scholar]
  19. Wang, C.Y.; Liao, H.Y.M.; Wu, Y.H.; Chen, P.Y.; Hsieh, J.W.; Yeh, I.H. CSPNet: A new backbone that can enhance learning capability of CNN. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops; IEEE: Piscataway, NJ, USA, 2020; pp. 390–391. [Google Scholar]
  20. Liu, S.; Qi, L.; Qin, H.; Shi, J.; Jia, J. Path aggregation network for instance segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2018; pp. 8759–8768. [Google Scholar]
  21. Liu, S.; Huang, D. Receptive field block net for accurate and fast object detection. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; pp. 385–400. [Google Scholar]
  22. Tao, R.; Wei, Y.; Jiang, X.; Li, H.; Qin, H.; Wang, J.; Ma, Y.; Zhang, L.; Liu, X. Towards real-world X-ray security inspection: A high-quality benchmark and lateral inhibition module for prohibited items detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision; IEEE: Piscataway, NJ, USA, 2021; pp. 10923–10932. [Google Scholar]
  23. Zhang, Y.; Ye, M.; Zhu, G.; Liu, Y.; Guo, P.; Yan, J. FFCA-YOLO for small object detection in remote sensing images. IEEE Trans. Geosci. Remote Sens. 2024, 62, 1–15. [Google Scholar] [CrossRef] [Scilit]
  24. Guan, J.; Qian, W.; Zhu, T.; Fang, X. Promoting camouflaged object detection through novel edge–target interaction and frequency-spatial fusion. Neurocomputing 2025, 617, 129064. [Google Scholar] [CrossRef] [Scilit]
  25. Zhou, M.; Huang, J.; Guo, C.L.; Li, C. Fourmer: An efficient global modeling paradigm for image restoration. In Proceedings of the International Conference on Machine Learning; PMLR: Cambridge, MA, USA, 2023; pp. 42589–42601. [Google Scholar]
  26. Cong, R.; Sun, M.; Zhang, S.; Zhou, X.; Zhang, W.; Zhao, Y. Frequency perception network for camouflaged object detection. In Proceedings of the 31st ACM International Conference on Multimedia, Ottawa, ON, Canada, 29 October–3 November 2023; pp. 1179–1189. [Google Scholar]
  27. Zhang, Y.; Lu, Y.; Yan, Y.; Wang, H.; Li, X. Frequency domain nuances mining for visible-infrared person re-identification. arXiv 2024, arXiv:2401.02162. [Google Scholar] [CrossRef] [Scilit]
  28. Sunkara, R.; Luo, T. No more strided convolutions or pooling: A new CNN building block for low-resolution images and small objects. In Proceedings of the Joint European Conference on Machine Learning and Knowledge Discovery in Databases; Springer: Berlin/Heidelberg, Germany, 2022; pp. 443–459. [Google Scholar]
  29. Wang, C.; He, W.; Nie, Y.; Guo, J.; Liu, C.; Wang, Y.; Han, K. Gold-YOLO: Efficient object detector via gather-and-distribute mechanism. Adv. Neural Inf. Process. Syst. 2023, 36, 51094–51112. [Google Scholar]
  30. Yang, G.; Lei, J.; Zhu, Z.; Cheng, S.; Feng, Z.; Liang, R. AFPN: Asymptotic feature pyramid network for object detection. In Proceedings of the 2023 IEEE International Conference on Systems, Man, and Cybernetics (SMC); IEEE: Piscataway, NJ, USA, 2023; pp. 2184–2189. [Google Scholar]
  31. Jiang, Y.; Tan, Z.; Wang, J.; Sun, X.; Lin, M.; Li, H. GiraffeDet: A heavy-neck paradigm for object detection. arXiv 2022, arXiv:2202.04256. [Google Scholar]
  32. Wang, Q.; Wu, B.; Zhu, P.; Li, P.; Zuo, W.; Hu, Q. ECA-Net: Efficient channel attention for deep convolutional neural networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2020; pp. 11534–11542. [Google Scholar]
  33. Hu, J.; Shen, L.; Sun, G. Squeeze-and-excitation networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2018; pp. 7132–7141. [Google Scholar]
  34. Selvaraju, R.R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-cam: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE International Conference on Computer Vision; IEEE: Piscataway, NJ, USA, 2017; pp. 618–626. [Google Scholar]
  35. Ren, S.; He, K.; Girshick, R.; Sun, J. Faster r-cnn: Towards real-time object detection with region proposal networks. Adv. Neural Inf. Process. Syst. 2015, 28, 91–99. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  36. He, K.; Gkioxari, G.; Dollár, P.; Girshick, R. Mask r-cnn. In Proceedings of the IEEE International Conference on Computer Vision; IEEE: Piscataway, NJ, USA, 2017; pp. 2961–2969. [Google Scholar]
  37. Cai, Z.; Vasconcelos, N. Cascade r-cnn: Delving into high quality object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2018; pp. 6154–6162. [Google Scholar]
  38. Zhu, X.; Su, W.; Lu, L.; Li, B.; Wang, X.; Dai, J. Deformable detr: Deformable transformers for end-to-end object detection. arXiv 2020, arXiv:2010.04159. [Google Scholar] [CrossRef] [Scilit]
  39. Zhang, H.; Li, F.; Liu, S.; Zhang, L.; Su, H.; Zhu, J.; Ni, L.M.; Shum, H.Y. Dino: Detr with improved denoising anchor boxes for end-to-end object detection. arXiv 2022, arXiv:2203.03605. [Google Scholar] [CrossRef] [Scilit]
  40. Zhang, S.; Chi, C.; Yao, Y.; Lei, Z.; Li, S.Z. Bridging the gap between anchor-based and anchor-free detection via adaptive training sample selection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2020; pp. 9759–9768. [Google Scholar]
  41. Li, C.; Li, L.; Jiang, H.; Weng, K.; Geng, Y.; Li, L.; Ke, Z.; Li, Q.; Cheng, M.; Nie, W.; et al. YOLOv6: A single-stage object detection framework for industrial applications. arXiv 2022, arXiv:2209.02976. [Google Scholar] [CrossRef] [Scilit]
  42. Wang, C.Y.; Bochkovskiy, A.; Liao, H.Y.M. YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2023; pp. 7464–7475. [Google Scholar]
  43. Tian, Y.; Ye, Q.; Doermann, D. Yolov12: Attention-centric real-time object detectors. arXiv 2025, arXiv:2502.12524. [Google Scholar] [CrossRef] [Scilit]
  44. Liu, Z.; An, P.; Yang, Y.; Qiu, S.; Liu, Q.; Xu, X. Vision-based drone detection in complex environments: A survey. Drones 2024, 8, 643. [Google Scholar] [CrossRef] [Scilit]
  45. Cai, F.; Qu, Z.; Xia, S.; Wang, S. A method of object detection with attention mechanism and C2f_DCNv2 for complex traffic scenes. Expert Syst. Appl. 2025, 267, 126141. [Google Scholar] [CrossRef] [Scilit]
  46. Wan, X.; Li, W.; Gao, G.; Lu, H.; Yang, J.; Lin, C.W. Attention-guided multiscale interaction network for face super-resolution. IEEE Trans. Syst. Man Cybern. Syst. 2025, 55, 8638–8650. [Google Scholar] [CrossRef] [Scilit]
  47. Yu, X.; Liu, S.; Wang, C.; Jiao, B.; Huang, C.; Liu, B.; Liu, C.; Yin, L.; Wan, F.; Qian, W.; et al. Detection of fungal disease in citrus fruit based on hyperspectral imaging. Inf. Process. Agric. 2025, 12, 456–465. [Google Scholar] [CrossRef] [Scilit]
  48. Ma, N.; Sun, Y.; Li, C.; Liu, Z.; Song, H. AHG-YOLO: Multi-category detection for occluded pear fruits in complex orchard scenes. Front. Plant Sci. 2025, 16, 1580325. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Data collection for citrus bud detection: (a) Geographic location map of the experimental orchard ( 22.30 ° N, 106.58 ° E, WGS84) and its aerial view of the citrus orchard; (b) Image acquisition equipment and high-resolution image of a single citrus tree; (c) Manual annotation example of citrus bud datasets.
Figure 1. Data collection for citrus bud detection: (a) Geographic location map of the experimental orchard ( 22.30 ° N, 106.58 ° E, WGS84) and its aerial view of the citrus orchard; (b) Image acquisition equipment and high-resolution image of a single citrus tree; (c) Manual annotation example of citrus bud datasets.
Horticulturae 12 00459 g001
Figure 2. Distribution of bounding box dimensions (width and height, in pixels) for citrus buds in the dataset, with corresponding marginal histograms (top and right panels) showing the frequency of each dimension. The red dashed line represents the 0.08% area boundary, and the green dashed line represents the 0.58% area boundary, defining the small object region (shaded in pink) according to the adopted classification criteria. The data are derived from a total of 967 citrus bud images, with each point representing the bounding box of an individual bud.
Figure 2. Distribution of bounding box dimensions (width and height, in pixels) for citrus buds in the dataset, with corresponding marginal histograms (top and right panels) showing the frequency of each dimension. The red dashed line represents the 0.08% area boundary, and the green dashed line represents the 0.58% area boundary, defining the small object region (shaded in pink) according to the adopted classification criteria. The data are derived from a total of 967 citrus bud images, with each point representing the bounding box of an individual bud.
Horticulturae 12 00459 g002
Figure 3. The structure of the CFADet model. First, SPDConv is used to reconstruct the backbone. Second, in the feature fusion process, DPF and the shallow layer are introduced to preserve as much small target information as possible. In addition, CBEM is designed to further strengthen the information of small buds. Finally, FAM is designed to suppress background noise before the detection head. Here, C2f (CSP with 2 convolutional branches) refers to a lightweight residual bottleneck module (adopted from YOLOv8), which is built upon the classic CSP (Cross Stage Partial) structure [19] to efficiently fuse multi-scale features in each network stage.
Figure 3. The structure of the CFADet model. First, SPDConv is used to reconstruct the backbone. Second, in the feature fusion process, DPF and the shallow layer are introduced to preserve as much small target information as possible. In addition, CBEM is designed to further strengthen the information of small buds. Finally, FAM is designed to suppress background noise before the detection head. Here, C2f (CSP with 2 convolutional branches) refers to a lightweight residual bottleneck module (adopted from YOLOv8), which is built upon the classic CSP (Cross Stage Partial) structure [19] to efficiently fuse multi-scale features in each network stage.
Horticulturae 12 00459 g003
Figure 4. Structure comparison between the original Path Aggregation Network (PAN) and the proposed enhanced feature fusion network (EFF). (a) The original PAN structure. (b) The proposed EFF structure, which incorporates an additional shallow layer ( P 2 ), skip connections from C 2 to C 4 , and replaces the original concatenation (Concat) with the designed dual-path fusion (DPF) module. The symbol “*” denotes element-wise multiplication with the corresponding weights.
Figure 4. Structure comparison between the original Path Aggregation Network (PAN) and the proposed enhanced feature fusion network (EFF). (a) The original PAN structure. (b) The proposed EFF structure, which incorporates an additional shallow layer ( P 2 ), skip connections from C 2 to C 4 , and replaces the original concatenation (Concat) with the designed dual-path fusion (DPF) module. The symbol “*” denotes element-wise multiplication with the corresponding weights.
Horticulturae 12 00459 g004
Figure 5. The structure of the contextual boundary enhancement module (CBEM). It first rotates input X 1 to form F 1 (no rotation), F 2 (spatial-channel rotated), and F 3 (cross-dimension rotated). Branches use asymmetric convolutions ( 1   ×   3 , 3   ×   1 ) for directional feature capture, dilated convolutions to expand receptive fields, and multi-directional boundary enhancement (left/right/up/down) to refine edges. Finally, features are fused into X 3 , integrating contextual and boundary information for small citrus bud detection.
Figure 5. The structure of the contextual boundary enhancement module (CBEM). It first rotates input X 1 to form F 1 (no rotation), F 2 (spatial-channel rotated), and F 3 (cross-dimension rotated). Branches use asymmetric convolutions ( 1   ×   3 , 3   ×   1 ) for directional feature capture, dilated convolutions to expand receptive fields, and multi-directional boundary enhancement (left/right/up/down) to refine edges. Finally, features are fused into X 3 , integrating contextual and boundary information for small citrus bud detection.
Horticulturae 12 00459 g005
Figure 6. The structure of the FAM. The input F in is first transformed into the frequency domain F p via FFT and split into amplitude F amp and phase P. Three amplitude-modification strategies are integrated: (a) a high-pass filter (via distance-based normalization) to suppress low frequencies, (b) channel attention (with multi-kernel DW convolutions, global pooling, FC layers, and exponential normalization) to enhance high-frequency components; and (c) a low-frequency mask (via radius-based thresholding) to smooth background. After amplitude adjustment ( F amp ), F p is reconstructed (with P) and converted back to the spatial domain via inverse fast Fourier transform (IFFT). Finally, the spatial and frequency-enhanced features fuse to form the output F out , enabling background suppression in scenarios involving occluded citrus buds with similar features.
Figure 6. The structure of the FAM. The input F in is first transformed into the frequency domain F p via FFT and split into amplitude F amp and phase P. Three amplitude-modification strategies are integrated: (a) a high-pass filter (via distance-based normalization) to suppress low frequencies, (b) channel attention (with multi-kernel DW convolutions, global pooling, FC layers, and exponential normalization) to enhance high-frequency components; and (c) a low-frequency mask (via radius-based thresholding) to smooth background. After amplitude adjustment ( F amp ), F p is reconstructed (with P) and converted back to the spatial domain via inverse fast Fourier transform (IFFT). Finally, the spatial and frequency-enhanced features fuse to form the output F out , enabling background suppression in scenarios involving occluded citrus buds with similar features.
Horticulturae 12 00459 g006
Figure 7. The structure of the reconstructed backbone with SPDConv.
Figure 7. The structure of the reconstructed backbone with SPDConv.
Horticulturae 12 00459 g007
Figure 8. Detection results before and after embedding CBEM under small and overlapping scenes. Red bounding boxes indicate the model’s detection results, and yellow circles mark missed citrus buds.
Figure 8. Detection results before and after embedding CBEM under small and overlapping scenes. Red bounding boxes indicate the model’s detection results, and yellow circles mark missed citrus buds.
Horticulturae 12 00459 g008
Figure 9. Grad-CAM heatmaps of SE, ECA, SCAM, and FAM.
Figure 9. Grad-CAM heatmaps of SE, ECA, SCAM, and FAM.
Horticulturae 12 00459 g009
Table 1. Comparison experiments of different frequency-domain enhancement strategies.
Table 1. Comparison experiments of different frequency-domain enhancement strategies.
MethodP (%)R (%)F1 (%)mAP (%)
A M 1 78.680.379.486.2
A M 2 80.179.379.786.8
A M 3 79.778.979.286.5
Table 2. Comparison of our enhanced feature fusion network with other neck networks. Bold indicate the best results in each column.
Table 2. Comparison of our enhanced feature fusion network with other neck networks. Bold indicate the best results in each column.
NeckHeadFusion MethodP (%)R (%)mAP (%)Params (M)
PAN (baseline)P3,P4,P5Concat76.573.779.93.0
Gold-YOLO [29]P3,P4,P5Gather and distribute77.772.579.78.0
AFPN [30]P2,P3,P4,P5Adaptive spatial fusion76.175.682.31.5
GFPN [31]P2,P3,P4,P5Concat77.276.883.62.3
OursP2,P3,P4,P5Dual-path fusion79.577.384.53.0
Table 3. Results of ablation experiments using the improved YOLOv8n. Bold indicate the best results in each column.
Table 3. Results of ablation experiments using the improved YOLOv8n. Bold indicate the best results in each column.
MethodSPDConvCBEMFAMP (%)R (%)mAP (%)F1 (%)Params (M)
YOLOv8n×××76.573.779.9753.0
SFENet×××79.577.384.578.43.0
××79.078.985.278.92.7
××80.679.386.680.03.1
××78.779.085.878.83.1
×81.079.587.080.22.8
×80.880.187.180.43.2
×79.279.086.179.12.9
81.180.987.881.02.8
Note: Table 3 compares the detection results for the complete test set, where ✓ represents using the module and × represents not using the module.
Table 4. Comparison experiments of different feature enhancement strategies. Bold indicate the best results in each column.
Table 4. Comparison experiments of different feature enhancement strategies. Bold indicate the best results in each column.
MethodP (%)R (%)F1 (%)mAP (%)Params (M)
RFB82.276.979.585.73.1
RFBs80.977.379.185.03.1
CBEM80.679.380.086.63.1
Table 5. Comparison experiments for FAM. Bold indicate the best results in each column.
Table 5. Comparison experiments for FAM. Bold indicate the best results in each column.
Test SetMethodP (%)R (%)mAP (%)F1 (%)GFLOPs (G)
ASCAM79.781.387.280.523.6
SE82.781.388.082.023.1
ECA81.681.488.481.523.3
FAM79.983.688.881.723.1
BSCAM81.876.686.379.123.6
SE81.677.386.679.423.1
ECA82.776.386.579.423.3
FAM79.979.786.879.823.1
A + BSCAM81.379.187.080.223.6
SE82.879.087.580.923.1
ECA82.678.487.580.423.3
FAM81.180.987.881.023.1
Table 6. Comparison of different object detection models. Bold indicate the best results in each column.
Table 6. Comparison of different object detection models. Bold indicate the best results in each column.
Detection TypeModelP (%)R (%)F1 (%)mAP (%)Model Size (MB)Params (M)
two-stageCascade RCNN81.171.075.780.7265.069.1
Faster RCNN78.071.074.379.3159.041.4
Mask RCNN83.766.073.878.016944.0
one-stageYOLOv5n77.673.175.379.55.32.5
YOLOv5s80.174.677.382.418.69.1
YOLOv6n77.871.074.278.28.74.2
YOLOv6s76.973.975.479.632.916.3
YOLOv7-tiny75.567.571.374.147.06.0
YOLOv8n76.573.775.179.96.03.0
YOLOv8s78.575.877.182.322.611.1
YOLOv9s79.675.677.581.815.37.1
YOLOv10n75.869.472.576.85.82.7
YOLOv10s79.671.975.680.816.68.0
YOLOv11n77.972.875.379.85.52.6
YOLOv11s81.275.178.082.119.09.4
YOLOv12n76.070.473.277.55.32.5
YOLOv12s78.874.876.881.919.09.2
YOLO26n72.368.770.574.35.22.3
YOLO26s75.370.973.178.120.09.4
Deformable DETR65.858.862.162.5160.040.1
Dino68.764.666.670.5184.047.5
ATSS69.260.064.365.9147.032.1
CFADet (Ours)81.180.981.087.86.32.8
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.

Share and Cite

MDPI and ACS Style

Lu, Q.; Yang, L.; Yang, H.; Yuan, Y.; Lai, Q.; Zhang, J. CFADet: A Contextual and Frequency-Aware Detector for Citrus Buds in Complex Orchards Enabling Early Yield Estimation. Horticulturae 2026, 12, 459. https://doi.org/10.3390/horticulturae12040459

AMA Style

Lu Q, Yang L, Yang H, Yuan Y, Lai Q, Zhang J. CFADet: A Contextual and Frequency-Aware Detector for Citrus Buds in Complex Orchards Enabling Early Yield Estimation. Horticulturae. 2026; 12(4):459. https://doi.org/10.3390/horticulturae12040459

Chicago/Turabian Style

Lu, Qizong, Lina Yang, Haoyan Yang, Yujian Yuan, Qinghua Lai, and Jisen Zhang. 2026. "CFADet: A Contextual and Frequency-Aware Detector for Citrus Buds in Complex Orchards Enabling Early Yield Estimation" Horticulturae 12, no. 4: 459. https://doi.org/10.3390/horticulturae12040459

APA Style

Lu, Q., Yang, L., Yang, H., Yuan, Y., Lai, Q., & Zhang, J. (2026). CFADet: A Contextual and Frequency-Aware Detector for Citrus Buds in Complex Orchards Enabling Early Yield Estimation. Horticulturae, 12(4), 459. https://doi.org/10.3390/horticulturae12040459

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop