用图像处理+深度学习判断水果新鲜度,实时准确率超90%
Predicting Fruit Quality with a Hybrid Machine Learning and Image Processing Approach
- 结合图像处理量化腐烂程度(0-100分制)与CNN二分类
- 融合模型使准确率达90%以上,支持实时应用
- 无需复杂计算,适合农业场景落地
水果腐烂是农业中的重大问题,造成显著经济损失。本研究提出一种融合图像处理与深度学习的混合方法,用于评估水果新鲜度。我们开发了一种图像处理算法,将腐烂程度量化为0(完全新鲜)至100(完全腐烂)的评分。同时,使用大规模水果图像数据集训练了一个卷积神经网络(CNN),实现新鲜/腐烂的二分类。两种方法的结果通过逻辑回归进行融合,以提升预测准确性。随后,该逻辑回归模型被用于使图像处理算法根据其输出百分比直接提供二分类结果,从而在实际应用中无需依赖CNN。所提方法无需高算力支持,实现了实时性能,并在苹果和橙子数据集上验证了超过90%的准确率。主要限制在于要求水果需位于白色或透明背景上,未来可引入先进分割模型实现自动背景去除。结果表明,简单图像处理与机器学习相结合,可在农业领域提供实用解决方案。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。