RASA-ID: SISTEM ANALISIS GIZI MAKANAN INDONESIA BERBASIS YOLOV8M
Keywords:
food detection, YOLOv8m, nutritional analysis, TKPI, active learningAbstract
Indonesia continues to struggle with a triple burden of malnutrition stunting, micronutrient deficiency, and obesity largely driven by poor dietary monitoring at the household level. Existing nutrition applications often rely on manual food logging and international databases that poorly represent Indonesian local foods. This study presents RASA-ID, an AI-based system that detects Indonesian foods from photos using YOLOv8m and automatically calculates nutritional values based on the 2020 Indonesian Food Composition Table (TKPI). The system handles multi-item detection in a single image and includes a user correction mechanism that lays the foundation for active learning, where feedback data is stored and exported as retraining candidates for the administrator; the retraining cycle itself was not executed in this study. YOLOv8m was trained on 18 food classes using a curated and augmented dataset of 13,840 images in total (12,123 for training, 885 for validation, and 832 for testing) with transfer learning from COCO pre-trained weights. Testing on 832 images yielded mAP50 of 94.49%, precision of 94.52%, recall of 92.23%, and an average inference speed of 22.19 ms per image, surpassing all predefined minimum targets. Functional testing across five scenarios confirmed that food detection, nutritional analysis, user correction, and the feedback-export mechanism all performed as intended. Evaluation in this study focused on detection performance; the accuracy of the resulting nutritional values against reference measurements was not quantitatively assessed and remains a direction for future work.
References
Fayasari, A. (2020). Penilaian Konsumsi Pangan. Kun Fayakun.
Kementerian Kesehatan Republik Indonesia. (2020). Tabel Komposisi Pangan Indonesia 2020. Kementerian Kesehatan RI.
Kementerian Kesehatan Republik Indonesia. (2023). Survei Kesehatan Indonesia (SKI) 2023. Kementerian Kesehatan RI.
Li, X., Yin, A., Choi, H. Y., Chan, V., Allman-Farinelli, M., & Chen, J. (2024). Evaluating the quality and comparative validity of manual food logging and AI-enabled food image recognition in apps for nutrition care. Nutrients, 16(15). https://doi.org/10.3390/nu16152573
Munawaroh, H., Nada, N. K., & Hasjiandito, A. (2022). Peranan orang tua dalam pemenuhan gizi seimbang sebagai upaya pencegahan stunting pada anak usia 4-5 tahun. Seminar Nasional, IVET.
Ultralytics. (2025). YOLOv8 documentation. https://docs.ultralytics.com
Utami, G. C., Widiawati, C. R., & Subarkah, P. (2023). Detection of Indonesian food to estimate nutritional information using YOLOv5. Teknika, 12(2), 158-165. https://doi.org/10.34148/teknika.v12i2.636
Wiranata, M. A., & Lestari, C. C. (2025). YOLOv5 implementation for image classification in Indonesian cuisine calorie estimation system. Jurnal Teknik Informatika dan Sistem Informasi, 11(1), 121-131. https://doi.org/10.28932/jutisi.v11i1.10284
Wu, X., Xiao, L., Sun, Y., Zhang, J., Ma, T., & He, L. (2022). A survey of human-in-the-loop for machine learning. Future Generation Computer Systems, 1-22. https://doi.org/10.1016/j.future.2022.05.014
Roboflow Ayu. (2025). CaloryFix Dataset. Diakses 30 Oktober 2025, dari https://universe.roboflow.com/ayu-asipq/caloryfix
Roboflow Deteksi Makanan. (2025). Makanan-Prasmanan-Domain-Gap Computer Vision Model. Diakses 30 Oktober 2025, dari https://universe.roboflow.com/deteksi-makanan-bapkg/makanan-prasmanan-domain-gap-frvjt
Roboflow Food Dataset. (2025). Pisang Dataset. Diakses 30 Oktober 2025, dari https://universe.roboflow.com/food-udl8a/pisang-fhasw
