Machine Vision for Quality Control in Halal Food Production: A Deep Learning Approach
Abstract
Ensuring the quality and integrity of halal food products has become increasingly important with the growth of the global halal food industry. Conventional quality control methods, which rely on manual inspection and laboratory testing, are often time-consuming, subjective, and prone to human error. This study aims to develop and evaluate a machine vision system powered by deep learning algorithms to automate quality control processes in halal food production. A convolutional neural network (CNN)-based framework was implemented to classify and detect defects, contamination, and non-halal elements in food products. The system was trained using a dataset of 12,500 labeled images collected from halal-certified production facilities, with data augmentation applied to improve model generalization. Performance metrics, including accuracy, precision, recall, and F1-score, were used to evaluate the system. The results demonstrate that the proposed deep learning model achieved 96.8% classification accuracy, with high precision (95.5%) and recall (97.2%), significantly outperforming conventional machine vision techniques. The findings indicate that deep learning-driven machine vision can provide fast, reliable, and scalable quality control, supporting compliance with halal standards while reducing operational costs. This research highlights the potential of artificial intelligence to modernize quality assurance systems in halal food industries.
Full text article
References
Abdullah, K., & Usman, A. M. (2022). Development of comprehensive carbon footprint and environmental impact indicators for building transportation assessment. Frontiers in Engineering and Built Environment, 2(3), 167–183. Scopus. https://doi.org/10.1108/FEBE-11-2021-0053
Bontempi, E. (2017). A new approach to evaluate the sustainability of raw materials substitution. In SpringerBriefs Appl. Sci. Technol. (Vols. 1–9783319608303, pp. 79–101). Springer Verlag; Scopus. https://doi.org/10.1007/978-3-319-60831-0_4
Di Salvo, A. L. A., Agostinho, F., Almeida, C. M. V. B., & Giannetti, B. F. (2017). Can cloud computing be labeled as “green”? Insights under an environmental accounting perspective. Renewable and Sustainable Energy Reviews, 69, 514–526. Scopus. https://doi.org/10.1016/j.rser.2016.11.153
Duane, B., Steinbach, I., & Mackenzie, L. (2024). A carbon calculator: The development of a user-friendly greenhouse gas measuring tool for general dental practice (Part 2). British Dental Journal, 236(1), 57–61. Scopus. https://doi.org/10.1038/s41415-023-6626-7
Faieq, H. T., & Cek, K. (2024). Enhancing Kurdistan’s manufacturing companies’ sustainable waste management: A norm activation approach to green accounting, CSR, and environmental auditing oversight. Heliyon, 10(12). Scopus. https://doi.org/10.1016/j.heliyon.2024.e32725
Francke, I. C. M., & Castro, J. F. W. (2013). Carbon and water footprint analysis of a soap bar produced in Brazil by Natura Cosmetics. Water Resources and Industry, 1–2, 37–48. Scopus. https://doi.org/10.1016/j.wri.2013.03.003
Gouvea, R. (2012). Brazil’s energy divide: Sustainable energy alternatives for the brazilian amazon region. International Journal of Sustainable Development and Planning, 7(4), 472–483. Scopus. https://doi.org/10.2495/SDP-V7-N4-472-483
Heberling, M. T., Templeton, J. J., & Wu, S. (2012). Green Net Regional Product for the San Luis Basin, Colorado: An economic measure of regional sustainability. Journal of Environmental Management, 111, 287–297. Scopus. https://doi.org/10.1016/j.jenvman.2012.02.035
Hong, Z., & Xiao, K. (2024). Digital economy structuring for sustainable development: The role of blockchain and artificial intelligence in improving supply chain and reducing negative environmental impacts. Scientific Reports, 14(1). Scopus. https://doi.org/10.1038/s41598-024-53760-3
Islam, K., & Murakami, S. (2020). Accounting for water footprint of an open?pit copper mine. Sustainability (Switzerland), 12(22), 1–18. Scopus. https://doi.org/10.3390/su12229660
Laurent, A., Olsen, S. I., & Hauschild, M. Z. (2012). Limitations of carbon footprint as indicator of environmental sustainability. Environmental Science and Technology, 46(7), 4100–4108. Scopus. https://doi.org/10.1021/es204163f
Li, J., Yan, Y., Peng, L., Zhou, D., Wang, Y., Zhang, J., Cao, Y., Liu, L., Lin, K., Li, M., & Xie, K. (2024). Footprint family of China’s coal-based synthetic natural gas industry. Energy, 312. Scopus. https://doi.org/10.1016/j.energy.2024.133560
Lu, Y.-H., Wen, J.-K., Mo, X.-L., Yang, X.-L., Gao, W.-C., & Yang, H.-Y. (2024). A review of mechanism and technology of vanadium extraction from strategic mineral black shale. Rare Metals, 43(12), 6183–6200. Scopus. https://doi.org/10.1007/s12598-024-02878-4
Mahmud, A., Susilowati, N., Sari, P. N., & Herdiani, A. (2023). Analyzing enviromental management accounting to increase university awareness towards sustainability. In Setiawan A.B. & Rahman Y.A. (Eds.), IOP Conf. Ser. Earth Environ. Sci. (Vol. 1248, Issue 1). Institute of Physics; Scopus. https://doi.org/10.1088/1755-1315/1248/1/012018
Mersico, L., Abroshan, H., Sanchez-Velazquez, E., Saheer, L. B., Simandjuntak, S., Dhar-Bhattacharjee, S., Al-Haddad, R., Saeed, N., & Saxena, A. (2024). Challenges and Solutions for Sustainable ICT: The Role of File Storage. Sustainability (Switzerland), 16(18). Scopus. https://doi.org/10.3390/su16188043
Ortiz-Cea, V., Geldres-Weiss, V. V., Dote-Pardo, J., & Reveco-Sepúlveda, R. (2024). COSTS AND CARBON FOOTPRINT: EXPLORING THE CONTEMPORARY LITERATURE. Interciencia, 49(11), 632–640. Scopus.
Prasad, Y., & Deswal, S. (2024). A Comprehensive Carbon Footprint Assessment Using Integration of GHG Protocol and LCA: A Case Study of an Engineering Institute in India. Evergreen, 11(1), 143–155. Scopus.
Sarapure, R. P., & Kumar, T. (2024). Designing Sustainable UI/UX: An Approach to Reducing the Environmental Impact of Digital Products. In Alareeni B. & Hamdan A. (Eds.), Lect. Notes Networks Syst.: Vol. 1082 LNNS (pp. 509–518). Springer Science and Business Media Deutschland GmbH; Scopus. https://doi.org/10.1007/978-3-031-67434-1_48
Thoma, G. J., Ellsworth, S. W., & Yan, M. J. (2018). Chapter 1: Principles of Green Food Processing (Including Lifecycle Assessment and Carbon Footprint). RSC Green Chemistry, 2018-January(53), 1–52. Scopus. https://doi.org/10.1039/9781782626596-00001
Trovato, M. R., Nocera, F., & Giuffrida, S. (2020). Life-cycle assessment and monetary measurements for the carbon footprint reduction of public buildings. Sustainability (Switzerland), 12(8). Scopus. https://doi.org/10.3390/SU12083460
Usman, O., Iortile, I. B., & Ike, G. N. (2020). Enhancing sustainable electricity consumption in a large ecological reserve–based country: The role of democracy, ecological footprint, economic growth, and globalisation in Brazil. Environmental Science and Pollution Research, 27(12), 13370–13383. Scopus. https://doi.org/10.1007/s11356-020-07815-3
Wang, L., & Dai, S. (2024). Carbon Footprint Accounting and Verification of Seven Major Urban Agglomerations in China Based on Dynamic Emission Factor Model. Sustainability (Switzerland), 16(22). Scopus. https://doi.org/10.3390/su16229817
Wang, L., Zhang, T., Zhou, X., Xu, T., Li, C., Li, Z., Wang, S., Li, M., & Hong, J. (2025). Insights into the environmental–economic sustainability of rice production in China. Journal of Cleaner Production, 498. Scopus. https://doi.org/10.1016/j.jclepro.2025.145205
Yu, L., Liu, S., Wang, F., Liu, Y., Li, M., Wang, Q., Dong, S., Zhao, W., Phan Tran, L.-S., Sun, Y., Li, W., Dong, Y., Beazley, R., & Qian, H. (2022). Effects of agricultural activities on energy-carbon-water nexus of the Qinghai-Tibet Plateau. Journal of Cleaner Production, 331. Scopus. https://doi.org/10.1016/j.jclepro.2021.129995
Zhang, X., Border, A., Goosen, N., & Thomsen, M. (2021). Environmental life cycle assessment of cascade valorisation strategies of South African macroalga Ecklonia maxima using green extraction technologies. Algal Research, 58. Scopus. https://doi.org/10.1016/j.algal.2021.102348