BlueberryNet: A Lightweight CNN for Real-Time Ripeness Detection in Automated Blueberry Processing Systems
Blueberries are valued for their flavor and health benefits, but inconsistent ripeness at harvest complicates post-harvest food processing such as sorting and quality control. To address this, we propose a lightweight convolutional neural network (CNN) to detect blueberry ripeness in complex field environments, supporting efficient and automated food processing workflows. To meet the low-power and low-resource demands of embedded systems used in smart processing lines, we introduce a Grouped Large Kernel Reparameterization (GLKRep) module. This design reduces computational cost while enhancing the model’s ability to recognize ripe blueberries under complex lighting and background conditions. We also propose a Unified Adaptive Multi-Scale Fusion (UMSF) detection head that adaptively integrates multi-scale features using a dynamic receptive field. This enables the model to detect blueberries of various sizes accurately, a common challenge in real-world harvests. During training, a Semantics-Aware IoU (SAIoU) loss function is used to improve the alignment between predicted and ground truth regions by emphasizing semantic consistency. The model achieves 98.1% accuracy with only 2.6M parameters, outperforming existing methods. Its high accuracy, compact size, and low computational load make it suitable for real-time deployment in embedded sorting and grading systems, bridging field detection and downstream food-processing tasks.
Authors
- Hongwei Zhao (ORCID: https://orcid.org/0000-0001-5235-0748)
- Xinwei Zhang (ORCID: https://orcid.org/0000-0003-4435-361X)
- Bojian Yu (ORCID: https://orcid.org/0009-0008-4812-1377)
Institutions
- Zhejiang Ocean University (CN)
- Institute of Software (CN)
- China University of Petroleum, East China (CN)
Publication Details
- Journal
- Processes
- Published
- 2025-08-10
- DOI
- https://doi.org/10.3390/pr13082518
- Citations
- 2
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 3.50
Funders
- Zhejiang Ocean University