From Quality Grading to Defect Recognition: A Dual-Pipeline Deep Learning Approach for Automated Mango Assessment
Open Access
- 27 January 2026
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 15 (3) , 549
Abstract
Mango is a high-value agricultural commodity, and accurate and efficient appearance quality grading and defect inspection are critical for export-oriented markets. This study proposes a dual-pipeline deep learning framework for automated mango assessment, in which surface defect classification and quality grading are jointly implemented within a unified inspection system. For defect assessment, the task is formulated as a multi-label classification problem involving five surface defect categories, eliminating the need for costly bounding box annotations required by conventional object detection models. To address the severe class imbalance commonly encountered in agricultural datasets, a copy–paste-based image synthesis strategy is employed to augment scarce defect samples. For quality grading, mangoes are categorized into three quality levels. Unlike conventional CNN-based approaches relying solely on spatial-domain information, the proposed framework integrates decision-level fusion of spatial-domain and frequency-domain representations to enhance grading stability. In addition, image preprocessing is investigated, showing that adaptive contrast enhancement effectively emphasizes surface textures critical for quality discrimination. Experimental evaluations demonstrate that the proposed framework achieves superior performance in both defect classification and quality grading compared with existing detection-based approaches. The proposed classification-oriented system provides an efficient and practical integrated solution for automated mango assessment.Keywords
This publication has 23 references indexed in Scilit:
- Classifying Healthy and Defective Fruits with a Multi-Input Architecture and CNN Models2024
- Wavelet-Attention CNN for image classificationMultimedia Systems, 2022
- Simple Copy-Paste is a Strong Data Augmentation Method for Instance Segmentation2021
- Deep Learning for Automatic Quality Grading of Mangoes: Methods and Insights2020
- U2-Net: Going deeper with nested U-structure for salient object detectionPattern Recognition, 2020
- MobileNetV2: Inverted Residuals and Linear Bottlenecks2018
- Non-local Neural Networks2018
- Densely Connected Convolutional Networks2017
- Deep Residual Learning for Image Recognition2016
- You Only Look Once: Unified, Real-Time Object Detection2016