| Literature DB >> 32752007 |
Ya Lu1, Thomai Stathopoulou1, Maria F Vasiloglou1, Lillian F Pinault2, Colleen Kiley3, Elias K Spanakis2,4, Stavroula Mougiakakou1,5.
Abstract
Accurate estimation of nutritional information may lead to healthier diets and better clinical outcomes. We propose a dietary assessment system based on artificial intelligence (AI), named goFOODTM. The system can estimate the calorie and macronutrient content of a meal, on the sole basis of food images captured by a smartphone. goFOODTM requires an input of two meal images or a short video. For conventional single-camera smartphones, the images must be captured from two different viewing angles; smartphones equipped with two rear cameras require only a single press of the shutter button. The deep neural networks are used to process the two images and implements food detection, segmentation and recognition, while a 3D reconstruction algorithm estimates the food's volume. Each meal's calorie and macronutrient content is calculated from the food category, volume and the nutrient database. goFOODTM supports 319 fine-grained food categories, and has been validated on two multimedia databases that contain non-standardized and fast food meals. The experimental results demonstrate that goFOODTM performed better than experienced dietitians on the non-standardized meal database, and was comparable to them on the fast food database. goFOODTM provides a simple and efficient solution to the end-user for dietary assessment.Entities:
Keywords: calorie; carbohydrate; computer vision; fat; nutrient estimation; protein; smartphone
Mesh:
Year: 2020 PMID: 32752007 PMCID: PMC7436102 DOI: 10.3390/s20154283
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Overview of goFOODTM.
Figure 2The application: (a) goFOODTMLite—two images capturing (b) goFOODTMLite—Video recording.
Figure 3The application: (a) goFOODTM—Successful automatic segmentation; (b) goFOODTM— Failed automatic segmentation due to bad lighting [left]—Manual user input [middle]— Successful semi-automatic segmentation [right]; (c) goFOODTM—Automatic Recognition.
Figure 4The food categories are organized in a three-level hierarchy. The green labels indicate fine-grained food categories supported by the system, while the gray and blue labels are the concluded first and second level hyper food categories, respectively.
Figure 5Some example meal images in (a) MADiMa and (b) Fast food Databases.
Comparison of food segmentation results on the MADiMa database.
| Methods | ||
|---|---|---|
| [ | 67.8 | 90.8 |
| [ | 70.6 | 92.9 |
| [ | 74.3 | 93.7 |
| goFOODTM |
|
|
Comparison of food recognition results on the MADiMa database.
| Methods | Hyper1 | Hyper2 | Fine-Grained | |||
|---|---|---|---|---|---|---|
| Top-1 (%) | Top-3 (%) | Top-1 (%) | Top-3 (%) | Top-1 (%) | Top-3 (%) | |
| Inception-V3 [ | 63.2 |
| 47.0 | 70.5 | 53.9 |
|
| goFOODTM |
| 82.4 |
|
|
| 71.8 |
Figure 6Examples of correctly and incorrectly recognized food images.
Estimations of nutrient content on the MADiMa database.
| goFOODTM | Dietitians | |
|---|---|---|
| CHO (g) | 7.2 (3.2–15.3) | 27 (10.6–37.7) |
| PRO (g) | 4.5 (2.0–10.9) | 8.7 (4.7–13.5) |
| Fat (g) | 5.2 (2.0–10.06) | 5.2 (2.3–9.7) |
| Calories (kcal) | 74.9 (40.4–139.3) | 180 (119–271) |
Comparison of results of nutrient content estimation on the Fast Food database.
| Two-View | Stereo Pair | Dietitians | |
|---|---|---|---|
| CHO (g) | 7.9 (4.2–15.7) | 9.3 (3.5–14.1) | 5.3 (2.9–7) |
| PRO (g) | 2.8 (1.3–4.20) | 4.4 (2.9–7.5) | 1.5 (0.5–3.3) |
| Fat (g) | 5.8 (1.4–14.6) | 9.22 (3.9–22.5) | 3.8 (1.5–6.3) |
| Calories (kcal) | 75.9 (27.9–124.7) | 107.8 (54.8–150.9) | 55.5 (17–83) |
Pearson correlations between different methods.
| Database | goFOODTM vs. | Dietitians vs. | goFOODTM vs. | |
|---|---|---|---|---|
| MADiMa | CHO |
|
|
|
| PRO |
|
|
| |
| Fat |
|
|
| |
| Calories |
|
|
| |
| Fast Food | CHO |
|
|
|
| PRO |
|
|
| |
| Fat |
|
|
| |
| Calories |
|
|
|
All values of the table are .
Figure 7Bland–Altman plots of goFOODTM’s and dietitians’ estimations on the MADiMa database in terms of (a) CHO, (b) PRO, (c) FAT and (d) Calories. The dashed lines indicate the confidence interval of goFOODTM (blue) and the dietitians’ estimations (red).
Figure 8Bland–Altman plots of goFOODTM’s and dietitians’ estimations on the Fast Food database in terms of (a) CHO, (b) PRO, (c) FAT and (d) Calories. The dashed lines indicate the confidence interval of goFOODTM (blue) and the dietitians’ estimations (red).
High-level comparison between goFOODTM and some popular commercial dietary assessment apps.
| APP name 1 | Automatic Food Recognition | Automatic Food Portion Estimation | Core Algorithm | Computa- | Validation |
|---|---|---|---|---|---|
| FatSecret [ | × | × | - | <1 s | - |
| CALORIE MAMA [ |
| × | CNN for food recognition | <1 s | - |
| bitesnap [ |
| × | CNN for food recognition | <1 s | - |
| aical [ |
| × | Voice recognition aided food recognition | <1 s | - |
| GoCARB 3 |
|
| Traditional machine learning for food recognition, segmentation; SfM for food 3D model reconstruction (volume calculation) | ∼2 s for food recognition and segmentation; ∼5 s for volume estimation | · Technical |
| goFOODTM 4 |
|
| CNN for food recognition, segmentation; Improved SfM for food 3D model reconstruction (volume calculation) | <1 s for food recognition and segmentation; ∼2 s for food volume estimation | · Technical |
1. These commercial apps are chosen because of their high number of downloads; 2. It is impossible for us to know the precise running time of the commercial apps, thus we chose 1s as the threshold; 3. https://gocarb.ch; 4. https://go-food.tech.
goFOODTM Food Cateogories.
| 1st Level | 2nd Level | Fine Categories |
|---|---|---|
| Bread | white | garlic bread |
| non white | ||
| Pasta | white | couscous, spaghetti, penne with tomato sauce, etc. |
| non white | ||
| stuffed pasta | ravioli, spinach tortellini, etc. | |
| Potatoes | None | french fries, boiled potatoes with skin, etc. |
| Pulses/legumes | None | peas, poi, etc. |
| Rice | white | pilaf, etc. |
| non white | wild rice, etc. | |
| Fish and Seafood | None | oyster, clam food, lutefisk, etc. |
| Fruit | None | acerolas, pineapples, apples, etc. |
| Meat | processed products | sausage products, galantine, etc. |
| white meat | fried chicken, creamy chicken, turkey with cheese, etc. | |
| red meat | meatballs, steak au poivre, etc. | |
| Dairy products | yoghurt | plain yoghurt, mixed yoghurt |
| white cheese | hard white cheese, cottage cheese, etc. | |
| yellow cheese | fondue | |
| Eggs | boiled/baked | boiled egg, deviled egg, etc. |
| fried | omelette, frittata, etc. | |
| Sweets | None | churro, panna cotta, flan, etc. |
| Vegetables | None | carrots, mushrooms, string beans, etc. |
| Mixed | gratins | casserole, ziti, tamale pie, etc. |
| salads | green salad, beet salad, seaweed salad, etc. | |
| open sandwiches | tostada, bruschetta, huevos rancheros, etc. | |
| closed sandwiches | hamburger, lobster roll sandwich, club sandwich, etc. | |
| stuffed food | dumpling, burrito, gyoza, etc. | |
| pizza | ||
| multilayer | lasagna, moussaka, etc. | |
| soup | wonton, pho, miso soup, etc. | |
| noodles/pasta | chow mein | |
| rice | biryani, pad thai, bibimbap, etc. | |
| meat | coq au vin, moo moo gai pan, etc. | |
| fish | lobster thermidor, fish and chips, etc. | |
| other | kedgeree, guacamole, sushi, etc. | |
| Breaded (incl. croquettes) | None | falafel, tempura, samosa, etc. |
| Corn | None | |
| Nuts | None | pecan, hazelnut, etc. |
| Snack | None | chips, nachos, etc. |
| Cereal | processed | |
| unprocessed |