Artificial Intelligence and Deep Learning-Based System for Agri-Food Quality and Safety Detection

Artificial Intelligence and Deep Learning-Based System for Agri-Food Quality and Safety Detection


  • Habib Shah College of Computer Science, Department of Computer Science, King Khalid University, Abha, Saudi Arabia
  • Harish Kumar Department of Computer Science, College of Computer Science, King Khalid University, Abha 61413, Saudi Arabia
  • Ali Akgül Siirt Üniversitesi, Siirt, Turkey



AI, CNN, DL, Food Safety, IOT and Big data


Deep Learning (DL) has emerged as a highly effective technique for analyzing large volumes of data across various domains, including image processing, speech recognition, and pattern recognition. Recently, DL has also found applications in the field of food science and engineering, a relatively novel area of research. This paper provides a concise introduction to DL and delves into the architecture of a typical Convolution Neural Network (CNN) structure, as well as AI and IoT (Internet of Things) data training methodologies. Our research involved an extensive review of studies that utilized DL as a computational approach to address food-related challenges, such as food recognition, calorie computation, and safety detection of various food types like fruits, potatoes, meats, and aquatic products, as well as food supply chain management and food borne illness detection. Each study examined different problems, datasets, preprocessing techniques, network architectures, and evaluation metrics, comparing their results with alternative solutions. Furthermore, we explored the role of big data in the field of food quality assurance, uncovering compelling trends. Based on our analysis, DL consistently outperforms other approaches, including manual feature extractors and traditional machine learning algorithms. The findings highlight the tremendous potential of DL as a promising technology for food safety inspections and related applications in the food industry


Belasco WJ. 2007. Appetite for change: how the counterculture took on the food industry. Cornell University Press, Ithaca, NY, USA.

Grunert KG, Jeppesen LF, Jespersen KR, Sonne AM, Hansen K et al. 2005. Market orientation of value chains: A conceptual framework based on four case studies from the food industry. Eur J Mark 39(5/6): 428-455. DOI:

Langer J, Alfirevic N, Pavicic J. 2017. Organizational change in transition societies. Routledge. DOI:

Kryvoplias-Volodina L, Gubenia O. 2018. Processes, equipment and control systems of food production. In: Section 2, 84 International scientific conference of young scientists and students. Youth scientific achievements to the 21st century nutrition problem solution.

Araújo SO, Peres RS, Barata J, Lidon F, Ramalho JC, et al. 2021. Characterising the agriculture 4.0 landscape-emerging trends, challenges and opportunities. Agronomy 11(4): 667. https://doi. org/10.3390/agronomy11040667 DOI:

Zhu Z, Gavahian M, Barba FJ, Roselló-Soto E, Kovačević DB, et al. 2020. Valorization of waste and by-products from food industries through the use of innovative technologies. In: Barba FJ, Putnik P, Kovačević DB (eds) Agri-food industry strategies for healthy diets and sustainability. Academic Press, pp 249-266. B978-0-12-817226-1.00011-4 DOI:

Miranda J, Ponce P, Molina A, Wright P. 2019. Sensing, smart and sustainable technologies for Agri-Food 4.0. Computers in Industry 108(2019): 21-36. compind.2019.02.002 DOI:

Sunil, Chauhan N, Singh J, Chandra S, Chaudhary V, et al. 2018. Nonthermal techniques: Application in food industries” A review. Journal of Pharmacognosy and Phytochemistry 7(5): 1507-1518.

Panda SK, Shetty PH. 2018. Innovations in technologies for fermented food and beverage industries. Springer, Cham. DOI:

Schwendicke F, Samek W, Krois J. 2020. Artificial intelligence in dentistry: chances and challenges. J Dent Res 99(7): 769-774. https:// DOI:

Bunker S. 2018. Artificial intelligence: building smarter machines. Children's Book and Media Review: 39(5): 1-2.

Ferreira PMM. 2018. Artificial intelligence: an exploratory study about the impact on service.

Washington P, Park N, Srivastava P, Voss C, Kline A, et al. 2020. Datadriven diagnostics and the potential of mobile artificial intelligence for digital therapeutic phenotyping in computational psychiatry. Biol Psychiatry Cogn Neurosci Neuroimaging 5(8): 759-769. https://doi. org/10.1016/j.bpsc.2019.11.015 DOI:

Crowther-Heyck H. 2006. Patrons of the revolution. Ideals and institutions in postwar behavioral science. Isis 97(3): 420-446. https:// DOI:

Floridi L. 2016. Faultless responsibility: On the nature and allocation of moral responsibility for distributed moral actions. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences 374(2083): 20160112. DOI:

Pollack JB, Blair AD, Land M. 1997. Coevolution of a backgammon player. Proceedings of the fifth artificial life conference. The MIT Press, Cambridge, MA, London.

Tesauro G, Touretzky D, Leen T, 1997. Advances in neural information processing systems. MIT press, Cambridge, MA, London, pp 1-9.

McCorduck P. 2004. Machines who think: a personal inquiry into the history and prospects of artificial intelligence. CRC Press, USA. DOI:

Rosenzweig ES, Brock JH, Lu P, Kumamaru H, Salegio EA, et al. 2018. Restorative effects of human neural stem cell grafts on the primate spinal cord. Nat med 24(4): 484. DOI:

Ortony A, University of Illinois, Urbana-Champaign, Clore GL, Collins A. 1990. Cambridge university press. CBO9780511571299

Feigenbaum EA. 1977. The art of artificial intelligence: themes and case studies of knowledge engineering. IJCAI. ada046289 DOI:

Michael MI, Mitchell TM. 2015. Machine learning: trends, perspectives, and prospects. Science 349(6245): 255-260. science.aaa8415 DOI:

Tsoumakas G. 2019. A survey of machine learning techniques for food sales prediction. Artif Intell Rev 52(1): 441-447. https://doi. org/10.1007/s10462-018-9637-z DOI:

Garre A, Ruiz MC, Hontoria E. 2020. Application of machine learning to support production planning of a food industry in the context of waste generation under uncertainty. Operations Research Perspectives 7: 100147. DOI:

Milczarski P, Zieliński B, Stawska Z, Hłobaż A, Maślanka P, et al. 2020. Machine learning application in energy consumption calculation and assessment in food processing industry. In: Rutkowski L, Scherer R, Korytkowski M, Pedrycz W, Tadeusiewicz R, Zurada JM. (eds) Artificial intelligence and soft computing. ICAISC 2020. Lecture notes in computer science, Springer, Cham, pp 369-379. https://doi. org/10.1007/978-3-030-61534-5_33. DOI:

Moshelion M, Altman A. 2008. Current challenges and future perspectives of plant and agricultural biotechnology. Trends Biotechnol 33(6): 337-342. tibtech.2015.03.001 DOI:

Vilkhu K, Mawsona R, Simonsa L, Batesb D. 2008. Applications and opportunities for ultrasound assisted extraction in the food industry-a review. Innovative Food Science & Emerging Technologies 9(2): 161-169. DOI:

Klyuchka E, Dmitri K, Vitaly D, Lukyanov A, Gaponov V. 2019. New methods of seeds functional state and activity control for the development of the biotechnical feedback concept. AIP Conference Proceedings. 2188(1): 030015. 10.1063/1.5138408 DOI:

Kyoto protocol to the United Nations framework convention on climate change.

Sadowski J. 2020. Too smart: how digital capitalism is extracting data, controlling our lives, and taking over the world. (1st ed.) The MIT Press. DOI:

Nasrollahi M, Beynaghi A, Mohamady FM, Mozafari M. 2020. Plastic packaging, recycling, and sustainable development. In Filho WL, Azul AM, Brandli L, özuyar PG, Wall T (eds) Responsible consumption and production. Encyclopedia of the UN Sustainable Development Goals. Springer, Cham. DOI:




How to Cite

Shah, H., Kumar, H., & Akgül, A. (2023). Artificial Intelligence and Deep Learning-Based System for Agri-Food Quality and Safety Detection . Wasit Journal of Computer and Mathematics Science, 2(2), 26–32.