AI News HubLIVE
Original source2 min read

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

A hybrid approach combining image processing and deep learning assesses fruit freshness. An algorithm quantifies spoilage (0-100), and a CNN performs binary classification. Logistic regression fuses both outputs, later enabling the image processing algorithm to classify without CNN. Achieved >90% accuracy on apples and oranges with real-time performance and low computational requirements. Limitation requires isolated fruit on white/transparent background.

SourcearXiv Computer VisionAuthor: Amir Reza Hashemi, Shahram Amiri

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

[Submitted on 24 Jun 2026]

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

View a PDF of the paper titled Predicting Fruit Quality with a Hybrid Machine Learning and Image Processing Approach, by Amir Reza Hashemi and 1 other authors

View PDF

Abstract: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.

Comments: 22 pages, 13 figures, 2 tables

Subjects:

Computer Vision and Pattern Recognition (cs.CV)

ACM classes: I.4.8; I.2.10; I.5.4; I.2.6

Cite as: arXiv:2606.26165 [cs.CV]

(or arXiv:2606.26165v1 [cs.CV] for this version)

https://doi.org/10.48550/arXiv.2606.26165

arXiv-issued DOI via DataCite

Journal reference: University of Michigan Undergraduate Research Journal 18: 20 (2026)

Related DOI:

https://doi.org/10.3998/umurj.9836

DOI(s) linking to related resources

Submission history

From: Amir Reza Hashemi [view email] [v1] Wed, 24 Jun 2026 07:16:14 UTC (5,006 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled Predicting Fruit Quality with a Hybrid Machine Learning and Image Processing Approach, by Amir Reza Hashemi and 1 other authors

View PDF

view license

Current browse context:

cs.CV

new | recent | 2026-06

Change to browse by:

cs

References & Citations

NASA ADS

Google Scholar

Semantic Scholar

Loading...

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)