Computer vision-based carbohydrate estimation for type 1 patients with diabetes using smartphones

J Diabetes Sci Technol. 2015 May;9(3):507-15. doi: 10.1177/1932296815580159. Epub 2015 Apr 16.

Abstract

Background: Individuals with type 1 diabetes (T1D) have to count the carbohydrates (CHOs) of their meal to estimate the prandial insulin dose needed to compensate for the meal's effect on blood glucose levels. CHO counting is very challenging but also crucial, since an error of 20 grams can substantially impair postprandial control.

Method: The GoCARB system is a smartphone application designed to support T1D patients with CHO counting of nonpacked foods. In a typical scenario, the user places a reference card next to the dish and acquires 2 images with his/her smartphone. From these images, the plate is detected and the different food items on the plate are automatically segmented and recognized, while their 3D shape is reconstructed. Finally, the food volumes are calculated and the CHO content is estimated by combining the previous results and using the USDA nutritional database.

Results: To evaluate the proposed system, a set of 24 multi-food dishes was used. For each dish, 3 pairs of images were taken and for each pair, the system was applied 4 times. The mean absolute percentage error in CHO estimation was 10 ± 12%, which led to a mean absolute error of 6 ± 8 CHO grams for normal-sized dishes.

Conclusion: The laboratory experiments demonstrated the feasibility of the GoCARB prototype system since the error was below the initial goal of 20 grams. However, further improvements and evaluation are needed prior launching a system able to meet the inter- and intracultural eating habits.

Keywords: carbohydrate counting; computer vision; smartphone; type 1 diabetes.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Databases, Factual
  • Diabetes Mellitus, Type 1 / diet therapy*
  • Diet, Diabetic / methods*
  • Dietary Carbohydrates*
  • Eating
  • Feeding Behavior
  • Humans
  • Imaging, Three-Dimensional
  • Insulin Infusion Systems
  • Internet
  • Mobile Applications*
  • Reproducibility of Results
  • Smartphone*

Substances

  • Dietary Carbohydrates