A comprehensive comparative analysis of chicken meat classification techniques through machine learning models

(1) * Siska Anraeni Mail (Universitas Muslim Indonesia, Indonesia)
(2) Harlinda Lahuddin Mail (Universitas Muslim Indonesia, Indonesia)
(3) Ramdaniah Ramdaniah Mail (Universitas Muslim Indonesia, Indonesia)
(4) Erika Riski Melani Mail (Universitas Muslim Indonesia, Indonesia)
(5) Andi Cici Amalia Mail (Universitas Muslim Indonesia, Indonesia)
(6) Tazkirah Amaliah Mail (Universitas Muslim Indonesia, Indonesia)
*corresponding author

Abstract


This study develops a digital image processing technique to distinguish between fresh and rotten chicken. Chicken freshness has a significant impact on public health and industry sustainability. This study uses a multi-stage approach including data acquisition, preprocessing, feature extraction, and classification. A total of 1,000 chicken images were obtained, consisting of 800 images for training and 200 images for testing, with a proportion of 80:20. Feature extraction was performed using a combination of the HSI (Hue, Saturation, Intensity) color model to capture the color characteristics of chicken and the Local Binary Pattern (LBP) to extract texture information. Classification was performed using the K-Nearest Neighbor (KNN) algorithm with various K values and distance metrics. The experimental results show that the combination of color and texture features provides higher accuracy than using either feature alone. The best model using HSI and LBP feature extraction with K = 1 and K = 3 in the Euclidean distance metric achieved the highest accuracy of 95.4%. With a promising level of accuracy, this method can be applied in automated inspections in the poultry supply chain, improving food safety and helping consumers make better purchasing decisions. However, the main challenge in this study is the variation in lighting during image capture, which causes the fresh and rotten chicken feature values to overlap, thus hindering perfect classification.

Keywords


Hue Saturation Intensity; Local Binary Pattern; K-Nearest Neighbor; Fresh Chicken; Rotten Chicken

   

DOI

https://doi.org/10.26555/ijain.v12i1.2014
      

Article metrics

Abstract views : 248 | PDF views : 92

   

Cite

   

Full Text

Download

References


[1] J. Peinado-Izaguerri et al., “Effect of an immune challenge and two feed supplements on broiler chicken individual breast muscle protein synthesis rate,” J. Proteomics, vol. 299, no. May, p. 105158, May 2024, doi: 10.1016/j.jprot.2024.105158.

[2] H. Nasri, H. van den Brand, T. Najjar, and M. Bouzouaia, “Interactions between egg storage duration and broiler breeder age on egg fat content, chicken organ weights, and growth performance,” Poult. Sci., vol. 99, no. 9, pp. 4607–4615, Sep. 2020, doi: 10.1016/j.psj.2020.06.010.

[3] P. M. Groff-Urayama et al., “Sources and levels of copper and manganese supplementation influence performance, carcass traits, meat quality, tissue mineral content, and ileal absorption of broiler chickens,” Poult. Sci., vol. 102, no. 2, p. 102330, Feb. 2023, doi: 10.1016/j.psj.2022.102330.

[4] K. G. Mlaga, K. Agboka, K. Attivi, K. Tona, and E. Osseyi, “Assessment of the chemical characteristics and nutritional quality of meat from broiler chicken fed black soldier fly (Hermetia illucens) larvae meal,” Heliyon, vol. 8, no. 11, p. e11718, Nov. 2022, doi: 10.1016/j.heliyon.2022.e11718.

[5] H. A. Neima, K. M. Hassan, K. Sirwan, and K. Hameed, “Trends in broiler chicken meat production and food security in the sulaymaniyah governorate,” Emirates J. Food Agric., vol. 35, no. 8, pp. 701–701, May 2023, doi: 10.9755/ejfa.2023.3125.

[6] T. M. Mokgophi, N. Gcebe, F. Fasina, K. Jambwa, and A. A. Adesiyun, “Prevalence, Serovars, and Factors Associated with Salmonella Contamination of Chicken Carcasses Sold in Outlets of the Informal Market in Gauteng Province, South Africa,” J. Food Prot., vol. 84, no. 6, pp. 991–999, Jun. 2021, doi: 10.4315/JFP-20-416.

[7] H.-J. Kim et al., “Mathematical modeling for freshness/spoilage of chicken breast using chemometric analysis,” Curr. Res. Food Sci., vol. 7, no. September, p. 100590, 2023, doi: 10.1016/j.crfs.2023.100590.

[8] J. Wang et al., “A systematic review and meta-analysis of the sources of Salmonella in poultry production (pre-harvest) and their relative contributions to the microbial risk of poultry meat,” Poult. Sci., vol. 102, no. 5, p. 102566, May 2023, doi: 10.1016/j.psj.2023.102566.

[9] L. Spalević et al., “A retrospective study on the isolated strains of Salmonella in poultry,” J. Hell. Vet. Med. Soc., vol. 74, no. 3, pp. 5893–5898, Oct. 2023, doi: 10.12681/jhvms.25005.

[10] T. Khalid et al., “Review of Quantitative Microbial Risk Assessment in Poultry Meat: The Central Position of Consumer Behavior,” Foods, vol. 9, no. 11, p. 1661, Nov. 2020, doi: 10.3390/foods9111661.

[11] S. Sutarman, D. Avianto, and A. P. Wibowo, “Vision-based chicken meat freshness recognition system using RGB color moment features and support vector machine,” Sci. Inf. Technol. Lett., vol. 4, no. 2, pp. 65–74, Nov. 2023, doi: 10.31763/sitech.v4i2.1230.

[12] S. R. Amao, S. O. Oyewumi, A. T. Adebimpe, and S. O. Oyewo, “Slaughter Performance, Meat Quality and Organoleptic Indices of Crossbred Progenies from Meat-Type Chicken and Nigerian Indigenous Chicken Breeds,” Asian J. Biol. Sci., vol. 17, no. 3, pp. 314–323, Sep. 2024, doi: 10.3923/ajbs.2024.314.323.

[13] T. G. Rinwi, D.-W. Sun, J. Ma, and Q.-J. Wang, “Underlying mechanisms and molecular interactions of isochoric freezing on enhancing the freshness of chicken breast meat,” LWT, vol. 187, no. September, p. 115305, Sep. 2023, doi: 10.1016/j.lwt.2023.115305.

[14] E. Mirzaee-Ghaleh, A. Taheri-Garavand, F. Ayari, and J. Lozano, “Identification of Fresh-Chilled and Frozen-Thawed Chicken Meat and Estimation of their Shelf Life Using an E-Nose Machine Coupled Fuzzy KNN,” Food Anal. Methods, vol. 13, no. 3, pp. 678–689, Mar. 2020, doi: 10.1007/s12161-019-01682-6.

[15] B. W. Penning, W. M. Snelling, and M. J. Woodward-Greene, “Machine Learning in the Assessment of Meat Quality,” IT Prof., vol. 22, no. 3, pp. 39–41, May 2020, doi: 10.1109/MITP.2020.2986123.

[16] M. You, J. Liu, J. Zhang, M. Xv, and D. He, “A Novel Chicken Meat Quality Evaluation Method Based on Color Card Localization and Color Correction,” IEEE Access, vol. 8, pp. 170093–170100, 2020, doi: 10.1109/ACCESS.2020.2989439.

[17] H. Ayaz, M. Ahmad, M. Mazzara, and A. Sohaib, “Hyperspectral Imaging for Minced Meat Classification Using Nonlinear Deep Features,” Appl. Sci., vol. 10, no. 21, p. 7783, Nov. 2020, doi: 10.3390/app10217783.

[18] A. Mjahad, A. Polo-Aguado, L. Llorens-Serrano, and A. Rosado-Muñoz, “Optimizing image feature extraction with convolutional neural networks for chicken meat detection applications,”Appl. Sci., vol. 15, no. 2, p. 733, 2025, doi:10.3390/app15020733.

[19] H. Jiang, W. Yuan, Y. Ru, Q. Chen, J. Wang, and H. Zhou, “Feasibility of identifying the authenticity of fresh and cooked mutton kebabs using visible and near-infrared hyperspectral imaging,” Spectrochim. Acta Part A Mol. Biomol. Spectrosc., vol. 282, no. December, p. 121689, Dec. 2022, doi: 10.1016/j.saa.2022.121689.

[20] D. L. Pinto et al., “Image feature extraction via local binary patterns for marbling score classification in beef cattle using tree-based algorithms,” Livest. Sci., vol. 267, no. January, p. 105152, Jan. 2023, doi: 10.1016/j.livsci.2022.105152.

[21] N. Kumari, R. K. Dwivedi, A. K. Bhatt, and R. Belwal, “Automated fruit grading using optimal feature selection and hybrid classification by self-adaptive chicken swarm optimization: grading of mango,” Neural Comput. Appl., vol. 34, no. 2, pp. 1285–1306, Jan. 2022, doi: 10.1007/s00521-021-06473-x.

[22] G. Prasad, G. S. Vijay, and R. Kamath C., “Comparative study on classification of machined surfaces using ML techniques applied to GLCM based image features,” Mater. Today Proc., vol. 62, pp. 1440–1445, 2022, doi: 10.1016/j.matpr.2022.01.285.

[23] H. Darwis, R. Puspitasari, Purnawansyah, W. Astuti, D. Atmajaya, and M. Hasnawi, “A Deep Learning Approach for Improving Waste Classification Accuracy with ResNet50 Feature Extraction,” in 2025 19th International Conference on Ubiquitous Information Management and Communication (IMCOM), IEEE, Jan. 2025, pp. 1–8. doi: 10.1109/IMCOM64595.2025.10857536.

[24] S. Zhang, “Challenges in KNN Classification,” IEEE Trans. Knowl. Data Eng., vol. 34, no. 10, pp. 4663–4675, Oct. 2022, doi: 10.1109/TKDE.2021.3049250.

[25] Q. Wang, X. Fan, J. Huang, S. Li, and T. Shen, “Spectral–Spatial Feature Extraction Network With SSM–CNN for Hyperspectral–Multispectral Image Collaborative Classification,” IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens., vol. 17, pp. 17555–17566, 2024, doi: 10.1109/JSTARS.2024.3464681.

[26] Herman, H. Darwis, Nurfauziyah, R. Puspitasari, D. Widyawati, and A. Faradibah, “Comparative Analysis of Anxiety Disorder Classification Using Algorithm Naïve Bayes, Decision Tree and K-NN,” in 2025 19th International Conference on Ubiquitous Information Management and Communication (IMCOM), IEEE, Jan. 2025, pp. 1–6. doi: 10.1109/IMCOM64595.2025.10857485.

[27] W. Zhao, S. Tan, and P. Li, “SONG: Approximate Nearest Neighbor Search on GPU,” in 2020 IEEE 36th International Conference on Data Engineering (ICDE), IEEE, Apr. 2020, pp. 1033–1044. doi: 10.1109/ICDE48307.2020.00094.

[28] J. Gui et al., “Fast kNN Search in Weighted Hamming Space With Multiple Tables,” IEEE Trans. Image Process., vol. 30, pp. 3985–3994, 2021, doi: 10.1109/TIP.2021.3066907.

[29] Y. Yang et al., “Evaluation of broiler breast fillets with the woody breast condition using expressible fluid measurement combined with deep learning algorithm,” J. Food Eng., vol. 288, no. January, p. 110133, Jan. 2021, doi: 10.1016/j.jfoodeng.2020.110133.

[30] S.-K. Lee et al., “Properties of broiler breast meat with pale color and a new approach for evaluating meat freshness in poultry processing plants,” Poult. Sci., vol. 101, no. 3, p. 101627, Mar. 2022, doi: 10.1016/j.psj.2021.101627.

[31] D. Huang, J. Liu, S. Zhou, and W. Tang, “Deep unsupervised endoscopic image enhancement based on multi-image fusion,” Comput. Methods Programs Biomed., vol. 221, no. June, p. 106800, Jun. 2022, doi: 10.1016/j.cmpb.2022.106800.

[32] X. Shu, Z. Song, J. Shi, S. Huang, and X.-J. Wu, “Multiple channels local binary pattern for color texture representation and classification,” Signal Process. Image Commun., vol. 98, no. October, p. 116392, Oct. 2021, doi: 10.1016/j.image.2021.116392.

[33] T. Song, Y. Han, S. Li, and C. Zhao, “Grayscale-inversion and rotation invariant image description using local ternary derivative pattern with dominant structure encoding,” Expert Syst. Appl., vol. 191, no. April, p. 116327, Apr. 2022, doi: 10.1016/j.eswa.2021.116327.

[34] L. Zhu, P. Spachos, E. Pensini, and K. N. Plataniotis, “Deep learning and machine vision for food processing: A survey,” Curr. Res. Food Sci., vol. 4, pp. 233–249, 2021, doi: 10.1016/j.crfs.2021.03.009.

[35] Harlinda, A. Rendi, H. Azis, D. Indra, L. N. Hayati, and N. Kurniati, “Classification of Cia-Cia Letters Using MobileNetV2 and CNN Methods,” in 2025 19th International Conference on Ubiquitous Information Management and Communication (IMCOM), IEEE, Jan. 2025, pp. 1–6. doi: 10.1109/IMCOM64595.2025.10857478.

[36] Z. W. Bhuiyan, S. A. Redwanul Haider, A. Haque, M. Hasan, and M. R. Uddin, “Meat Freshness Classifier with Machine and AI,” in 2023 IEEE Region 10 Symposium (TENSYMP), IEEE, Sep. 2023, pp. 1–5. doi: 10.1109/TENSYMP55890.2023.10223681.

[37] Y. Lin et al., “Combining hyperspectral imaging technology and visible-near infrared spectroscopy with a data fusion strategy for the detection of soluble solids content in apples,” J. Food Compos. Anal., vol. 137, no. January, p. 106996, Jan. 2025, doi: 10.1016/j.jfca.2024.106996.

[38] B. Chen et al., “Using HSI Color Space to Improve the Multispectral Lidar Classification Error Caused by Measurement Geometry,” IEEE Trans. Geosci. Remote Sens., vol. 59, no. 4, pp. 3567–3579, Apr. 2021, doi: 10.1109/TGRS.2020.3006577.

[39] S. Zhi, Y. Cui, J. Deng, and W. Du, “An FPGA-Based Simple RGB-HSI Space Conversion Algorithm for Hardware Image Processing,” IEEE Access, vol. 8, pp. 173838–173853, 2020, doi: 10.1109/ACCESS.2020.3026189.

[40] F. Yan, N. Li, and K. Hirota, “QHSL: A quantum hue, saturation, and lightness color model,” Inf. Sci. (Ny)., vol. 577, no. October, pp. 196–213, Oct. 2021, doi: 10.1016/j.ins.2021.06.077.

[41] B. Gao, Y. Guo, Y. Ma, and C. Chen, “Smart Broiler Chicken Weighing System Utilizing the STM32 Microcontroller,” in 2024 4th International Conference on Electrical Engineering and Mechatronics Technology (ICEEMT), IEEE, Jul. 2024, pp. 270–275. doi: 10.1109/ICEEMT63201.2024.10692356.

[42] E. Winarno, W. Hadikurniawati, A. Septiarini, and H. Hamdani, “Analysis of color features performance using support vector machine with multi-kernel for batik classification,” Int. J. Adv. Intell. Informatics, vol. 8, no. 2, p. 151, Jul. 2022, doi: 10.26555/ijain.v8i2.821.

[43] A. Aqthobirrobbany, R. D. H. Al-Fahsi, I. Soesanti, and H. A. Nugroho, “Enhanced U-Net architecture with CNN backbone for accurate segmentation of skin lesions in dermoscopic images,” Int. J. Adv. Intell. Informatics, vol. 10, no. 3, p. 490, Aug. 2024, doi: 10.26555/ijain.v10i3.1379.

[44] N. Alpaslan, “Neutrosophic set based local binary pattern for texture classification,” Expert Syst. Appl., vol. 209, no. December, p. 118350, Dec. 2022, doi: 10.1016/j.eswa.2022.118350.

[45] P. Sikakollu and R. Dash, “Ensemble of multiple CNN classifiers for HSI classification with Superpixel Smoothing,” Comput. Geosci., vol. 154, no. September, p. 104806, Sep. 2021, doi: 10.1016/j.cageo.2021.104806.

[46] M. Aumüller and M. Ceccarello, “The role of local dimensionality measures in benchmarking nearest neighbor search,” Inf. Syst., vol. 101, no. November, p. 101807, Nov. 2021, doi: 10.1016/j.is.2021.101807.

[47] A. Shokrzade, M. Ramezani, F. Akhlaghian Tab, and M. Abdulla Mohammad, “A novel extreme learning machine based kNN classification method for dealing with big data,” Expert Syst. Appl., vol. 183, no. November, p. 115293, Nov. 2021, doi: 10.1016/j.eswa.2021.115293.

[48] N. Z. Abidin and A. R. Ismail, “An improved K-Nearest neighbour with grasshopper optimization algorithm for imputation of missing data,” Int. J. Adv. Intell. Informatics, vol. 7, no. 3, p. 304, Nov. 2021, doi: 10.26555/ijain.v7i3.696.

[49] X. Zhang and H. Gou, “Statistical-mean double-quantitative K-nearest neighbor classification learning based on neighborhood distance measurement,” Knowledge-Based Syst., vol. 250, no. August, p. 109018, Aug. 2022, doi: 10.1016/j.knosys.2022.109018.

[50] H. A. Abu Alfeilat et al., “Effects of Distance Measure Choice on K-Nearest Neighbor Classifier Performance: A Review,” Big Data, vol. 7, no. 4, pp. 221–248, Dec. 2019, doi: 10.1089/big.2018.0175.

[51] R. A. Asmara, F. Rahutomo, Q. Hasanah, and C. Rahmad, “Chicken meat freshness identification using the histogram color feature,” in 2017 International Conference on Sustainable Information Engineering and Technology (SIET), IEEE, Nov. 2017, pp. 57–61. doi: 10.1109/SIET.2017.8304109.

[52] R. A. Asmara et al., “Chicken Meat Freshness Identification using Colors and Textures Feature,” in 2018 Joint 7th International Conference on Informatics, Electronics & Vision (ICIEV) and 2018 2nd International Conference on Imaging, Vision & Pattern Recognition (icIVPR), IEEE, Jun. 2018, pp. 93–98. doi: 10.1109/ICIEV.2018.8640992.

[53] Calvin, G. B. Putra, and E. Prakasa, “Classification of Chicken Meat Freshness using Convolutional Neural Network Algorithms,” in 2020 International Conference on Innovation and Intelligence for Informatics, Computing and Technologies (3ICT), IEEE, Dec. 2020, pp. 1–6. doi: 10.1109/3ICT51146.2020.9312018.

[54] M. B. P. Garcia, E. A. Labuac, and C. C. Hortinela IV, “Chicken Meat Freshness Classification Based on VGG16 Architecture,” in 2022 IEEE International Conference on Artificial Intelligence in Engineering and Technology (IICAIET), IEEE, Sep. 2022, pp. 1–6. doi: 10.1109/IICAIET55139.2022.9936795.

[55] S. Anraeni, E. R. Melani, and H. Herman, “Ripeness Identification of Chayote Fruits using HSI and LBP Feature Extraction with KNN Classification,” Ilk. J. Ilm., vol. 14, no. 2, pp. 150–159, Aug. 2022, doi: 10.33096/ilkom.v14i2.1153.150-159.

[56] S. Anraeni, M. Mustari, R. Ramdaniah, N. Kurniati, and S. Mubarak, “Innovative CNN approach for reliable chicken meat classification in the poultry industry,” Bull. Soc. Informatics Theory Appl., vol. 8, no. 2, pp. 226–235, Dec. 2024, doi: 10.31763/businta.v8i2.686.




Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

___________________________________________________________
International Journal of Advances in Intelligent Informatics
ISSN 2442-6571  (print) | 2548-3161 (online)
Organized by UAD and ASCEE Computer Society
Published by Universitas Ahmad Dahlan
W: http://ijain.org
E: info@ijain.org (paper handling issues)
 andri.pranolo.id@ieee.org (publication issues)

View IJAIN Stats

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0