Lightweight Detection of Blueberries at Different Maturity Stages in Complex Orchard Environments

Accurate detection of blueberries at different maturity stages supports orchard monitoring and harvest planning, but remains difficult under complex field conditions because fruits are small, densely clustered, frequently occluded, and show subtle colour transitions across immature, colour-turning, and ripe stages. A key technical challenge for lightweight detectors is to preserve fine spatial information for small fruits while maintaining sufficient contextual representation for dense clusters and visually ambiguous maturity stages without substantially increasing inference complexity. To address this gap, this study develops a lightweight detection framework that jointly targets small-object perception, contextual feature enhancement, and training-stage semantic supervision. A field dataset containing 4680 images and 60,573 ground-truth bounding boxes was constructed. The P3/P4/P5 detection structure of YOLOv12n was redesigned as a P2/P3/P4 architecture to strengthen high-resolution feature representation for small objects. A lightweight feature-enhancement module based on single-head self-attention, termed SHSA2C2f, was introduced to improve contextual representation in dense fruit clusters and visually ambiguous maturity stages. DINOv3 (ViT-S/16)-guided asymmetric knowledge distillation was further evaluated as a training-only semantic supervision strategy that introduces no additional inference cost. Across three independent runs, the accuracy-oriented M4 model achieved 92.68 ± 0.04% [email protected] and 86.38 ± 0.10% [email protected]:0.95 with 0.79 M parameters, while its colour-turning AP50 reached 89.78 ± 0.28%. For the same student architecture, introducing the asymmetric distillation strategy increased recall from 85.00 ± 0.52% to 85.81 ± 1.12%, while slightly reducing [email protected]:0.95 from 86.38 ± 0.10% to 86.19 ± 0.17%, indicating a recall-oriented performance trade-off. After TensorRT FP16 conversion, M4 retained 92.75% [email protected] and 86.24% [email protected]:0.95 and ran at 15.9 FPS on a Jetson Orin Nano, supporting its feasibility for edge-device inference under the evaluated conditions.

Authors

Institutions

Publication Details

Journal
Agriculture
Published
2026-09-10
DOI
https://doi.org/10.3390/agriculture16181949
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Lightweight Detection of Blueberries at Different Maturity Stages in Complex Orchard Environments

Lutao Gao, Lilian Zhang, Chunhui Bai, Linnan Yang et al.
Agriculture
Smart Agriculture and AI
article

Lightweight Detection of Blueberries at Different Maturity Stages in Complex Orchard Environments

Lutao Gao, Lilian Zhang, Chunhui Bai, Linnan Yang, Zhongyue Fu, Aoyan Li
article en

Abstract

Accurate detection of blueberries at different maturity stages supports orchard monitoring and harvest planning, but remains difficult under complex field conditions because fruits are small, densely clustered, frequently occluded, and show subtle colour transitions across immature, colour-turning, and ripe stages. A key technical challenge for lightweight detectors is to preserve fine spatial information for small fruits while maintaining sufficient contextual representation for dense clusters and visually ambiguous maturity stages without substantially increasing inference complexity. To address this gap, this study develops a lightweight detection framework that jointly targets small-object perception, contextual feature enhancement, and training-stage semantic supervision. A field dataset containing 4680 images and 60,573 ground-truth bounding boxes was constructed. The P3/P4/P5 detection structure of YOLOv12n was redesigned as a P2/P3/P4 architecture to strengthen high-resolution feature representation for small objects. A lightweight feature-enhancement module based on single-head self-attention, termed SHSA2C2f, was introduced to improve contextual representation in dense fruit clusters and visually ambiguous maturity stages. DINOv3 (ViT-S/16)-guided asymmetric knowledge distillation was further evaluated as a training-only semantic supervision strategy that introduces no additional inference cost. Across three independent runs, the accuracy-oriented M4 model achieved 92.68 ± 0.04% [email protected] and 86.38 ± 0.10% [email protected]:0.95 with 0.79 M parameters, while its colour-turning AP50 reached 89.78 ± 0.28%. For the same student architecture, introducing the asymmetric distillation strategy increased recall from 85.00 ± 0.52% to 85.81 ± 1.12%, while slightly reducing [email protected]:0.95 from 86.38 ± 0.10% to 86.19 ± 0.17%, indicating a recall-oriented performance trade-off. After TensorRT FP16 conversion, M4 retained 92.75% [email protected] and 86.24% [email protected]:0.95 and ran at 15.9 FPS on a Jetson Orin Nano, supporting its feasibility for edge-device inference under the evaluated conditions.

AgricultureVol. 16(18)
Yunnan Agricultural University (CN)
Openalex Percentile: Top 13%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.