Apples are susceptible to postharvest bruises, leading to a shortened shelf life and significant waste. Therefore, accurate detection of apple bruises is crucial to mitigate food waste. This study proposed an improved lightweight network based on MobileViT for detecting early-stage bruises in apples, utilizing hyperspectral imaging technology from 397.66 to 1003.81 nm. After acquiring hyperspectral images, the Otsu threshold algorithm was employed for mask extraction, and principal component analysis was used for feature image extraction. Subsequently, the improved MobileViT network (iM-ViT) was implemented and compared with traditional algorithms, utilizing depthwise separable convolutions for parameter reduction and integrating local and global features to enhance bruise detection capability. The results demonstrated the superior performance of iM-ViT in accurately detecting apple bruises, showing significant improvements. The F1 score and test accuracy for detecting apple bruises using iM-ViT reached 0.99 and 99.07%, respectively. The fivefold cross-validation strategy was used to assess the stability and robustness of iM-ViT, and ablation experiments were performed to explore the effects of depthwise separable convolutions and local features on parameter reduction and classification accuracy improvement for early-stage bruise detection in apples. The results demonstrated that iM-ViT effectively reduced parameters and improved the ability to detect early bruises in apples. PRACTICAL APPLICATION: This study proposed an improved lightweight network to detect early bruises in apples, providing a reference for quick detection of bruises caused in the production process. Potential insights into the nondestructive detection of apple bruises using lightweight networks have been presented, which might be applied to mobile or online devices.

Download full-text PDF

Source
http://dx.doi.org/10.1111/1750-3841.17512DOI Listing

Publication Analysis

Top Keywords

bruises apples
16
apple bruises
16
early bruises
12
bruises
10
hyperspectral imaging
8
improved mobilevit
8
mobilevit network
8
detection apple
8
study proposed
8
proposed improved
8

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!