arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.26165cs.CV
收藏

基于混合机器学习和图像处理方法的水果质量预测

Predicting Fruit Quality with a Hybrid Machine Learning and Image Processing Approach

Amir Reza Hashemi, Shahram Amiri

AI总结:

提出图像处理与CNN结合的方法,通过逻辑回归融合两者结果,实现水果新鲜度实时评估,准确率超90%。

摘要:

水果腐败是农业中的一个重要问题,导致巨大的经济损失。针对这一问题,我们的研究引入了一种结合图像处理和深度学习的混合方法来评估水果新鲜度。我们开发了一种图像处理算法,将腐败程度量化为从0(完全新鲜)到100(完全腐烂)的尺度。同时,我们使用大量水果图像数据集训练了一个卷积神经网络(CNN)进行二分类(新鲜或腐烂)。通过逻辑回归综合两种方法的结果,以提高新鲜度预测的准确性。随后,利用该逻辑回归模型使图像处理算法能够基于其百分比输出提供二分类,从而在实时应用中无需使用CNN。我们的方法不需要高计算资源,实现了实时性能,并在包含苹果和橙子的数据集上验证了超过90%的准确率。主要局限性在于要求水果被隔离在白色或透明背景上,这表明未来的改进可能包括使用先进的分割模型来自动去除背景。本研究的结果凸显了将简单图像处理技术与机器学习相结合以在农业领域提供实际解决方案的潜力。

英文摘要:

Fruit spoilage is a significant issue in agriculture, leading to substantial economic losses. Addressing this, our study introduces a hybrid approach combining image processing and deep learning to assess fruit freshness. We developed an image processing algorithm that quantifies spoilage on a scale from 0 (fully fresh) to 100 (fully rotten). Alongside, we trained a convolutional neural network (CNN) to perform binary classification (fresh or rotten) using a large dataset of fruit images. The outcomes of both methods were synthesized using logistic regression to enhance the accuracy of freshness predictions. Subsequently, this logistic regression model was utilized to enable the image processing algorithm to provide binary classification based on its percentage output, thus eliminating the need for the CNN in real-time applications. Our approach, which does not require high computational resources, achieved real-time performance and was validated with over 90% accuracy on a dataset comprising apples and oranges. The primary limitation lies in the requirement for fruits to be isolated on a background that must be either white or transparent, suggesting future improvements could include advanced segmentation models to automate background removal. This study's results highlight the potential of integrating simple image processing techniques with machine learning to provide practical solutions in the agricultural sector.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑