GLCM-Based Feature Extraction and CNN Approach for Fruit Freshness Detection

Masurah Mohamad,Zalikha Zulkifli,Samsiah Ahmad,Mas Azza Abu Bakar
DOI: https://doi.org/10.1109/AiDAS63860.2024.10730167
2024-09-03
Abstract:The industry responsible for providing fresh fruits to the market plays a crucial role in ensuring the quality and safety of the produce. Classifying and grading the freshness of fruits is essential to maintain high standards. The presence of harmful bacteria in fruits poses a significant threat to the global agriculture sector. Recently, there has been an increased awareness of the vulnerability of fruits to various diseases, adding economic pressure on the agriculture sector worldwide. To address this issue, the proposed system employs a combination of image processing algorithms and deep learning models to analyze the visual characteristics of fruits and accurately determine their freshness. Addressing the challenges associated with subjective visual judgment and time-consuming manual inspection, the research introduces a methodology termed Machine Learning Life Cycle (MLLC), comprising six distinct phases from data gathering to the test model. Utilizing a carefully curated dataset sourced from Kaggle, featuring fresh and rotten apples, oranges, and bananas, the research involves training and classification process diagrams and algorithm implementation covering image pre-processing and Convolutional Neural Network (CNN) based model training. Evaluation metrics, including classification reports and confusion matrices, reveal assessed performance across fruits, with bananas demonstrating the highest accuracy which is 85%. The research aims to develop a web-based deep learning system for fruit freshness detection but has a limitation in optimal feature segmentation using the Gray-Level Co-occurrence Matrix (GLCM) for fruit freshness detection. Challenges include selecting relevant features across diverse fruit images, potential overfitting with deep convolutional layers, and balancing model complexity with data availability. Future works should explore advanced feature extraction techniques, mitigate overfitting risks, and enhance user interface inclusivity through continuous optimization informed by feedback and accessibility testing.
Computer Science,Agricultural and Food Sciences
What problem does this paper attempt to address?