Early Bruise Detection in Apple Based on an Improved Faster RCNN Model
Open Access
- 20 January 2024
- journal article
- research article
- Published by MDPI AG in Horticulturae
- Vol. 10 (1) , 100
Abstract
Bruising is a common occurrence in apples that can lead to gradual fruit decay and substantial economic losses. Due to the lack of visible external features, the detection of early-stage bruising (occurring within 0.5 h) is difficult. Moreover, the identification of stems and calyxes is also important. Here, we studied the use of the short-wave infrared (SWIR) camera and the Faster RCNN model to enable the identification of bruises on apples. To evaluate the effectiveness of early bruise detection by SWIR bands compared to the visible/near-infrared (Vis/NIR) bands, a hybrid dataset with images from two cameras with different bands was used for validation. To improve the accuracy of the model in detecting apple bruises, calyxes, and stems, several improvements are implemented. Firstly, the Feature Pyramid Network (FPN) structure was integrated into the ResNet50 feature extraction network. Additionally, the Normalization-based Attention Module (NAM) was incorporated into the residual network, serving to bolster the attention of model towards detection targets while effectively mitigating the impact of irrelevant features. To reduce false positives and negatives, the Intersection over Union (IoU) metric was replaced with the Complete-IoU (CIoU). Comparison of the detection performance of the Faster RCNN model, YOLOv4P model, YOLOv5s model, and the improved Faster RCNN model, showed that the improved model had the best evaluation indicators. It achieved a mean Average Precision (mAP) of 97.4% and F1 score of 0.87. The results of research indicate that it is possible to accurately and effectively identify early bruises, calyxes, and stems on apples using SWIR cameras and deep learning models. This provides new ideas for real-time online sorting of apples for the presence of bruises.Keywords
Funding Information
- National Natural Science Foundation of China (62341503, SS2021C005, GZ20220121, 2022ZX03A06, UNPYSCT-2018012, 2022-KYYWF-1048)
- Natural Science Foundation of Heilongjiang Province (62341503, SS2021C005, GZ20220121, 2022ZX03A06, UNPYSCT-2018012, 2022-KYYWF-1048)
- Key Research and Development Program of Heilongjiang (62341503, SS2021C005, GZ20220121, 2022ZX03A06, UNPYSCT-2018012, 2022-KYYWF-1048)
- University Nursing Program for Young Scholar with Creative Talents in Heilongjiang Province (62341503, SS2021C005, GZ20220121, 2022ZX03A06, UNPYSCT-2018012, 2022-KYYWF-1048)
- Fundamental Research Funds for the Heilongjiang Provincial Universities (62341503, SS2021C005, GZ20220121, 2022ZX03A06, UNPYSCT-2018012, 2022-KYYWF-1048)
This publication has 44 references indexed in Scilit:
- Non-destructive detection of blackspot in potatoes by Vis-NIR and SWIR hyperspectral imagingFood Control, 2016
- Near-infrared spectroscopy for detection of hailstorm damage on olive fruitPostharvest Biology and Technology, 2016
- Predicting bruise susceptibility of ‘Golden Delicious’ apples using hyperspectral scattering techniquePostharvest Biology and Technology, 2016
- Evaluation of image quality, radiation dose and diagnostic performance of dual-energy CT datasets in patients with hepatocellular carcinomaClinical Radiology, 2015
- Fast exploration and classification of large hyperspectral image datasets for early bruise detection on applesChemometrics and Intelligent Laboratory Systems, 2015
- Classification models of bruise and cultivar detection on the basis of hyperspectral imaging dataComputers and Electronics in Agriculture, 2014
- Bruise damage measurement and analysis of fresh horticultural produce—A reviewPostharvest Biology and Technology, 2014
- Supervised classification of bruised apples with respect to the time after bruising on the basis of hyperspectral imaging dataPostharvest Biology and Technology, 2013
- Application of MRI for tissue characterisation of ‘Braeburn’ applePostharvest Biology and Technology, 2013
- A real-time grading method of apples based on features extracted from defectsJournal of Food Engineering, 2004