Non-Destructive Quality Grading of Apples and Oranges using Hyperspectral Imaging and Machine Learning
Pakistan Journal of Scientific Research · 2025
DOI: 10.57041/jx5hhf82 ↗Kurz gefasst
Fachartikel in der Zeitschrift Pakistan Journal of Scientific Research, 2025. Verfasst von Muhammad Aqeel und 6 weiteren Autor:innen. Die Arbeit wurde bisher 1-mal zitiert (Crossref). Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).
Abstract (Originalsprache)
Hyperspectral Imaging (HSI) offers a powerful non-destructive technique for fruit quality evaluation by simultaneously capturing both spatial and spectral information. In this research, apples and oranges were analyzed using a 224-band visible–near-infrared (400–1000 nm) imaging system with a controlled illumination setup and a standardized region-of-interest (ROI) extraction protocol. To enhance signature quality, preprocessing methods such as Savitzky–Golay smoothing and median filtering were applied, effectively reducing noise while retaining meaningful spectral characteristics. The dataset comprised 34,394 spectra (224 bands each), including 19,595 fresh and 14,799 spoiled samples. Class balance was preserved during training and testing to avoid bias. Several supervised learning algorithms—k-nearest neighbours (KNN), support vector machines (SVM), random forests (RF), decision trees (DT), linear discriminant analysis (LDA), and logistic regression (LR)—were employed to classify fruit freshness both within individual species and across a four-class scenario (apple-fresh, apple-spoiled, orange-fresh, orange-spoiled). Model performance was assessed using accuracy, precision, recall, and the F1-score. The top-performing classifiers achieved nearly 99% accuracy with balanced error rates across all categories. These findings demonstrate that the integration of HSI with supervised machine learning (ML) provides a reliable and automated solution for grading apples and oranges. The approach is highly applicable to real-time sorting lines, supporting improved quality assurance, food safety, and waste reduction. Furthermore, the methodology is adaptable to other agricultural commodities and can be optimized for industrial deployment through band selection and lightweight models that reduce computational requirements while maintaining classification accuracy.
Zitieren
APA
Aqeel, M., Razi, M. A., Muhammad, S. A., Siddique, U., Sohaib, A., Ahmad, M., & Naeem, M. (2025). Non-Destructive Quality Grading of Apples and Oranges using Hyperspectral Imaging and Machine Learning. Pakistan Journal of Scientific Research. https://doi.org/10.57041/jx5hhf82
Vancouver
Aqeel M, Razi MA, Muhammad SA, Siddique U, Sohaib A, Ahmad M, et al. Non-Destructive Quality Grading of Apples and Oranges using Hyperspectral Imaging and Machine Learning. Pakistan Journal of Scientific Research. 2025. doi:10.57041/jx5hhf82
BibTeX
@article{Aqeel2025,
author = {Aqeel, Muhammad and Razi, Muhammad Allah and Muhammad, Syed Aun and Siddique, Umair and Sohaib, Ahmed and Ahmad, Musa and Naeem, Muhammad},
title = {Non-Destructive Quality Grading of Apples and Oranges using Hyperspectral Imaging and Machine Learning},
journal = {Pakistan Journal of Scientific Research},
year = {2025},
doi = {10.57041/jx5hhf82}
}
EUVIMED