Development and accuracy evaluation of a YOLOv4-based food detection model for smart IoT refrigerators

Efficient management of food stored in conventional refrigerators poses notable challenges, primarily due to the lack of advanced features required for inventory tracking. The absence of timely alerts further complicates users’ efforts to monitor their food supplies, resulting in understocking, over...

Full description

Bibliographic Details
Main Authors: Muhammad Faiz Bukhori, Lee, Xiao Xian, Nasharuddin Zainal, Seri Mastura Mustaza
Format: Article
Language:English
Published: Fakulti Kejuruteraan ,UKM,Bangi. 2024
Online Access:http://journalarticle.ukm.my/25710/
http://journalarticle.ukm.my/25710/1/06.pdf
_version_ 1848816430553759744
author Muhammad Faiz Bukhori,
Lee, Xiao Xian
Nasharuddin Zainal,
Seri Mastura Mustaza,
author_facet Muhammad Faiz Bukhori,
Lee, Xiao Xian
Nasharuddin Zainal,
Seri Mastura Mustaza,
author_sort Muhammad Faiz Bukhori,
building UKM Institutional Repository
collection Online Access
description Efficient management of food stored in conventional refrigerators poses notable challenges, primarily due to the lack of advanced features required for inventory tracking. The absence of timely alerts further complicates users’ efforts to monitor their food supplies, resulting in understocking, overbuying, spoilage, and wastage. To tackle these challenges, this work proposes a computer vision-based approach to track food items, implementing an intelligent inventory management system for IoT refrigerators. The goal is to reduce food wastage and enhance food-stocking efficiency. A YOLOv4 object detection model was trained on a custom dataset featuring common food items in Malaysian households. The model achieved a 0.8041 average loss, 100% mAP, and 86% average IoU during training. The trained model was subsequently deployed on a low-power single-board computer, implementing an autonomous and real-time inventory tracking system for IoT refrigerators. The system exhibited 93% accuracy, and macro-average scores of 0.94 for precision, 0.93 for true positive rate (TPR), 0.01 for false positive rate (FPR), 0.93 for F1 score, and 0.99 for true negative rate (TNR). Crucially, the system recognized low-stock events and sent alerts to users through the Telegram instant messaging platform, facilitating just-in-time restocking. This intelligent inventory management system offers a practical solution to address the limitations of conventional refrigeration systems and represents a transformative step towards sustainable food consumption.
first_indexed 2025-11-15T01:05:45Z
format Article
id oai:generic.eprints.org:25710
institution Universiti Kebangasaan Malaysia
institution_category Local University
language English
last_indexed 2025-11-15T01:05:45Z
publishDate 2024
publisher Fakulti Kejuruteraan ,UKM,Bangi.
recordtype eprints
repository_type Digital Repository
spelling oai:generic.eprints.org:257102025-08-12T01:21:31Z http://journalarticle.ukm.my/25710/ Development and accuracy evaluation of a YOLOv4-based food detection model for smart IoT refrigerators Muhammad Faiz Bukhori, Lee, Xiao Xian Nasharuddin Zainal, Seri Mastura Mustaza, Efficient management of food stored in conventional refrigerators poses notable challenges, primarily due to the lack of advanced features required for inventory tracking. The absence of timely alerts further complicates users’ efforts to monitor their food supplies, resulting in understocking, overbuying, spoilage, and wastage. To tackle these challenges, this work proposes a computer vision-based approach to track food items, implementing an intelligent inventory management system for IoT refrigerators. The goal is to reduce food wastage and enhance food-stocking efficiency. A YOLOv4 object detection model was trained on a custom dataset featuring common food items in Malaysian households. The model achieved a 0.8041 average loss, 100% mAP, and 86% average IoU during training. The trained model was subsequently deployed on a low-power single-board computer, implementing an autonomous and real-time inventory tracking system for IoT refrigerators. The system exhibited 93% accuracy, and macro-average scores of 0.94 for precision, 0.93 for true positive rate (TPR), 0.01 for false positive rate (FPR), 0.93 for F1 score, and 0.99 for true negative rate (TNR). Crucially, the system recognized low-stock events and sent alerts to users through the Telegram instant messaging platform, facilitating just-in-time restocking. This intelligent inventory management system offers a practical solution to address the limitations of conventional refrigeration systems and represents a transformative step towards sustainable food consumption. Fakulti Kejuruteraan ,UKM,Bangi. 2024-09 Article PeerReviewed application/pdf en http://journalarticle.ukm.my/25710/1/06.pdf Muhammad Faiz Bukhori, and Lee, Xiao Xian and Nasharuddin Zainal, and Seri Mastura Mustaza, (2024) Development and accuracy evaluation of a YOLOv4-based food detection model for smart IoT refrigerators. Jurnal Kejuruteraan, 36 (5). pp. 1849-1857. ISSN 0128-0198 https://www.ukm.my/jkukm/volume-3605-2024/
spellingShingle Muhammad Faiz Bukhori,
Lee, Xiao Xian
Nasharuddin Zainal,
Seri Mastura Mustaza,
Development and accuracy evaluation of a YOLOv4-based food detection model for smart IoT refrigerators
title Development and accuracy evaluation of a YOLOv4-based food detection model for smart IoT refrigerators
title_full Development and accuracy evaluation of a YOLOv4-based food detection model for smart IoT refrigerators
title_fullStr Development and accuracy evaluation of a YOLOv4-based food detection model for smart IoT refrigerators
title_full_unstemmed Development and accuracy evaluation of a YOLOv4-based food detection model for smart IoT refrigerators
title_short Development and accuracy evaluation of a YOLOv4-based food detection model for smart IoT refrigerators
title_sort development and accuracy evaluation of a yolov4-based food detection model for smart iot refrigerators
url http://journalarticle.ukm.my/25710/
http://journalarticle.ukm.my/25710/
http://journalarticle.ukm.my/25710/1/06.pdf