Related Experiment Video
Updated: Apr 14, 2026

Subjective Refraction Test Using a Smartphone for Vision Screening
Published on: October 18, 2024
Computer vision-based carbohydrate estimation for type 1 patients with diabetes using smartphones
Marios Anthimopoulos1, Joachim Dehais2, Sergey Shevchik1
1Diabetes Technology Research Group, ARTORG Center for Biomedical Engineering Research, University of Bern, Bern, Switzerland.
The GoCARB smartphone app assists type 1 diabetes patients in carbohydrate (CHO) counting for insulin dosing. This system achieved a mean absolute error of 6 grams, demonstrating feasibility for improved blood glucose management.
Area of Science:
- Biomedical Engineering
- Medical Informatics
- Nutritional Science
Background:
- Type 1 diabetes (T1D) management requires accurate carbohydrate (CHO) counting for prandial insulin dosing.
- Inaccurate CHO estimation, even by 20 grams, significantly impacts postprandial glucose control.
- Manual CHO counting is challenging for T1D patients.
Purpose of the Study:
- To develop and evaluate the GoCARB system, a smartphone application for automated carbohydrate counting in non-prepackaged foods for T1D patients.
- To assess the accuracy of the GoCARB system in estimating carbohydrate content from food images.
Main Methods:
- The GoCARB system utilizes smartphone images of a meal with a reference card.
- Image analysis includes plate detection, food segmentation, recognition, and 3D shape reconstruction.
- Carbohydrate content is calculated using estimated food volumes and the USDA nutritional database.
Main Results:
- Laboratory evaluation used 24 multi-food dishes with multiple image pairs and system applications per dish.
- The system achieved a mean absolute percentage error of 10 ± 12% in CHO estimation.
- The mean absolute error for normal-sized dishes was 6 ± 8 grams of CHO.
Conclusions:
- The GoCARB prototype system demonstrated feasibility, with errors below the 20-gram target.
- Further research and development are necessary before clinical deployment to accommodate diverse eating habits.
- The system shows promise for improving self-management in type 1 diabetes.
Related Concept Videos
Carbohydrate Metabolism
Starch accounts for approximately 60% of the carbohydrates consumed by humans. Since amylase enzymes cannot function in the stomach's acidic environment, starch can only be digested in the mouth and small intestine. Simple sugars are found naturally in milk and fruits in...
Diabetes Mellitus: Type 2 and Gestational
Diabetes Mellitus: Overview and Type I Subtype
Type 1 diabetes is an autoimmune disease in which the immune system mistakenly attacks and destroys the insulin-producing beta cells in the pancreas. As a result, the body is unable to produce sufficient insulin, and individuals with...
Diabetes: Symptoms, Diagnosis, and Complications

