A Region-Based Convolutional Neural Network Model for Quantitative Analysis of Carbohydrate Content in Foods
A new computer vision system can accurately estimate the carbohydrate content of meals from a single image.
Researchers developed a system that uses a neural network to analyze images of food and estimate carbohydrate content. The system was found to have an average error rate of 7%, with the ability to adapt to 3D volume estimation using multiple images. This technology has potential for practical application in dietary management and nutritional monitoring.
Abstract
Type 1 Diabetes Mellitus (T1DM) is a globally prevalent autoimmune disease, increasing in incidence annually. The condition necessitates continuous monitoring and meticulous record-keeping of dietary intake, with a strong emphasis on accurate carbohydrate counting. Recent advancements in computer vision have facilitated the estimation of nutritional content and values of meals, enabling calculations through both 2D and 3D image analyses. Significant progress in artificial neural networks has further enhanced the accuracy and efficiency of food recognition and volume estimation. In this study, we propose a system that estimates the carbohydrate content of meals by analyzing their diameters as input. The system demonstrated an average error rate of approximately 7%, with individual error rates ranging from 1% to 15%. While these variations are influenced by the presentation style of the food, the system’s ability to achieve high accuracy from a single image highlights its effectiveness. Moreover, the system is adaptable for 3D volume estimation using multi-angle images, making it suitable for further development. With the integration of additional food categories and an expanded training dataset, the proposed system holds significant potential for practical application in dietary management and nutritional monitoring.
References
- 1.Nilson, N. J. (1998). Introduction to machine learning. Stanford University, USA, 89 s.
- 2.IBM Cloud Education. (n.d.). What is machine learning? Retrieved April 2021, from https://www.ibm.com/cloud/learn/machine-learning#toc-deep-learn-nOh7s5RfLink
- 3.McCulloch, W. S., & Pitts, W. (1943). A logical calculus of the ideas immanent in nervous activity. The Bulletin of Mathematical Biophysics, 5(1), 115–133.
- 4.Rosenblatt, F. (1958). The perceptron: A probabilistic model for information storage and organization in the brain. Psychological Review, 65(6), 386.
- 5.Kelley, H. J. (1960). Gradient theory of optimal flight paths. ARS Journal, 30(10), 947–954.
- 6.Dreyfus, S. (1962). The numerical solution of variational problems. Journal of Mathematical Analysis and Applications, 5(1), 30–45.
- 7.Dehais, J., Anthimopoulos, M., Rhyner, D., & Loher, H. (2016). Carbohydrate estimation by a mobile phone-based system versus self-estimations of individuals with type 1 diabetes mellitus: A comparative study. Journal of Medical Internet Research, 18(5), e101. https://doi.org/10.2196/jmir.5567DOI
- 8.Alfonsi, J. E., Choi, E. E. Y., & Arshad, T. (2020). Carbohydrate counting app using image recognition for youth with type 1 diabetes: Pilot randomized control trial. JMIR mHealth and uHealth, 8(10), e22074. https://doi.org/10.2196/22074DOI
- 9.Anthimopoulos, M., Dehais, J., & Diem, P. (2015). Computer vision-based carbohydrate estimation for type 1 patients with diabetes using smartphones. Journal of Diabetes Science and Technology, 9(4), 759-764. https://doi.org/10.1177/1932296815580159DOI
- 10.Vasiloglou, M. F., Mougiakakou, S., & Aubry, E. (2018). A comparative study on carbohydrate estimation: GoCARB vs. dietitians. Nutrients, 10(6), 741. https://doi.org/10.3390/nu10060741DOI
- 11.Contreras, I., Muñoz-Organero, M., Beneyto, A., & Vehi, J. (2023). Active labeling correction of mealtimes and the appearance of types of carbohydrates in Type 1 Diabetes information records. Mathematics, 11(19), 4050. https://doi.org/10.3390/math11194050DOI
- 12.Ladyzynski, P., Krzymien, J., & Foltynski, P. (2018). Accuracy of automatic carbohydrate, protein, fat and calorie counting based on voice descriptions of meals in people with type 1 diabetes. Nutrients, 10(4), 518. https://doi.org/10.3390/nu10040518DOI
- 13.Schmidt, S., Schelde, B., & Nørgaard, K. (2014). Effects of advanced carbohydrate counting in patients with type 1 diabetes: A systematic review. Diabetic Medicine, 31(8), 886-898. https://doi.org/10.1111/dme.12446DOI
- 14.Bell, K. J., Barclay, A. W., Petocz, P., Colagiuri, S., & Brand-Miller, J. C. (2014). Efficacy of carbohydrate counting in type 1 diabetes: A systematic review and meta-analysis. The Lancet Diabetes & Endocrinology, 2(2), 133-140. https://doi.org/10.1016/S2213-8587(13)70144-XDOI
- 15.R.G.I.R.G.G.P.D.Detectron. GitHub.https://github.com/facebookresearch/Detectron), Release Date: April 2021.Link
Oralhan, Z., Hakkomaz, H. (2024). A Region-Based Convolutional Neural Network Model for Quantitative Analysis of Carbohydrate Content in Foods. *The European Journal of Research and Development*, 4(3), 57-74. https://doi.org/10.56038/ejrnd.v4i3.614
Bibliographic Info
Indexing & License
More from The European Journal of Research and Development
Challenges in Maize Root Phenotyping: Preprocessing Limits and Class Imbalance in Deep Learning
Hüdanur Engin, Ali Murat Tiryaki
2026 · Vol 6 · Issue 1
The Bleaching of Woven Fabrics Using the Foam Application Technique
Aylin Kuşen, Onur Balcı, Koray Pektaş
2026 · Vol 6 · Issue 1
Automated Monkeypox Disease Classification Using Texture and Focus-Based Image Features
Tuğba Şentürk, Çiğdem Gülüzar Altıntop, Fatma Latifoğlu
2026 · Vol 6 · Issue 1
EEG-Based Assessment of Stress Levels Using Time–Frequency Features and Machine Learning
Sevde Samsa, Çiğdem Gülüzar Altıntop
2026 · Vol 6 · Issue 1
A Compact Non-Intrusive Measurement System for Critical Dimensions and Calibration Chart Generation of Underground Fuel Tanks
İlker Değirmencioğlu, Savaş Barış, Yusuf Kaya
2025 · Vol 5 · Issue 1
An AI-Based Question–Answering System for Corporate Documents: VK ArtiFin
Zeynep Örpek, Büşra Tural, Zeynep Destan
2025 · Vol 5 · Issue 1