Automated Ripeness Detection of Oil Palm Fruit Using a Hybrid GLCM-HSV-KNN Model
DOI:
https://doi.org/10.29207/resti.v9i5.6683Keywords:
HSV, GLCM, KNN, image processing, oil palm fruit ripenessAbstract
Accurately determining the ripeness of oil palm fruit is crucial for ensuring the quality of palm oil. However, traditional manual methods are often time-consuming and less accurate. This study aimed to develop an automated system for detecting the ripeness of oil palm fruit by combining the Hue Saturation Value (HSV) model, Gray Level Co-occurrence Matrix (GLCM), and K-Nearest Neighbor (KNN) algorithms. This system utilizes K-Nearest Neighbors to classify the relationship between color features extracted using the HSV model and texture features derived from GLCM analysis to categorize fruit ripeness. The color features represent the fruit's chromatic characteristics associated with ripeness, while the texture features provide information regarding surface patterns related to ripeness. The color features represent the fruit's color characteristics associated with ripeness, whereas the texture features provide information about the surface patterns related to ripeness. The results indicate that the system can classify oil palm fruit into four distinct categories: Over-Ripe, Ripe, Half-Ripe, and Raw. The dataset was divided with an 80:20 ratio, where 80% was allocated for training data and the remaining 20% for test data. An accuracy rate of 85% was achieved. The results of this study demonstrate that the developed system effectively classifies oil palm fruit images based on ripeness levels. This system supports a sustainable automated palm oil production model through accurate ripeness detection, thereby reducing reliance on manual methods and enhancing consistency and productivity in palm oil processing. These findings indicate that the proposed hybrid method is feasible for integration into an automated classification system to support decision-making in oil palm harvesting
Downloads
References
J. Segarra et al., “Multiscale assessment of ground, aerial and satellite spectral data for monitoring wheat grain nitrogen content,” Information Processing in Agriculture, vol. 10, no. 4, pp. 504–522, Dec. 2023, doi: 10.1016/j.inpa.2022.05.004.
N. P. Sutrisna et al., “Deteksi Tingkat Kematangan Buah Pepaya menggunakan Model Convolutional Neural Network,” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 11, no. 3, pp. 569–578, Jul. 2024, doi: 10.25126/jtiik.938119.
L. M. Jawad, “A Novel Region of Interest for Selective Color Image Encryption Technique based on New Combination between GLCM Texture Features,” in 2021 National Computing Colleges Conference (NCCC), IEEE, Mar. 2021, pp. 1–6. doi: 10.1109/NCCC49330.2021.9428802.
Mohammad Yazdi Pusadan, Indah Safitri, and Wirdayanti, “The Image Extraction Using the HSV Method to Determine the Maturity Level of Palm Oil Fruit with the k-nearest Neighbor Algorithm,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 7, no. 6, pp. 1448–1456, Dec. 2023, doi: 10.29207/resti.v7i6.5558.
A. Putra, V. Sihombing, and M. H. Munandar, “Rancang Bangun Aplikasi Deteksi Tepi Citra Digital Menggunakan Algoritma Prewitt,” Jurnal Teknik Informasi dan Komputer (Tekinkom), vol. 4, no. 1, pp. 83–87, 2021, doi: 10.37600/tekinkom.v4i1.214.
B. Sugiarto, C. A. Sari, and M. Arief Soeleman, “KNN Algorithm Optimization in GLCM-Based Beef and Pork Image Classification,” in 2023 International Seminar on Application for Technology of Information and Communication (iSemantic), IEEE, Sep. 2023, pp. 141–146. doi: 10.1109/iSemantic59612.2023.10295331.
A. Pambudi, M. A. Rofiq, M. Anwar Sadat, M. Arief Soeleman, and R. Anggi P, “Knn Algorithm For Foodstuff Classification Using Hsv Color Space And Feature Extraction,” in 2022 International Seminar on Application for Technology of Information and Communication (iSemantic), IEEE, Sep. 2022, pp. 217–225. doi: 10.1109/iSemantic55962.2022.9920421.
Z. Y. Lamasigi, S. Serwin, and Y. Malago, “Identification of the Freshness Level of Tuna based on Discrete Cosine Transform on Feature Extraction of Gray Level Co-Occurrence Matrix using K-Nearest Neighbor,” ILKOM Jurnal Ilmiah, vol. 15, no. 1, pp. 153–164, Apr. 2023, doi: 10.33096/ilkom.v15i1.1426.153-164.
N. H. Jusoh, H. Yazid, S. N. Basah, and S. Abdul Rahim, “Detection of Pulmonary Nodule using Shape-Based Feature Descriptor and Neural Network,” J Phys Conf Ser, vol. 1372, no. 1, p. 012066, Nov. 2019, doi: 10.1088/1742-6596/1372/1/012066.
K. Elaiyaraja and M. Senthil Kumar, “Fusion Imaging in Pixel Level Image Processing Technique – A Literature Review,” International Journal of Engineering & Technology, vol. 7, no. 3.12, p. 175, Jul. 2018, doi: 10.14419/ijet.v7i3.12.15913.
M. Kaur, C. Thacker, L. Goswami, T. TR, I. S. Abdulrahman, and A. S. Raj, “Alzheimer’s Disease Detection using Weighted KNN Classifier in Comparison with Medium KNN Classifier with Improved Accuracy,” in 2023 3rd International Conference on Advance Computing and Innovative Technologies in Engineering (ICACITE), IEEE, May 2023, pp. 715–718. doi: 10.1109/ICACITE57410.2023.10183208.
J. Zhang, Y. Li, F. Shen, Y. He, H. Tan, and Y. He, “Hierarchical text classification with multi-label contrastive learning and KNN,” Neurocomputing, vol. 577, 2024, doi: 10.1016/j.neucom.2024.127323.
M. Jumarlis et al., “A hybrid hue saturation lightness, gray level co-occurrence matrix, and k-nearest neighbour for palm-sugar classification,” IAES International Journal of Artificial Intelligence, vol. 13, no. 3, pp. 2934–2945, Sep. 2024, doi: 10.11591/ijai.v13.i3.pp2934-2945.
M. A. Aziz, P. Pujiono, M. A. Soeleman, and S. Rosidin, “Scabies Skin Classification Using SVM Method With GLCM Feature Extraction,” in 2023 International Seminar on Application for Technology of Information and Communication (iSemantic), IEEE, Sep. 2023, pp. 221–226. doi: 10.1109/iSemantic59612.2023.10295283.
S. S. Sumit, J. Watada, A. Roy, and D. Rambli, “In object detection deep learning methods, YOLO shows supremum to Mask R-CNN,” J Phys Conf Ser, vol. 1529, no. 4, p. 042086, Apr. 2020, doi: 10.1088/1742-6596/1529/4/042086.
A. G. Karegowda, V. D, and Y. Harshalatha, “Coconut Disease Detection using Traditional ML Classifiers with GLCM and SIFT Features,” in 2024 8th International Conference on Computational System and Information Technology for Sustainable Solutions (CSITSS), IEEE, Nov. 2024, pp. 1–6. doi: 10.1109/CSITSS64042.2024.10816784.
Z. Chen, Z. Song, T. Zhang, and Y. Wei, “IoT devices and data availability optimization by ANN and KNN,” 2024. doi: 10.1186/s13635-023-00145-0.
Mardison and Yuhandri, “Detection of Kidney Cysts of Kidney Ultrasound Image using Hybrid Method: KNN, GLCM, and ANN Backpropagation,” in 2023 International Conference on Computer Science, Information Technology and Engineering (ICCoSITE), IEEE, Feb. 2023, pp. 222–227. doi: 10.1109/ICCoSITE57641.2023.10127703.
N. Anwar et al., “Prediction system for quality-of-service level of network infrastructure using naive bayes classifier,” 2024, p. 030001. doi: 10.1063/5.0225195.
C. Y. Hu et al., “Alcohol patch test with hue-saturation-value model analysis predicts ALDH2 genetic polymorphism,” Comput Biol Med, vol. 147, 2022, doi: 10.1016/j.compbiomed.2022.105783.
F. M. Sarimole and A. Syaeful, “Classification of Durian Types Using Features Extraction Gray Level Co-Occurrence Matrix (GLCM) AND K-Nearest Neighbors (KNN),” Journal of Applied Engineering and Technological Science (JAETS), vol. 4, no. 1, pp. 111–121, Sep. 2022, doi: 10.37385/jaets.v4i1.959.
G. Prasad, V. S. Gaddale, R. C. Kamath, V. J. Shekaranaik, and S. P. Pai, “A Study of Dimensionality Reduction in GLCM Feature-Based Classification of Machined Surface Images,” Arab J Sci Eng, vol. 49, no. 2, 2024, doi: 10.1007/s13369-023-07854-1.
C. Liu et al., “Improvements to a GLCM-based machine-learning approach for quantifying posterior capsule opacification,” J Appl Clin Med Phys, vol. 25, no. 2, 2024, doi: 10.1002/acm2.14268.
F. E. Batool et al., “Offline signature verification system: a novel technique of fusion of GLCM and geometric features using SVM,” Multimed Tools Appl, vol. 83, no. 5, 2024, doi: 10.1007/s11042-020-08851-4.
L. He, X. Cheng, A. Jiwa, D. Li, J. Fang, and Z. Du, “Zanthoxylum bungeanum Fruit Detection by Adaptive Thresholds in HSV Space for an Automatic Picking System,” IEEE Sens J, vol. 23, no. 13, 2023, doi: 10.1109/JSEN.2023.3277042.
T. Putri Ananda, S. Viola Widyasari, M. Ihsan Muttaqin, and A. Stefanie, “Identifikasi Tingkat Kematangan Buah Pepaya Menggunakan Metode Convolutional Neural Network (Cnn),” Jati (Jurnal Mahasiswa Teknik Informatika), vol. 7, no. 3, pp. 2094–2097, Dec. 2023, doi: 10.36040/jati.v7i3.7137.
Q. Hu, M. Zhang, A. S. Mujumdar, G. Xiao, and S. Jin-cai, “Drying of edamames by hot air and vacuum microwave combination,” J Food Eng, vol. 77, no. 4, pp. 977–982, Dec. 2006, doi: 10.1016/j.jfoodeng.2005.08.025.
M. Faisal, M. Hasan, and K. C. Pelangi, “The Implementation of GLCM and ANN Methods to Identify Dragon Fruit Maturity Level,” ILKOM Jurnal Ilmiah, vol. 15, no. 1, pp. 64–71, Apr. 2023, doi: 10.33096/ilkom.v15i1.1504.64-71.
G. Ashour, A. Al-Dubai, and I. Romdhani, “Ontology-based Course Teacher Assignment within Universities,” International Journal of Advanced Computer Science and Applications, vol. 11, no. 7, 2020, doi: 10.14569/IJACSA.2020.0110787.
M. Jumarlis and Mirfan, “Detecting Diseases on Clove Leaves Using GLCM and Clustering K-Means,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 6, no. 4, 2022, doi: 10.29207/resti.v6i4.4033.
Downloads
Published
Issue
Section
License
Copyright in each article belongs to the author
- The author acknowledges that the RESTI Journal (System Engineering and Information Technology) is the first publisher to publish with a license Creative Commons Attribution 4.0 International License.
- Authors can enter writing separately, arrange the non-exclusive distribution of manuscripts that have been published in this journal into other versions (eg sent to the author's institutional repository, publication in a book, etc.), by acknowledging that the manuscript has been published for the first time in the RESTI (Rekayasa Sistem dan Teknologi Informasi) journal ;





