Detection of Kernel-Level Spoilage Adulteration in Dried Goji Berries Using Zero-Shot Learning and Computer Vision.
Ruobin Huang, Yuanning Zhai, Baiwei Sun, Osama Elsherbiny, Lei Zhou, Yiying Zhao
College of Mechanical and Electronic Engineering, Nanjing Forestry University, Nanjing 210037, China. · Agricultural Engineering Department, Faculty of Agriculture, Mansoura University, Mansoura 35516, Egypt.
Key points
From the paper's conclusion- The proposed framework reduces manual annotation requirements while enabling berry-level freshness classification and quantitative stale-berry proportion estimation, providing objective information for dried fruit quality screening and adulteration control.
Abstract
Hidden adulteration of stale berries in dried goji berry batches is difficult to detect by manual inspection or batch-level quality assessment. This study developed a high-throughput method for kernel-level spoilage adulteration quantification in dried goji berries. It addressed three practical challenges in the image processing of densely arranged dried-fruits, including scalable label generation for deep learning segmentation without pixel-level manual annotation, separation of densely touching small berries, and full-size quality level distribution map reconstruction. SAM-assisted pseudo-label generation combined with multi-scale image cropping was used to overcome the limitation of manual pixel-level annotation, while YOLO-based instance segmentation was further employed for efficient berry localization in dense scenes. The freshness labels of segmented single berries were assigned by a statistical RGB-HSV grading rule. Specifically, adaptive multi-scale image cropping for segmentation was applied to improve local separability of berries under dense adhesion and occlusion conditions. The crop-level segmentation and grading outputs were subsequently reconstructed into the original image coordinate system to generate complete quality distribution maps. Results showed that YOLO models trained based on the pseudo-labels achieved a precision of 0.953, a recall of 0.951, an mAP50 of 0.960, and an mAP50-95 of 0.846. The full-size grading map reconstruction method produced a mean duplicate-suppression rate of 4.31%. In the full freshness-grading test dataset, 4850 berries were detected, including 449 stale berries. The mean absolute counting error was 1.61%. The proposed framework reduces manual annotation requirements while enabling berry-level freshness classification and quantitative stale-berry proportion estimation, providing objective information for dried fruit quality screening and adulteration control.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Quality Grading of Dried Morels Based on Improved ResNet18 and Deeply Supervised LearningEngineering Research Express · 2026
- A Cross-Attention Spectral-Spatial Fusion Network for Geographical Origin Identification of Goji Berries (Lycium barbarum) Using Hyperspectral Imaging.Foods (Basel, Switzerland) · 2026
- Multi‐Model Fruit Quality Assessment With Coarse YOLOv11 Presence Filtering, Vision Transformers and the Segment Anything ModelApplied AI Letters · 2026
- MAG-YOLO: a lightweight multi-attribute model for simultaneous grape grading and picking-point localization in the selective-harvesting robotFrontiers in Plant Science · 2026
- Segmentation of dense overlapping Agaricus bisporus and harvest timing planning Using YOLOv8n-USD with KD-Tree nearest-neighbour searchInformation Processing in Agriculture · 2026
- Data-Partitioning Sensitivity and Within-Session Stage Transfer in Vision-Based Garlic Soil Residue Grading on a Soil-Removal Test BenchAgriculture · 2026