Gilgarmesh commited on
Commit
376cbfe
·
verified ·
1 Parent(s): 40007b5

Upload 10802 files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +0 -0
  2. data/.gitkeep +1 -0
  3. data/interim/.gitkeep +1 -0
  4. data/nutrition/.gitkeep +1 -0
  5. data/nutrition/demo/000000/gemini_analysis.json +37 -0
  6. data/nutrition/demo/000000/macro_estimate.json +35 -0
  7. data/nutrition/demo/000000/macros_per_100g.csv +4 -0
  8. data/nutrition/demo/000000/segments.json +23 -0
  9. data/nutrition/demo/000000/summary.json +106 -0
  10. data/nutrition/demo/000000/usda_queries.csv +4 -0
  11. data/nutrition/demo/000001/gemini_analysis.json +30 -0
  12. data/nutrition/demo/000001/macro_estimate.json +27 -0
  13. data/nutrition/demo/000001/macros_per_100g.csv +3 -0
  14. data/nutrition/demo/000001/segments.json +18 -0
  15. data/nutrition/demo/000001/summary.json +85 -0
  16. data/nutrition/demo/000001/usda_queries.csv +3 -0
  17. data/nutrition/demo/000002/gemini_analysis.json +44 -0
  18. data/nutrition/demo/000002/macro_estimate.json +27 -0
  19. data/nutrition/demo/000002/macros_per_100g.csv +3 -0
  20. data/nutrition/demo/000002/segments.json +18 -0
  21. data/nutrition/demo/000002/summary.json +99 -0
  22. data/nutrition/demo/000002/usda_queries.csv +3 -0
  23. data/nutrition/demo/000004/gemini_analysis.json +30 -0
  24. data/nutrition/demo/000004/macro_estimate.json +19 -0
  25. data/nutrition/demo/000004/macros_per_100g.csv +4 -0
  26. data/nutrition/demo/000004/segments.json +13 -0
  27. data/nutrition/demo/000004/summary.json +72 -0
  28. data/nutrition/demo/000004/usda_queries.csv +4 -0
  29. data/nutrition/demo/000005/gemini_analysis.json +23 -0
  30. data/nutrition/demo/000005/macro_estimate.json +27 -0
  31. data/nutrition/demo/000005/macros_per_100g.csv +4 -0
  32. data/nutrition/demo/000005/segments.json +18 -0
  33. data/nutrition/demo/000005/summary.json +78 -0
  34. data/nutrition/demo/000005/usda_queries.csv +4 -0
  35. data/nutrition/demo/batch_summary.csv +6 -0
  36. data/nutrition/demo/cards/000000.png +3 -0
  37. data/nutrition/demo/cards/000001.png +3 -0
  38. data/nutrition/demo/cards/000002.png +3 -0
  39. data/nutrition/demo/cards/000004.png +3 -0
  40. data/nutrition/demo/cards/000005.png +3 -0
  41. data/nutrition/fdc_cache.json +1193 -0
  42. data/nutrition/project_macro_queries.csv +4 -0
  43. data/nutrition/sample_macros_per_100g.csv +4 -0
  44. data/nutrition/sample_segments.json +16 -0
  45. data/processed/.gitkeep +1 -0
  46. data/processed/clean_benchmarks/val_all_stats.csv +0 -0
  47. data/processed/clean_benchmarks/val_clean_easy.csv +0 -0
  48. data/processed/clean_benchmarks/val_clean_medium.csv +0 -0
  49. data/processed/clean_benchmarks/val_clean_strict.csv +0 -0
  50. data/processed/clean_benchmarks/val_clean_structured.csv +0 -0
.gitattributes CHANGED
The diff for this file is too large to render. See raw diff
 
data/.gitkeep ADDED
@@ -0,0 +1 @@
 
 
1
+
data/interim/.gitkeep ADDED
@@ -0,0 +1 @@
 
 
1
+
data/nutrition/.gitkeep ADDED
@@ -0,0 +1 @@
 
 
1
+
data/nutrition/demo/000000/gemini_analysis.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "meal_summary": "A meal featuring grilled shrimp, seasoned white rice, cooked green beans, and sweetened carrots with raisins.",
3
+ "components": [
4
+ {
5
+ "class_name": "meat",
6
+ "likely_food": "Grilled shrimp",
7
+ "fdc_query": "shrimp cooked grilled",
8
+ "confidence": 0.95,
9
+ "notes": "Identified as grilled shrimp based on appearance."
10
+ },
11
+ {
12
+ "class_name": "rice",
13
+ "likely_food": "Seasoned white rice",
14
+ "fdc_query": "rice white cooked seasoned",
15
+ "confidence": 0.9,
16
+ "notes": "Appears to be a seasoned or pilaf-style white rice."
17
+ },
18
+ {
19
+ "class_name": "vegetables",
20
+ "likely_food": "Cooked carrots with raisins",
21
+ "fdc_query": "carrots cooked raisins",
22
+ "confidence": 0.95,
23
+ "notes": "Sweetened cooked carrots mixed with raisins, forming a large part of the vegetable segment."
24
+ },
25
+ {
26
+ "class_name": "vegetables",
27
+ "likely_food": "Cooked green beans",
28
+ "fdc_query": "green beans cooked",
29
+ "confidence": 0.95,
30
+ "notes": "Steamed or boiled green beans, also part of the overall vegetable segment."
31
+ }
32
+ ],
33
+ "portion_assumptions": {
34
+ "total_plate_grams": 500,
35
+ "rationale": "Estimate based on a typical single serving size for a balanced meal with visible portions of protein, starch, and two types of vegetables."
36
+ }
37
+ }
data/nutrition/demo/000000/macro_estimate.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "items": [
3
+ {
4
+ "class_name": "meat",
5
+ "grams": 107.5,
6
+ "kcal": 106.4,
7
+ "protein": 25.8,
8
+ "fat": 0.3,
9
+ "carbs": 0.2
10
+ },
11
+ {
12
+ "class_name": "rice",
13
+ "grams": 133.6,
14
+ "kcal": 129.6,
15
+ "protein": 2.7,
16
+ "fat": 0.3,
17
+ "carbs": 28.2
18
+ },
19
+ {
20
+ "class_name": "vegetables",
21
+ "grams": 258.9,
22
+ "kcal": 90.6,
23
+ "protein": 2.0,
24
+ "fat": 0.5,
25
+ "carbs": 21.3
26
+ }
27
+ ],
28
+ "totals": {
29
+ "grams": 500.0,
30
+ "kcal": 326.6,
31
+ "protein": 30.5,
32
+ "fat": 1.0,
33
+ "carbs": 49.7
34
+ }
35
+ }
data/nutrition/demo/000000/macros_per_100g.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ class_name,fdc_query,fdc_id,fdc_description,kcal,protein,fat,carbs
2
+ meat,shrimp cooked grilled,175180,"Crustaceans, shrimp, cooked",99.0,24.0,0.28,0.2
3
+ rice,rice white cooked seasoned,169711,"Rice, white, glutinous, unenriched, cooked",97.0,2.02,0.19,21.1
4
+ vegetables,carrots cooked raisins,169339,"Carrots, cooked, boiled, drained, with salt",35.0,0.76,0.18,8.22
data/nutrition/demo/000000/segments.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\processed\\foodseg103_target_yolo\\images\\val\\000000.jpg",
3
+ "weights": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\runs\\foodseg103_target\\yolov8s_target_e10_w02\\weights\\best.pt",
4
+ "conf": 0.05,
5
+ "total_food_area": 156889,
6
+ "segments": [
7
+ {
8
+ "class_name": "meat",
9
+ "pixel_area": 27292,
10
+ "area_fraction": 0.173957
11
+ },
12
+ {
13
+ "class_name": "rice",
14
+ "pixel_area": 30986,
15
+ "area_fraction": 0.197503
16
+ },
17
+ {
18
+ "class_name": "vegetables",
19
+ "pixel_area": 98611,
20
+ "area_fraction": 0.62854
21
+ }
22
+ ]
23
+ }
data/nutrition/demo/000000/summary.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\processed\\foodseg103_target_yolo\\images\\val\\000000.jpg",
3
+ "segments": {
4
+ "image": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\processed\\foodseg103_target_yolo\\images\\val\\000000.jpg",
5
+ "weights": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\runs\\foodseg103_target\\yolov8s_target_e10_w02\\weights\\best.pt",
6
+ "conf": 0.05,
7
+ "total_food_area": 156889,
8
+ "segments": [
9
+ {
10
+ "class_name": "meat",
11
+ "pixel_area": 27292,
12
+ "area_fraction": 0.173957
13
+ },
14
+ {
15
+ "class_name": "rice",
16
+ "pixel_area": 30986,
17
+ "area_fraction": 0.197503
18
+ },
19
+ {
20
+ "class_name": "vegetables",
21
+ "pixel_area": 98611,
22
+ "area_fraction": 0.62854
23
+ }
24
+ ]
25
+ },
26
+ "gemini_analysis": {
27
+ "meal_summary": "A meal featuring grilled shrimp, seasoned white rice, cooked green beans, and sweetened carrots with raisins.",
28
+ "components": [
29
+ {
30
+ "class_name": "meat",
31
+ "likely_food": "Grilled shrimp",
32
+ "fdc_query": "shrimp cooked grilled",
33
+ "confidence": 0.95,
34
+ "notes": "Identified as grilled shrimp based on appearance."
35
+ },
36
+ {
37
+ "class_name": "rice",
38
+ "likely_food": "Seasoned white rice",
39
+ "fdc_query": "rice white cooked seasoned",
40
+ "confidence": 0.9,
41
+ "notes": "Appears to be a seasoned or pilaf-style white rice."
42
+ },
43
+ {
44
+ "class_name": "vegetables",
45
+ "likely_food": "Cooked carrots with raisins",
46
+ "fdc_query": "carrots cooked raisins",
47
+ "confidence": 0.95,
48
+ "notes": "Sweetened cooked carrots mixed with raisins, forming a large part of the vegetable segment."
49
+ },
50
+ {
51
+ "class_name": "vegetables",
52
+ "likely_food": "Cooked green beans",
53
+ "fdc_query": "green beans cooked",
54
+ "confidence": 0.95,
55
+ "notes": "Steamed or boiled green beans, also part of the overall vegetable segment."
56
+ }
57
+ ],
58
+ "portion_assumptions": {
59
+ "total_plate_grams": 500,
60
+ "rationale": "Estimate based on a typical single serving size for a balanced meal with visible portions of protein, starch, and two types of vegetables."
61
+ }
62
+ },
63
+ "gemini_error": null,
64
+ "macro_estimate": {
65
+ "items": [
66
+ {
67
+ "class_name": "meat",
68
+ "grams": 107.5,
69
+ "kcal": 106.4,
70
+ "protein": 25.8,
71
+ "fat": 0.3,
72
+ "carbs": 0.2
73
+ },
74
+ {
75
+ "class_name": "rice",
76
+ "grams": 133.6,
77
+ "kcal": 129.6,
78
+ "protein": 2.7,
79
+ "fat": 0.3,
80
+ "carbs": 28.2
81
+ },
82
+ {
83
+ "class_name": "vegetables",
84
+ "grams": 258.9,
85
+ "kcal": 90.6,
86
+ "protein": 2.0,
87
+ "fat": 0.5,
88
+ "carbs": 21.3
89
+ }
90
+ ],
91
+ "totals": {
92
+ "grams": 500.0,
93
+ "kcal": 326.6,
94
+ "protein": 30.5,
95
+ "fat": 1.0,
96
+ "carbs": 49.7
97
+ }
98
+ },
99
+ "artifacts": {
100
+ "segments": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000000\\segments.json",
101
+ "gemini_analysis": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000000\\gemini_analysis.json",
102
+ "usda_queries": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000000\\usda_queries.csv",
103
+ "macros_per_100g": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000000\\macros_per_100g.csv",
104
+ "macro_estimate": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000000\\macro_estimate.json"
105
+ }
106
+ }
data/nutrition/demo/000000/usda_queries.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ class_name,fdc_query
2
+ meat,shrimp cooked grilled
3
+ rice,rice white cooked seasoned
4
+ vegetables,carrots cooked raisins
data/nutrition/demo/000001/gemini_analysis.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "meal_summary": "Cooked shrimp with carrot sticks and shelled edamame.",
3
+ "components": [
4
+ {
5
+ "class_name": "meat",
6
+ "likely_food": "Cooked shrimp",
7
+ "fdc_query": "shrimp cooked",
8
+ "confidence": 0.9,
9
+ "notes": "Mapped to the 'meat' segment. The segmentation's area fraction for meat is significantly underestimated compared to visual observation."
10
+ },
11
+ {
12
+ "class_name": "vegetables",
13
+ "likely_food": "Raw carrot sticks",
14
+ "fdc_query": "carrot raw",
15
+ "confidence": 0.95,
16
+ "notes": "Part of the 'vegetables' segment. Visually, a substantial portion."
17
+ },
18
+ {
19
+ "class_name": "vegetables",
20
+ "likely_food": "Shelled edamame",
21
+ "fdc_query": "edamame shelled cooked",
22
+ "confidence": 0.95,
23
+ "notes": "Part of the 'vegetables' segment. Visually, a substantial portion."
24
+ }
25
+ ],
26
+ "portion_assumptions": {
27
+ "total_plate_grams": 500,
28
+ "rationale": "Standard assumption for a balanced meal plate. Segmentation area fractions are not used for proportional estimation due to clear inaccuracies; visual estimation suggests a more balanced distribution of components."
29
+ }
30
+ }
data/nutrition/demo/000001/macro_estimate.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "items": [
3
+ {
4
+ "class_name": "meat",
5
+ "grams": 7.3,
6
+ "kcal": 7.3,
7
+ "protein": 1.8,
8
+ "fat": 0.0,
9
+ "carbs": 0.0
10
+ },
11
+ {
12
+ "class_name": "vegetables",
13
+ "grams": 492.7,
14
+ "kcal": 202.0,
15
+ "protein": 4.6,
16
+ "fat": 1.2,
17
+ "carbs": 47.2
18
+ }
19
+ ],
20
+ "totals": {
21
+ "grams": 500.0,
22
+ "kcal": 209.3,
23
+ "protein": 6.3,
24
+ "fat": 1.2,
25
+ "carbs": 47.2
26
+ }
27
+ }
data/nutrition/demo/000001/macros_per_100g.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ class_name,fdc_query,fdc_id,fdc_description,kcal,protein,fat,carbs
2
+ meat,shrimp cooked,175180,"Crustaceans, shrimp, cooked",99.0,24.0,0.28,0.2
3
+ vegetables,carrot raw,170393,"Carrots, raw",41.0,0.93,0.24,9.58
data/nutrition/demo/000001/segments.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\processed\\foodseg103_target_yolo\\images\\val\\000001.jpg",
3
+ "weights": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\runs\\foodseg103_target\\yolov8s_target_e10_w02\\weights\\best.pt",
4
+ "conf": 0.05,
5
+ "total_food_area": 177481,
6
+ "segments": [
7
+ {
8
+ "class_name": "meat",
9
+ "pixel_area": 1747,
10
+ "area_fraction": 0.009843
11
+ },
12
+ {
13
+ "class_name": "vegetables",
14
+ "pixel_area": 175734,
15
+ "area_fraction": 0.990157
16
+ }
17
+ ]
18
+ }
data/nutrition/demo/000001/summary.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\processed\\foodseg103_target_yolo\\images\\val\\000001.jpg",
3
+ "segments": {
4
+ "image": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\processed\\foodseg103_target_yolo\\images\\val\\000001.jpg",
5
+ "weights": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\runs\\foodseg103_target\\yolov8s_target_e10_w02\\weights\\best.pt",
6
+ "conf": 0.05,
7
+ "total_food_area": 177481,
8
+ "segments": [
9
+ {
10
+ "class_name": "meat",
11
+ "pixel_area": 1747,
12
+ "area_fraction": 0.009843
13
+ },
14
+ {
15
+ "class_name": "vegetables",
16
+ "pixel_area": 175734,
17
+ "area_fraction": 0.990157
18
+ }
19
+ ]
20
+ },
21
+ "gemini_analysis": {
22
+ "meal_summary": "Cooked shrimp with carrot sticks and shelled edamame.",
23
+ "components": [
24
+ {
25
+ "class_name": "meat",
26
+ "likely_food": "Cooked shrimp",
27
+ "fdc_query": "shrimp cooked",
28
+ "confidence": 0.9,
29
+ "notes": "Mapped to the 'meat' segment. The segmentation's area fraction for meat is significantly underestimated compared to visual observation."
30
+ },
31
+ {
32
+ "class_name": "vegetables",
33
+ "likely_food": "Raw carrot sticks",
34
+ "fdc_query": "carrot raw",
35
+ "confidence": 0.95,
36
+ "notes": "Part of the 'vegetables' segment. Visually, a substantial portion."
37
+ },
38
+ {
39
+ "class_name": "vegetables",
40
+ "likely_food": "Shelled edamame",
41
+ "fdc_query": "edamame shelled cooked",
42
+ "confidence": 0.95,
43
+ "notes": "Part of the 'vegetables' segment. Visually, a substantial portion."
44
+ }
45
+ ],
46
+ "portion_assumptions": {
47
+ "total_plate_grams": 500,
48
+ "rationale": "Standard assumption for a balanced meal plate. Segmentation area fractions are not used for proportional estimation due to clear inaccuracies; visual estimation suggests a more balanced distribution of components."
49
+ }
50
+ },
51
+ "macro_estimate": {
52
+ "items": [
53
+ {
54
+ "class_name": "meat",
55
+ "grams": 7.3,
56
+ "kcal": 7.3,
57
+ "protein": 1.8,
58
+ "fat": 0.0,
59
+ "carbs": 0.0
60
+ },
61
+ {
62
+ "class_name": "vegetables",
63
+ "grams": 492.7,
64
+ "kcal": 202.0,
65
+ "protein": 4.6,
66
+ "fat": 1.2,
67
+ "carbs": 47.2
68
+ }
69
+ ],
70
+ "totals": {
71
+ "grams": 500.0,
72
+ "kcal": 209.3,
73
+ "protein": 6.3,
74
+ "fat": 1.2,
75
+ "carbs": 47.2
76
+ }
77
+ },
78
+ "artifacts": {
79
+ "segments": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000001\\segments.json",
80
+ "gemini_analysis": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000001\\gemini_analysis.json",
81
+ "usda_queries": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000001\\usda_queries.csv",
82
+ "macros_per_100g": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000001\\macros_per_100g.csv",
83
+ "macro_estimate": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000001\\macro_estimate.json"
84
+ }
85
+ }
data/nutrition/demo/000001/usda_queries.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ class_name,fdc_query
2
+ meat,shrimp cooked
3
+ vegetables,carrot raw
data/nutrition/demo/000002/gemini_analysis.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "meal_summary": "A light meal featuring a tuna salad sandwich, cherry tomatoes, pineapple chunks, black olives, and ranch dressing.",
3
+ "components": [
4
+ {
5
+ "class_name": "meat",
6
+ "likely_food": "Tuna salad",
7
+ "fdc_query": "tuna salad",
8
+ "confidence": 0.8,
9
+ "notes": "Represents the protein filling of the sandwich. The bread component is not explicitly classified under the given schema categories."
10
+ },
11
+ {
12
+ "class_name": "vegetables",
13
+ "likely_food": "Cherry tomatoes",
14
+ "fdc_query": "cherry tomatoes",
15
+ "confidence": 1.0,
16
+ "notes": ""
17
+ },
18
+ {
19
+ "class_name": "vegetables",
20
+ "likely_food": "Pineapple chunks",
21
+ "fdc_query": "pineapple chunks canned",
22
+ "confidence": 0.9,
23
+ "notes": "Botanically a fruit, classified under 'vegetables' as the closest available category in the schema."
24
+ },
25
+ {
26
+ "class_name": "vegetables",
27
+ "likely_food": "Black olives",
28
+ "fdc_query": "black olives canned",
29
+ "confidence": 1.0,
30
+ "notes": ""
31
+ },
32
+ {
33
+ "class_name": "vegetables",
34
+ "likely_food": "Ranch dressing",
35
+ "fdc_query": "ranch dressing",
36
+ "confidence": 0.7,
37
+ "notes": "A condiment, classified under 'vegetables' as the closest available category in the schema, often served with vegetables."
38
+ }
39
+ ],
40
+ "portion_assumptions": {
41
+ "total_plate_grams": 350,
42
+ "rationale": "Estimate for a light lunch or child's meal, considering a sandwich, small portions of fruits/vegetables, and a dollop of dressing."
43
+ }
44
+ }
data/nutrition/demo/000002/macro_estimate.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "items": [
3
+ {
4
+ "class_name": "meat",
5
+ "grams": 223.0,
6
+ "kcal": 417.0,
7
+ "protein": 35.7,
8
+ "fat": 20.7,
9
+ "carbs": 21.0
10
+ },
11
+ {
12
+ "class_name": "vegetables",
13
+ "grams": 277.0,
14
+ "kcal": 44.3,
15
+ "protein": 2.2,
16
+ "fat": 0.7,
17
+ "carbs": 9.6
18
+ }
19
+ ],
20
+ "totals": {
21
+ "grams": 500.0,
22
+ "kcal": 461.4,
23
+ "protein": 37.9,
24
+ "fat": 21.3,
25
+ "carbs": 30.6
26
+ }
27
+ }
data/nutrition/demo/000002/macros_per_100g.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ class_name,fdc_query,fdc_id,fdc_description,kcal,protein,fat,carbs
2
+ meat,tuna salad,175160,"Fish, tuna salad",187.0,16.0,9.26,9.41
3
+ vegetables,cherry tomatoes,170051,"Tomatoes, red, ripe, canned, packed in tomato juice",16.0,0.79,0.25,3.47
data/nutrition/demo/000002/segments.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\processed\\foodseg103_target_yolo\\images\\val\\000002.jpg",
3
+ "weights": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\runs\\foodseg103_target\\yolov8s_target_e10_w02\\weights\\best.pt",
4
+ "conf": 0.05,
5
+ "total_food_area": 82962,
6
+ "segments": [
7
+ {
8
+ "class_name": "meat",
9
+ "pixel_area": 28978,
10
+ "area_fraction": 0.349292
11
+ },
12
+ {
13
+ "class_name": "vegetables",
14
+ "pixel_area": 53984,
15
+ "area_fraction": 0.650708
16
+ }
17
+ ]
18
+ }
data/nutrition/demo/000002/summary.json ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\processed\\foodseg103_target_yolo\\images\\val\\000002.jpg",
3
+ "segments": {
4
+ "image": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\processed\\foodseg103_target_yolo\\images\\val\\000002.jpg",
5
+ "weights": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\runs\\foodseg103_target\\yolov8s_target_e10_w02\\weights\\best.pt",
6
+ "conf": 0.05,
7
+ "total_food_area": 82962,
8
+ "segments": [
9
+ {
10
+ "class_name": "meat",
11
+ "pixel_area": 28978,
12
+ "area_fraction": 0.349292
13
+ },
14
+ {
15
+ "class_name": "vegetables",
16
+ "pixel_area": 53984,
17
+ "area_fraction": 0.650708
18
+ }
19
+ ]
20
+ },
21
+ "gemini_analysis": {
22
+ "meal_summary": "A light meal featuring a tuna salad sandwich, cherry tomatoes, pineapple chunks, black olives, and ranch dressing.",
23
+ "components": [
24
+ {
25
+ "class_name": "meat",
26
+ "likely_food": "Tuna salad",
27
+ "fdc_query": "tuna salad",
28
+ "confidence": 0.8,
29
+ "notes": "Represents the protein filling of the sandwich. The bread component is not explicitly classified under the given schema categories."
30
+ },
31
+ {
32
+ "class_name": "vegetables",
33
+ "likely_food": "Cherry tomatoes",
34
+ "fdc_query": "cherry tomatoes",
35
+ "confidence": 1.0,
36
+ "notes": ""
37
+ },
38
+ {
39
+ "class_name": "vegetables",
40
+ "likely_food": "Pineapple chunks",
41
+ "fdc_query": "pineapple chunks canned",
42
+ "confidence": 0.9,
43
+ "notes": "Botanically a fruit, classified under 'vegetables' as the closest available category in the schema."
44
+ },
45
+ {
46
+ "class_name": "vegetables",
47
+ "likely_food": "Black olives",
48
+ "fdc_query": "black olives canned",
49
+ "confidence": 1.0,
50
+ "notes": ""
51
+ },
52
+ {
53
+ "class_name": "vegetables",
54
+ "likely_food": "Ranch dressing",
55
+ "fdc_query": "ranch dressing",
56
+ "confidence": 0.7,
57
+ "notes": "A condiment, classified under 'vegetables' as the closest available category in the schema, often served with vegetables."
58
+ }
59
+ ],
60
+ "portion_assumptions": {
61
+ "total_plate_grams": 350,
62
+ "rationale": "Estimate for a light lunch or child's meal, considering a sandwich, small portions of fruits/vegetables, and a dollop of dressing."
63
+ }
64
+ },
65
+ "macro_estimate": {
66
+ "items": [
67
+ {
68
+ "class_name": "meat",
69
+ "grams": 223.0,
70
+ "kcal": 417.0,
71
+ "protein": 35.7,
72
+ "fat": 20.7,
73
+ "carbs": 21.0
74
+ },
75
+ {
76
+ "class_name": "vegetables",
77
+ "grams": 277.0,
78
+ "kcal": 44.3,
79
+ "protein": 2.2,
80
+ "fat": 0.7,
81
+ "carbs": 9.6
82
+ }
83
+ ],
84
+ "totals": {
85
+ "grams": 500.0,
86
+ "kcal": 461.4,
87
+ "protein": 37.9,
88
+ "fat": 21.3,
89
+ "carbs": 30.6
90
+ }
91
+ },
92
+ "artifacts": {
93
+ "segments": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000002\\segments.json",
94
+ "gemini_analysis": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000002\\gemini_analysis.json",
95
+ "usda_queries": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000002\\usda_queries.csv",
96
+ "macros_per_100g": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000002\\macros_per_100g.csv",
97
+ "macro_estimate": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000002\\macro_estimate.json"
98
+ }
99
+ }
data/nutrition/demo/000002/usda_queries.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ class_name,fdc_query
2
+ meat,tuna salad
3
+ vegetables,cherry tomatoes
data/nutrition/demo/000004/gemini_analysis.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "meal_summary": "A light meal featuring thinly sliced smoked salmon, dark rye bread, and a small serving of berry sauce.",
3
+ "components": [
4
+ {
5
+ "class_name": "meat",
6
+ "likely_food": "Smoked Salmon",
7
+ "fdc_query": "smoked salmon",
8
+ "confidence": 0.95,
9
+ "notes": "Thinly sliced, cured fish, likely salmon."
10
+ },
11
+ {
12
+ "class_name": "rice",
13
+ "likely_food": "Dark Rye Bread",
14
+ "fdc_query": "dark rye bread",
15
+ "confidence": 0.9,
16
+ "notes": "Three slices of dense, dark bread. Classified as 'rice' as a proxy for a grain/carbohydrate component due to schema limitations."
17
+ },
18
+ {
19
+ "class_name": "vegetables",
20
+ "likely_food": "Berry Sauce",
21
+ "fdc_query": "berry sauce",
22
+ "confidence": 0.7,
23
+ "notes": "Small serving of dark, thick sauce, likely fruit-based (e.g., lingonberry). Classified as 'vegetables' as a proxy for a fruit-based condiment due to schema limitations."
24
+ }
25
+ ],
26
+ "portion_assumptions": {
27
+ "total_plate_grams": 220,
28
+ "rationale": "Estimate based on approximately 100g smoked salmon, 90g (3 slices) dark rye bread, and 30g berry sauce."
29
+ }
30
+ }
data/nutrition/demo/000004/macro_estimate.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "items": [
3
+ {
4
+ "class_name": "meat",
5
+ "grams": 500.0,
6
+ "kcal": 585.0,
7
+ "protein": 91.5,
8
+ "fat": 21.6,
9
+ "carbs": 0.0
10
+ }
11
+ ],
12
+ "totals": {
13
+ "grams": 500.0,
14
+ "kcal": 585.0,
15
+ "protein": 91.5,
16
+ "fat": 21.6,
17
+ "carbs": 0.0
18
+ }
19
+ }
data/nutrition/demo/000004/macros_per_100g.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ class_name,fdc_query,fdc_id,fdc_description,kcal,protein,fat,carbs
2
+ meat,smoked salmon,173687,"Fish, salmon, chinook, smoked",117.0,18.3,4.32,0.0
3
+ rice,dark rye bread,172684,"Bread, rye",259.0,8.5,3.3,48.3
4
+ vegetables,berry sauce,174803,"Snack, Mixed Berry Bar",383.0,13.2,10.5,58.8
data/nutrition/demo/000004/segments.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\processed\\foodseg103_target_yolo\\images\\val\\000004.jpg",
3
+ "weights": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\runs\\foodseg103_target\\yolov8s_target_e10_w02\\weights\\best.pt",
4
+ "conf": 0.05,
5
+ "total_food_area": 453460,
6
+ "segments": [
7
+ {
8
+ "class_name": "meat",
9
+ "pixel_area": 453460,
10
+ "area_fraction": 1.0
11
+ }
12
+ ]
13
+ }
data/nutrition/demo/000004/summary.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\processed\\foodseg103_target_yolo\\images\\val\\000004.jpg",
3
+ "segments": {
4
+ "image": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\processed\\foodseg103_target_yolo\\images\\val\\000004.jpg",
5
+ "weights": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\runs\\foodseg103_target\\yolov8s_target_e10_w02\\weights\\best.pt",
6
+ "conf": 0.05,
7
+ "total_food_area": 453460,
8
+ "segments": [
9
+ {
10
+ "class_name": "meat",
11
+ "pixel_area": 453460,
12
+ "area_fraction": 1.0
13
+ }
14
+ ]
15
+ },
16
+ "gemini_analysis": {
17
+ "meal_summary": "A light meal featuring thinly sliced smoked salmon, dark rye bread, and a small serving of berry sauce.",
18
+ "components": [
19
+ {
20
+ "class_name": "meat",
21
+ "likely_food": "Smoked Salmon",
22
+ "fdc_query": "smoked salmon",
23
+ "confidence": 0.95,
24
+ "notes": "Thinly sliced, cured fish, likely salmon."
25
+ },
26
+ {
27
+ "class_name": "rice",
28
+ "likely_food": "Dark Rye Bread",
29
+ "fdc_query": "dark rye bread",
30
+ "confidence": 0.9,
31
+ "notes": "Three slices of dense, dark bread. Classified as 'rice' as a proxy for a grain/carbohydrate component due to schema limitations."
32
+ },
33
+ {
34
+ "class_name": "vegetables",
35
+ "likely_food": "Berry Sauce",
36
+ "fdc_query": "berry sauce",
37
+ "confidence": 0.7,
38
+ "notes": "Small serving of dark, thick sauce, likely fruit-based (e.g., lingonberry). Classified as 'vegetables' as a proxy for a fruit-based condiment due to schema limitations."
39
+ }
40
+ ],
41
+ "portion_assumptions": {
42
+ "total_plate_grams": 220,
43
+ "rationale": "Estimate based on approximately 100g smoked salmon, 90g (3 slices) dark rye bread, and 30g berry sauce."
44
+ }
45
+ },
46
+ "macro_estimate": {
47
+ "items": [
48
+ {
49
+ "class_name": "meat",
50
+ "grams": 500.0,
51
+ "kcal": 585.0,
52
+ "protein": 91.5,
53
+ "fat": 21.6,
54
+ "carbs": 0.0
55
+ }
56
+ ],
57
+ "totals": {
58
+ "grams": 500.0,
59
+ "kcal": 585.0,
60
+ "protein": 91.5,
61
+ "fat": 21.6,
62
+ "carbs": 0.0
63
+ }
64
+ },
65
+ "artifacts": {
66
+ "segments": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000004\\segments.json",
67
+ "gemini_analysis": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000004\\gemini_analysis.json",
68
+ "usda_queries": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000004\\usda_queries.csv",
69
+ "macros_per_100g": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000004\\macros_per_100g.csv",
70
+ "macro_estimate": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000004\\macro_estimate.json"
71
+ }
72
+ }
data/nutrition/demo/000004/usda_queries.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ class_name,fdc_query
2
+ meat,smoked salmon
3
+ rice,dark rye bread
4
+ vegetables,berry sauce
data/nutrition/demo/000005/gemini_analysis.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "meal_summary": "A meal consisting of a glazed chicken drumstick and a portion of white rice.",
3
+ "components": [
4
+ {
5
+ "class_name": "meat",
6
+ "likely_food": "Chicken drumstick",
7
+ "fdc_query": "chicken drumstick cooked",
8
+ "confidence": 0.9,
9
+ "notes": "The meat appears to be a single chicken drumstick, possibly glazed or sauced."
10
+ },
11
+ {
12
+ "class_name": "rice",
13
+ "likely_food": "White rice",
14
+ "fdc_query": "white rice cooked",
15
+ "confidence": 0.95,
16
+ "notes": "The segmentation model incorrectly classified this as 'vegetables'. It is clearly a portion of cooked white rice."
17
+ }
18
+ ],
19
+ "portion_assumptions": {
20
+ "total_plate_grams": 350,
21
+ "rationale": "Estimated based on typical serving sizes for one chicken drumstick (approx. 150g) and a moderate portion of cooked white rice (approx. 200g)."
22
+ }
23
+ }
data/nutrition/demo/000005/macro_estimate.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "items": [
3
+ {
4
+ "class_name": "meat",
5
+ "grams": 281.9,
6
+ "kcal": 538.5,
7
+ "protein": 66.0,
8
+ "fat": 28.8,
9
+ "carbs": 0.0
10
+ },
11
+ {
12
+ "class_name": "vegetables",
13
+ "grams": 218.1,
14
+ "kcal": 211.5,
15
+ "protein": 4.4,
16
+ "fat": 0.4,
17
+ "carbs": 46.0
18
+ }
19
+ ],
20
+ "totals": {
21
+ "grams": 500.0,
22
+ "kcal": 750.0,
23
+ "protein": 70.4,
24
+ "fat": 29.2,
25
+ "carbs": 46.0
26
+ }
27
+ }
data/nutrition/demo/000005/macros_per_100g.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ class_name,fdc_query,fdc_id,fdc_description,kcal,protein,fat,carbs
2
+ meat,chicken drumstick cooked,173612,"Chicken, broilers or fryers, drumstick, meat and skin, cooked, roasted",191.0,23.4,10.2,0.0
3
+ rice,white rice cooked,169711,"Rice, white, glutinous, unenriched, cooked",97.0,2.02,0.19,21.1
4
+ vegetables,white rice cooked,169711,"Rice, white, glutinous, unenriched, cooked",97.0,2.02,0.19,21.1
data/nutrition/demo/000005/segments.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\processed\\foodseg103_target_yolo\\images\\val\\000005.jpg",
3
+ "weights": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\runs\\foodseg103_target\\yolov8s_target_e10_w02\\weights\\best.pt",
4
+ "conf": 0.05,
5
+ "total_food_area": 66970,
6
+ "segments": [
7
+ {
8
+ "class_name": "meat",
9
+ "pixel_area": 30999,
10
+ "area_fraction": 0.462879
11
+ },
12
+ {
13
+ "class_name": "vegetables",
14
+ "pixel_area": 35971,
15
+ "area_fraction": 0.537121
16
+ }
17
+ ]
18
+ }
data/nutrition/demo/000005/summary.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\processed\\foodseg103_target_yolo\\images\\val\\000005.jpg",
3
+ "segments": {
4
+ "image": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\processed\\foodseg103_target_yolo\\images\\val\\000005.jpg",
5
+ "weights": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\runs\\foodseg103_target\\yolov8s_target_e10_w02\\weights\\best.pt",
6
+ "conf": 0.05,
7
+ "total_food_area": 66970,
8
+ "segments": [
9
+ {
10
+ "class_name": "meat",
11
+ "pixel_area": 30999,
12
+ "area_fraction": 0.462879
13
+ },
14
+ {
15
+ "class_name": "vegetables",
16
+ "pixel_area": 35971,
17
+ "area_fraction": 0.537121
18
+ }
19
+ ]
20
+ },
21
+ "gemini_analysis": {
22
+ "meal_summary": "A meal consisting of a glazed chicken drumstick and a portion of white rice.",
23
+ "components": [
24
+ {
25
+ "class_name": "meat",
26
+ "likely_food": "Chicken drumstick",
27
+ "fdc_query": "chicken drumstick cooked",
28
+ "confidence": 0.9,
29
+ "notes": "The meat appears to be a single chicken drumstick, possibly glazed or sauced."
30
+ },
31
+ {
32
+ "class_name": "rice",
33
+ "likely_food": "White rice",
34
+ "fdc_query": "white rice cooked",
35
+ "confidence": 0.95,
36
+ "notes": "The segmentation model incorrectly classified this as 'vegetables'. It is clearly a portion of cooked white rice."
37
+ }
38
+ ],
39
+ "portion_assumptions": {
40
+ "total_plate_grams": 350,
41
+ "rationale": "Estimated based on typical serving sizes for one chicken drumstick (approx. 150g) and a moderate portion of cooked white rice (approx. 200g)."
42
+ }
43
+ },
44
+ "macro_estimate": {
45
+ "items": [
46
+ {
47
+ "class_name": "meat",
48
+ "grams": 281.9,
49
+ "kcal": 538.5,
50
+ "protein": 66.0,
51
+ "fat": 28.8,
52
+ "carbs": 0.0
53
+ },
54
+ {
55
+ "class_name": "vegetables",
56
+ "grams": 218.1,
57
+ "kcal": 211.5,
58
+ "protein": 4.4,
59
+ "fat": 0.4,
60
+ "carbs": 46.0
61
+ }
62
+ ],
63
+ "totals": {
64
+ "grams": 500.0,
65
+ "kcal": 750.0,
66
+ "protein": 70.4,
67
+ "fat": 29.2,
68
+ "carbs": 46.0
69
+ }
70
+ },
71
+ "artifacts": {
72
+ "segments": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000005\\segments.json",
73
+ "gemini_analysis": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000005\\gemini_analysis.json",
74
+ "usda_queries": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000005\\usda_queries.csv",
75
+ "macros_per_100g": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000005\\macros_per_100g.csv",
76
+ "macro_estimate": "C:\\Users\\Kelno\\OneDrive\\Documents\\deep_learning\\data\\nutrition\\demo\\000005\\macro_estimate.json"
77
+ }
78
+ }
data/nutrition/demo/000005/usda_queries.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ class_name,fdc_query
2
+ meat,chicken drumstick cooked
3
+ rice,white rice cooked
4
+ vegetables,white rice cooked
data/nutrition/demo/batch_summary.csv ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ carbs,fat,grams,image,kcal,meal_summary,meat_area_fraction,meat_fdc_query,meat_likely_food,protein,rice_area_fraction,rice_fdc_query,rice_likely_food,summary_path,vegetables_area_fraction,vegetables_fdc_query,vegetables_likely_food
2
+ 119.3,3.2,500.0,C:\Users\Kelno\OneDrive\Documents\deep_learning\data\processed\foodseg103_target_yolo\images\val\000000.jpg,659.8,"A meal featuring grilled shrimp, yellow rice, and a side of glazed carrots with raisins and green beans.",0.169944,shrimp grilled,Grilled Shrimp,38.3,0.197499,rice cooked yellow,Yellow Rice,data\nutrition\demo\000000\summary.json,0.632557,carrots green beans cooked,Glazed Carrots with Raisins and Green Beans
3
+ 47.2,1.2,500.0,C:\Users\Kelno\OneDrive\Documents\deep_learning\data\processed\foodseg103_target_yolo\images\val\000001.jpg,209.3,Cooked shrimp with carrot sticks and shelled edamame.,0.009843,shrimp cooked,Cooked shrimp,6.3,,,,data\nutrition\demo\000001\summary.json,0.990157,edamame shelled cooked,Shelled edamame
4
+ 30.6,21.3,500.0,C:\Users\Kelno\OneDrive\Documents\deep_learning\data\processed\foodseg103_target_yolo\images\val\000002.jpg,461.4,"A light meal featuring a tuna salad sandwich, cherry tomatoes, pineapple chunks, black olives, and ranch dressing.",0.349292,tuna salad,Tuna salad,37.9,,,,data\nutrition\demo\000002\summary.json,0.650708,ranch dressing,Ranch dressing
5
+ 0.0,21.6,500.0,C:\Users\Kelno\OneDrive\Documents\deep_learning\data\processed\foodseg103_target_yolo\images\val\000004.jpg,585.0,"A light meal featuring thinly sliced smoked salmon, dark rye bread, and a small serving of berry sauce.",1.0,smoked salmon,Smoked Salmon,91.5,,dark rye bread,Dark Rye Bread,data\nutrition\demo\000004\summary.json,,berry sauce,Berry Sauce
6
+ 46.0,29.2,500.0,C:\Users\Kelno\OneDrive\Documents\deep_learning\data\processed\foodseg103_target_yolo\images\val\000005.jpg,750.0,A meal consisting of a glazed chicken drumstick and a portion of white rice.,0.462879,chicken drumstick cooked,Chicken drumstick,70.4,,white rice cooked,White rice,data\nutrition\demo\000005\summary.json,0.537121,,
data/nutrition/demo/cards/000000.png ADDED

Git LFS Details

  • SHA256: 295606fd640f3284b9c43acdafb1698426e3f2c166be8ce97476610aff693028
  • Pointer size: 131 Bytes
  • Size of remote file: 350 kB
data/nutrition/demo/cards/000001.png ADDED

Git LFS Details

  • SHA256: e33c7e2425822ef32dae4545f8b364a4e9d95f366e1ecd0be96ebac64a5d8143
  • Pointer size: 131 Bytes
  • Size of remote file: 379 kB
data/nutrition/demo/cards/000002.png ADDED

Git LFS Details

  • SHA256: 6c46b7125e01e0239811850f855f39f3ea8cc77fdff793cc1ab91dcc96408787
  • Pointer size: 131 Bytes
  • Size of remote file: 277 kB
data/nutrition/demo/cards/000004.png ADDED

Git LFS Details

  • SHA256: 0b4a92af48d3ea8e593fa9493968131a7ef0468613f4da32a12139e5adb5b9da
  • Pointer size: 131 Bytes
  • Size of remote file: 400 kB
data/nutrition/demo/cards/000005.png ADDED

Git LFS Details

  • SHA256: 021d0e7ec963f594ee6246b3dffb0e93ae33fcce816b3d665f680253a0f314a2
  • Pointer size: 131 Bytes
  • Size of remote file: 310 kB
data/nutrition/fdc_cache.json ADDED
@@ -0,0 +1,1193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ranked-v2|foundation,sr legacy,fndds|10|chicken roasted skin on": {
3
+ "additionalDescriptions": "",
4
+ "allHighlightFields": "",
5
+ "commonNames": "",
6
+ "dataType": "SR Legacy",
7
+ "description": "Chicken, roasting, meat and skin, cooked, roasted",
8
+ "fdcId": 173635,
9
+ "finalFoodInputFoods": [],
10
+ "foodAttributeTypes": [],
11
+ "foodAttributes": [],
12
+ "foodCategory": "Poultry Products",
13
+ "foodMeasures": [],
14
+ "foodNutrients": [
15
+ {
16
+ "dataPoints": 0,
17
+ "derivationCode": "Z",
18
+ "derivationDescription": "Assumed zero (Insignificant amount or not naturally occurring in a food, such as fiber in meat)",
19
+ "derivationId": 68,
20
+ "foodNutrientId": 1794611,
21
+ "foodNutrientSourceCode": "7",
22
+ "foodNutrientSourceDescription": "Assumed zero",
23
+ "foodNutrientSourceId": 5,
24
+ "indentLevel": 0,
25
+ "nutrientId": 1186,
26
+ "nutrientName": "Folic acid",
27
+ "nutrientNumber": "431",
28
+ "rank": 7000,
29
+ "unitName": "UG",
30
+ "value": 0.0
31
+ },
32
+ {
33
+ "dataPoints": 0,
34
+ "derivationCode": "NC",
35
+ "derivationDescription": "Calculated",
36
+ "derivationId": 49,
37
+ "foodNutrientId": 1794612,
38
+ "foodNutrientSourceCode": "4",
39
+ "foodNutrientSourceDescription": "Calculated or imputed",
40
+ "foodNutrientSourceId": 2,
41
+ "indentLevel": 1,
42
+ "nutrientId": 1190,
43
+ "nutrientName": "Folate, DFE",
44
+ "nutrientNumber": "435",
45
+ "rank": 7200,
46
+ "unitName": "UG",
47
+ "value": 5.0
48
+ },
49
+ {
50
+ "dataPoints": 37,
51
+ "derivationCode": "A",
52
+ "derivationDescription": "Analytical",
53
+ "derivationId": 1,
54
+ "foodNutrientId": 1794613,
55
+ "foodNutrientSourceCode": "1",
56
+ "foodNutrientSourceDescription": "Analytical or derived from analytical",
57
+ "foodNutrientSourceId": 1,
58
+ "indentLevel": 1,
59
+ "max": 25.0,
60
+ "min": 3.7,
61
+ "nutrientId": 1099,
62
+ "nutrientName": "Fluoride, F",
63
+ "nutrientNumber": "313",
64
+ "rank": 6240,
65
+ "unitName": "UG",
66
+ "value": 14.7
67
+ },
68
+ {
69
+ "dataPoints": 0,
70
+ "foodNutrientId": 1794614,
71
+ "indentLevel": 1,
72
+ "nutrientId": 1062,
73
+ "nutrientName": "Energy",
74
+ "nutrientNumber": "268",
75
+ "rank": 400,
76
+ "unitName": "kJ",
77
+ "value": 933
78
+ },
79
+ {
80
+ "dataPoints": 0,
81
+ "foodNutrientId": 1794615,
82
+ "indentLevel": 1,
83
+ "nutrientId": 1187,
84
+ "nutrientName": "Folate, food",
85
+ "nutrientNumber": "432",
86
+ "rank": 7100,
87
+ "unitName": "UG",
88
+ "value": 5.0
89
+ },
90
+ {
91
+ "dataPoints": 0,
92
+ "derivationCode": "BFYN",
93
+ "derivationDescription": "Based on another form of the food or similar food; Concentration adjustment; Yield; Retention factors not used",
94
+ "derivationId": 18,
95
+ "foodNutrientId": 1794616,
96
+ "foodNutrientSourceCode": "4",
97
+ "foodNutrientSourceDescription": "Calculated or imputed",
98
+ "foodNutrientSourceId": 2,
99
+ "indentLevel": 1,
100
+ "nutrientId": 1103,
101
+ "nutrientName": "Selenium, Se",
102
+ "nutrientNumber": "317",
103
+ "rank": 6200,
104
+ "unitName": "UG",
105
+ "value": 23.6
106
+ },
107
+ {
108
+ "dataPoints": 0,
109
+ "foodNutrientId": 1794617,
110
+ "indentLevel": 1,
111
+ "nutrientId": 1003,
112
+ "nutrientName": "Protein",
113
+ "nutrientNumber": "203",
114
+ "rank": 600,
115
+ "unitName": "G",
116
+ "value": 24.0
117
+ },
118
+ {
119
+ "dataPoints": 0,
120
+ "foodNutrientId": 1794618,
121
+ "indentLevel": 1,
122
+ "nutrientId": 1007,
123
+ "nutrientName": "Ash",
124
+ "nutrientNumber": "207",
125
+ "rank": 1000,
126
+ "unitName": "G",
127
+ "value": 0.86
128
+ },
129
+ {
130
+ "dataPoints": 0,
131
+ "foodNutrientId": 1794619,
132
+ "indentLevel": 1,
133
+ "nutrientId": 1210,
134
+ "nutrientName": "Tryptophan",
135
+ "nutrientNumber": "501",
136
+ "rank": 16300,
137
+ "unitName": "G",
138
+ "value": 0.266
139
+ },
140
+ {
141
+ "dataPoints": 0,
142
+ "foodNutrientId": 1794620,
143
+ "indentLevel": 1,
144
+ "nutrientId": 1211,
145
+ "nutrientName": "Threonine",
146
+ "nutrientNumber": "502",
147
+ "rank": 16400,
148
+ "unitName": "G",
149
+ "value": 0.989
150
+ },
151
+ {
152
+ "dataPoints": 0,
153
+ "foodNutrientId": 1794621,
154
+ "indentLevel": 1,
155
+ "nutrientId": 1215,
156
+ "nutrientName": "Methionine",
157
+ "nutrientNumber": "506",
158
+ "rank": 16800,
159
+ "unitName": "G",
160
+ "value": 0.636
161
+ },
162
+ {
163
+ "dataPoints": 0,
164
+ "foodNutrientId": 1794622,
165
+ "indentLevel": 1,
166
+ "nutrientId": 1217,
167
+ "nutrientName": "Phenylalanine",
168
+ "nutrientNumber": "508",
169
+ "rank": 17000,
170
+ "unitName": "G",
171
+ "value": 0.929
172
+ },
173
+ {
174
+ "dataPoints": 0,
175
+ "foodNutrientId": 1794623,
176
+ "indentLevel": 1,
177
+ "nutrientId": 1218,
178
+ "nutrientName": "Tyrosine",
179
+ "nutrientNumber": "509",
180
+ "rank": 17100,
181
+ "unitName": "G",
182
+ "value": 0.769
183
+ },
184
+ {
185
+ "dataPoints": 0,
186
+ "foodNutrientId": 1794624,
187
+ "indentLevel": 1,
188
+ "nutrientId": 1222,
189
+ "nutrientName": "Alanine",
190
+ "nutrientNumber": "513",
191
+ "rank": 17500,
192
+ "unitName": "G",
193
+ "value": 1.4
194
+ },
195
+ {
196
+ "dataPoints": 0,
197
+ "foodNutrientId": 1794625,
198
+ "indentLevel": 1,
199
+ "nutrientId": 1224,
200
+ "nutrientName": "Glutamic acid",
201
+ "nutrientNumber": "515",
202
+ "rank": 17700,
203
+ "unitName": "G",
204
+ "value": 3.5
205
+ },
206
+ {
207
+ "dataPoints": 0,
208
+ "foodNutrientId": 1794626,
209
+ "indentLevel": 1,
210
+ "nutrientId": 1225,
211
+ "nutrientName": "Glycine",
212
+ "nutrientNumber": "516",
213
+ "rank": 17800,
214
+ "unitName": "G",
215
+ "value": 1.57
216
+ },
217
+ {
218
+ "dataPoints": 0,
219
+ "foodNutrientId": 1794627,
220
+ "indentLevel": 1,
221
+ "nutrientId": 1226,
222
+ "nutrientName": "Proline",
223
+ "nutrientNumber": "517",
224
+ "rank": 17900,
225
+ "unitName": "G",
226
+ "value": 1.17
227
+ },
228
+ {
229
+ "dataPoints": 0,
230
+ "foodNutrientId": 1794628,
231
+ "indentLevel": 1,
232
+ "nutrientId": 1253,
233
+ "nutrientName": "Cholesterol",
234
+ "nutrientNumber": "601",
235
+ "rank": 15700,
236
+ "unitName": "MG",
237
+ "value": 76.0
238
+ },
239
+ {
240
+ "dataPoints": 0,
241
+ "foodNutrientId": 1794629,
242
+ "indentLevel": 1,
243
+ "nutrientId": 1258,
244
+ "nutrientName": "Fatty acids, total saturated",
245
+ "nutrientNumber": "606",
246
+ "rank": 9700,
247
+ "unitName": "G",
248
+ "value": 3.74
249
+ },
250
+ {
251
+ "dataPoints": 0,
252
+ "foodNutrientId": 1794630,
253
+ "indentLevel": 2,
254
+ "nutrientId": 1263,
255
+ "nutrientName": "SFA 12:0",
256
+ "nutrientNumber": "611",
257
+ "rank": 10300,
258
+ "unitName": "G",
259
+ "value": 0.02
260
+ },
261
+ {
262
+ "dataPoints": 0,
263
+ "foodNutrientId": 1794631,
264
+ "indentLevel": 2,
265
+ "nutrientId": 1264,
266
+ "nutrientName": "SFA 14:0",
267
+ "nutrientNumber": "612",
268
+ "rank": 10500,
269
+ "unitName": "G",
270
+ "value": 0.11
271
+ },
272
+ {
273
+ "dataPoints": 0,
274
+ "foodNutrientId": 1794632,
275
+ "indentLevel": 2,
276
+ "nutrientId": 1272,
277
+ "nutrientName": "PUFA 22:6 n-3 (DHA)",
278
+ "nutrientNumber": "621",
279
+ "rank": 15300,
280
+ "unitName": "G",
281
+ "value": 0.03
282
+ },
283
+ {
284
+ "dataPoints": 0,
285
+ "foodNutrientId": 1794633,
286
+ "indentLevel": 2,
287
+ "nutrientId": 1275,
288
+ "nutrientName": "MUFA 16:1",
289
+ "nutrientNumber": "626",
290
+ "rank": 11700,
291
+ "unitName": "G",
292
+ "value": 0.74
293
+ },
294
+ {
295
+ "dataPoints": 0,
296
+ "foodNutrientId": 1794634,
297
+ "indentLevel": 2,
298
+ "nutrientId": 1278,
299
+ "nutrientName": "PUFA 20:5 n-3 (EPA)",
300
+ "nutrientNumber": "629",
301
+ "rank": 15000,
302
+ "unitName": "G",
303
+ "value": 0.01
304
+ },
305
+ {
306
+ "dataPoints": 0,
307
+ "foodNutrientId": 1794635,
308
+ "indentLevel": 2,
309
+ "nutrientId": 1280,
310
+ "nutrientName": "PUFA 22:5 n-3 (DPA)",
311
+ "nutrientNumber": "631",
312
+ "rank": 15200,
313
+ "unitName": "G",
314
+ "value": 0.02
315
+ },
316
+ {
317
+ "dataPoints": 0,
318
+ "derivationCode": "Z",
319
+ "derivationDescription": "Assumed zero (Insignificant amount or not naturally occurring in a food, such as fiber in meat)",
320
+ "derivationId": 68,
321
+ "foodNutrientId": 1794636,
322
+ "foodNutrientSourceCode": "7",
323
+ "foodNutrientSourceDescription": "Assumed zero",
324
+ "foodNutrientSourceId": 5,
325
+ "indentLevel": 3,
326
+ "nutrientId": 1079,
327
+ "nutrientName": "Fiber, total dietary",
328
+ "nutrientNumber": "291",
329
+ "rank": 1200,
330
+ "unitName": "G",
331
+ "value": 0.0
332
+ },
333
+ {
334
+ "dataPoints": 0,
335
+ "foodNutrientId": 1794637,
336
+ "indentLevel": 1,
337
+ "nutrientId": 1089,
338
+ "nutrientName": "Iron, Fe",
339
+ "nutrientNumber": "303",
340
+ "rank": 5400,
341
+ "unitName": "MG",
342
+ "value": 1.26
343
+ },
344
+ {
345
+ "dataPoints": 0,
346
+ "foodNutrientId": 1794638,
347
+ "indentLevel": 1,
348
+ "nutrientId": 1090,
349
+ "nutrientName": "Magnesium, Mg",
350
+ "nutrientNumber": "304",
351
+ "rank": 5500,
352
+ "unitName": "MG",
353
+ "value": 20.0
354
+ },
355
+ {
356
+ "dataPoints": 0,
357
+ "foodNutrientId": 1794639,
358
+ "indentLevel": 1,
359
+ "nutrientId": 1091,
360
+ "nutrientName": "Phosphorus, P",
361
+ "nutrientNumber": "305",
362
+ "rank": 5600,
363
+ "unitName": "MG",
364
+ "value": 179
365
+ },
366
+ {
367
+ "dataPoints": 0,
368
+ "foodNutrientId": 1794640,
369
+ "indentLevel": 1,
370
+ "nutrientId": 1093,
371
+ "nutrientName": "Sodium, Na",
372
+ "nutrientNumber": "307",
373
+ "rank": 5800,
374
+ "unitName": "MG",
375
+ "value": 73.0
376
+ },
377
+ {
378
+ "dataPoints": 0,
379
+ "foodNutrientId": 1794641,
380
+ "indentLevel": 1,
381
+ "nutrientId": 1098,
382
+ "nutrientName": "Copper, Cu",
383
+ "nutrientNumber": "312",
384
+ "rank": 6000,
385
+ "unitName": "MG",
386
+ "value": 0.058
387
+ },
388
+ {
389
+ "dataPoints": 0,
390
+ "foodNutrientId": 1794642,
391
+ "indentLevel": 1,
392
+ "nutrientId": 1101,
393
+ "nutrientName": "Manganese, Mn",
394
+ "nutrientNumber": "315",
395
+ "rank": 6100,
396
+ "unitName": "MG",
397
+ "value": 0.018
398
+ },
399
+ {
400
+ "dataPoints": 0,
401
+ "foodNutrientId": 1794643,
402
+ "indentLevel": 1,
403
+ "nutrientId": 1104,
404
+ "nutrientName": "Vitamin A, IU",
405
+ "nutrientNumber": "318",
406
+ "rank": 7500,
407
+ "unitName": "IU",
408
+ "value": 83.0
409
+ },
410
+ {
411
+ "dataPoints": 0,
412
+ "derivationCode": "Z",
413
+ "derivationDescription": "Assumed zero (Insignificant amount or not naturally occurring in a food, such as fiber in meat)",
414
+ "derivationId": 68,
415
+ "foodNutrientId": 1794644,
416
+ "foodNutrientSourceCode": "7",
417
+ "foodNutrientSourceDescription": "Assumed zero",
418
+ "foodNutrientSourceId": 5,
419
+ "indentLevel": 1,
420
+ "nutrientId": 1162,
421
+ "nutrientName": "Vitamin C, total ascorbic acid",
422
+ "nutrientNumber": "401",
423
+ "rank": 6300,
424
+ "unitName": "MG",
425
+ "value": 0.0
426
+ },
427
+ {
428
+ "dataPoints": 0,
429
+ "foodNutrientId": 1794645,
430
+ "indentLevel": 1,
431
+ "nutrientId": 1165,
432
+ "nutrientName": "Thiamin",
433
+ "nutrientNumber": "404",
434
+ "rank": 6400,
435
+ "unitName": "MG",
436
+ "value": 0.057
437
+ },
438
+ {
439
+ "dataPoints": 0,
440
+ "foodNutrientId": 1794646,
441
+ "indentLevel": 1,
442
+ "nutrientId": 1166,
443
+ "nutrientName": "Riboflavin",
444
+ "nutrientNumber": "405",
445
+ "rank": 6500,
446
+ "unitName": "MG",
447
+ "value": 0.143
448
+ },
449
+ {
450
+ "dataPoints": 0,
451
+ "foodNutrientId": 1794647,
452
+ "indentLevel": 1,
453
+ "nutrientId": 1177,
454
+ "nutrientName": "Folate, total",
455
+ "nutrientNumber": "417",
456
+ "rank": 6900,
457
+ "unitName": "UG",
458
+ "value": 5.0
459
+ },
460
+ {
461
+ "dataPoints": 0,
462
+ "foodNutrientId": 1794648,
463
+ "indentLevel": 1,
464
+ "nutrientId": 1178,
465
+ "nutrientName": "Vitamin B-12",
466
+ "nutrientNumber": "418",
467
+ "rank": 7300,
468
+ "unitName": "UG",
469
+ "value": 0.27
470
+ },
471
+ {
472
+ "dataPoints": 0,
473
+ "foodNutrientId": 1794649,
474
+ "indentLevel": 1,
475
+ "nutrientId": 1004,
476
+ "nutrientName": "Total lipid (fat)",
477
+ "nutrientNumber": "204",
478
+ "rank": 800,
479
+ "unitName": "G",
480
+ "value": 13.4
481
+ },
482
+ {
483
+ "dataPoints": 0,
484
+ "derivationCode": "Z",
485
+ "derivationDescription": "Assumed zero (Insignificant amount or not naturally occurring in a food, such as fiber in meat)",
486
+ "derivationId": 68,
487
+ "foodNutrientId": 1794650,
488
+ "foodNutrientSourceCode": "7",
489
+ "foodNutrientSourceDescription": "Assumed zero",
490
+ "foodNutrientSourceId": 5,
491
+ "indentLevel": 2,
492
+ "nutrientId": 1005,
493
+ "nutrientName": "Carbohydrate, by difference",
494
+ "nutrientNumber": "205",
495
+ "rank": 1110,
496
+ "unitName": "G",
497
+ "value": 0.0
498
+ },
499
+ {
500
+ "dataPoints": 0,
501
+ "derivationCode": "NC",
502
+ "derivationDescription": "Calculated",
503
+ "derivationId": 49,
504
+ "foodNutrientId": 1794651,
505
+ "foodNutrientSourceCode": "4",
506
+ "foodNutrientSourceDescription": "Calculated or imputed",
507
+ "foodNutrientSourceId": 2,
508
+ "indentLevel": 1,
509
+ "nutrientId": 1008,
510
+ "nutrientName": "Energy",
511
+ "nutrientNumber": "208",
512
+ "rank": 300,
513
+ "unitName": "KCAL",
514
+ "value": 223
515
+ },
516
+ {
517
+ "dataPoints": 0,
518
+ "foodNutrientId": 1794652,
519
+ "indentLevel": 1,
520
+ "nutrientId": 1051,
521
+ "nutrientName": "Water",
522
+ "nutrientNumber": "255",
523
+ "rank": 100,
524
+ "unitName": "G",
525
+ "value": 62.1
526
+ },
527
+ {
528
+ "dataPoints": 0,
529
+ "foodNutrientId": 1794653,
530
+ "indentLevel": 1,
531
+ "nutrientId": 1087,
532
+ "nutrientName": "Calcium, Ca",
533
+ "nutrientNumber": "301",
534
+ "rank": 5300,
535
+ "unitName": "MG",
536
+ "value": 12.0
537
+ },
538
+ {
539
+ "dataPoints": 0,
540
+ "foodNutrientId": 1794654,
541
+ "indentLevel": 1,
542
+ "nutrientId": 1092,
543
+ "nutrientName": "Potassium, K",
544
+ "nutrientNumber": "306",
545
+ "rank": 5700,
546
+ "unitName": "MG",
547
+ "value": 211
548
+ },
549
+ {
550
+ "dataPoints": 0,
551
+ "foodNutrientId": 1794655,
552
+ "indentLevel": 1,
553
+ "nutrientId": 1095,
554
+ "nutrientName": "Zinc, Zn",
555
+ "nutrientNumber": "309",
556
+ "rank": 5900,
557
+ "unitName": "MG",
558
+ "value": 1.45
559
+ },
560
+ {
561
+ "dataPoints": 0,
562
+ "foodNutrientId": 1794656,
563
+ "indentLevel": 1,
564
+ "nutrientId": 1167,
565
+ "nutrientName": "Niacin",
566
+ "nutrientNumber": "406",
567
+ "rank": 6600,
568
+ "unitName": "MG",
569
+ "value": 7.42
570
+ },
571
+ {
572
+ "dataPoints": 0,
573
+ "foodNutrientId": 1794657,
574
+ "indentLevel": 1,
575
+ "nutrientId": 1170,
576
+ "nutrientName": "Pantothenic acid",
577
+ "nutrientNumber": "410",
578
+ "rank": 6700,
579
+ "unitName": "MG",
580
+ "value": 0.918
581
+ },
582
+ {
583
+ "dataPoints": 0,
584
+ "foodNutrientId": 1794658,
585
+ "indentLevel": 1,
586
+ "nutrientId": 1175,
587
+ "nutrientName": "Vitamin B-6",
588
+ "nutrientNumber": "415",
589
+ "rank": 6800,
590
+ "unitName": "MG",
591
+ "value": 0.35
592
+ },
593
+ {
594
+ "dataPoints": 0,
595
+ "foodNutrientId": 1794659,
596
+ "indentLevel": 1,
597
+ "nutrientId": 1212,
598
+ "nutrientName": "Isoleucine",
599
+ "nutrientNumber": "503",
600
+ "rank": 16500,
601
+ "unitName": "G",
602
+ "value": 1.19
603
+ },
604
+ {
605
+ "dataPoints": 0,
606
+ "foodNutrientId": 1794660,
607
+ "indentLevel": 1,
608
+ "nutrientId": 1213,
609
+ "nutrientName": "Leucine",
610
+ "nutrientNumber": "504",
611
+ "rank": 16600,
612
+ "unitName": "G",
613
+ "value": 1.74
614
+ },
615
+ {
616
+ "dataPoints": 0,
617
+ "foodNutrientId": 1794661,
618
+ "indentLevel": 1,
619
+ "nutrientId": 1214,
620
+ "nutrientName": "Lysine",
621
+ "nutrientNumber": "505",
622
+ "rank": 16700,
623
+ "unitName": "G",
624
+ "value": 1.94
625
+ },
626
+ {
627
+ "dataPoints": 0,
628
+ "foodNutrientId": 1794662,
629
+ "indentLevel": 1,
630
+ "nutrientId": 1216,
631
+ "nutrientName": "Cystine",
632
+ "nutrientNumber": "507",
633
+ "rank": 16900,
634
+ "unitName": "G",
635
+ "value": 0.32
636
+ },
637
+ {
638
+ "dataPoints": 0,
639
+ "foodNutrientId": 1794663,
640
+ "indentLevel": 1,
641
+ "nutrientId": 1219,
642
+ "nutrientName": "Valine",
643
+ "nutrientNumber": "510",
644
+ "rank": 17200,
645
+ "unitName": "G",
646
+ "value": 1.16
647
+ },
648
+ {
649
+ "dataPoints": 0,
650
+ "foodNutrientId": 1794664,
651
+ "indentLevel": 1,
652
+ "nutrientId": 1220,
653
+ "nutrientName": "Arginine",
654
+ "nutrientNumber": "511",
655
+ "rank": 17300,
656
+ "unitName": "G",
657
+ "value": 1.51
658
+ },
659
+ {
660
+ "dataPoints": 0,
661
+ "foodNutrientId": 1794665,
662
+ "indentLevel": 1,
663
+ "nutrientId": 1221,
664
+ "nutrientName": "Histidine",
665
+ "nutrientNumber": "512",
666
+ "rank": 17400,
667
+ "unitName": "G",
668
+ "value": 0.701
669
+ },
670
+ {
671
+ "dataPoints": 0,
672
+ "foodNutrientId": 1794666,
673
+ "indentLevel": 1,
674
+ "nutrientId": 1223,
675
+ "nutrientName": "Aspartic acid",
676
+ "nutrientNumber": "514",
677
+ "rank": 17600,
678
+ "unitName": "G",
679
+ "value": 2.14
680
+ },
681
+ {
682
+ "dataPoints": 0,
683
+ "foodNutrientId": 1794667,
684
+ "indentLevel": 1,
685
+ "nutrientId": 1227,
686
+ "nutrientName": "Serine",
687
+ "nutrientNumber": "518",
688
+ "rank": 18000,
689
+ "unitName": "G",
690
+ "value": 0.847
691
+ },
692
+ {
693
+ "dataPoints": 0,
694
+ "foodNutrientId": 1794668,
695
+ "indentLevel": 2,
696
+ "nutrientId": 1262,
697
+ "nutrientName": "SFA 10:0",
698
+ "nutrientNumber": "610",
699
+ "rank": 10100,
700
+ "unitName": "G",
701
+ "value": 0.0
702
+ },
703
+ {
704
+ "dataPoints": 0,
705
+ "foodNutrientId": 1794669,
706
+ "indentLevel": 2,
707
+ "nutrientId": 1265,
708
+ "nutrientName": "SFA 16:0",
709
+ "nutrientNumber": "613",
710
+ "rank": 10700,
711
+ "unitName": "G",
712
+ "value": 2.76
713
+ },
714
+ {
715
+ "dataPoints": 0,
716
+ "foodNutrientId": 1794670,
717
+ "indentLevel": 2,
718
+ "nutrientId": 1266,
719
+ "nutrientName": "SFA 18:0",
720
+ "nutrientNumber": "614",
721
+ "rank": 10900,
722
+ "unitName": "G",
723
+ "value": 0.74
724
+ },
725
+ {
726
+ "dataPoints": 0,
727
+ "foodNutrientId": 1794671,
728
+ "indentLevel": 2,
729
+ "nutrientId": 1268,
730
+ "nutrientName": "MUFA 18:1",
731
+ "nutrientNumber": "617",
732
+ "rank": 12100,
733
+ "unitName": "G",
734
+ "value": 4.45
735
+ },
736
+ {
737
+ "dataPoints": 0,
738
+ "foodNutrientId": 1794672,
739
+ "indentLevel": 2,
740
+ "nutrientId": 1269,
741
+ "nutrientName": "PUFA 18:2",
742
+ "nutrientNumber": "618",
743
+ "rank": 13100,
744
+ "unitName": "G",
745
+ "value": 2.55
746
+ },
747
+ {
748
+ "dataPoints": 0,
749
+ "foodNutrientId": 1794673,
750
+ "indentLevel": 2,
751
+ "nutrientId": 1270,
752
+ "nutrientName": "PUFA 18:3",
753
+ "nutrientNumber": "619",
754
+ "rank": 13900,
755
+ "unitName": "G",
756
+ "value": 0.12
757
+ },
758
+ {
759
+ "dataPoints": 0,
760
+ "foodNutrientId": 1794674,
761
+ "indentLevel": 2,
762
+ "nutrientId": 1271,
763
+ "nutrientName": "PUFA 20:4",
764
+ "nutrientNumber": "620",
765
+ "rank": 14700,
766
+ "unitName": "G",
767
+ "value": 0.11
768
+ },
769
+ {
770
+ "dataPoints": 0,
771
+ "foodNutrientId": 1794675,
772
+ "indentLevel": 2,
773
+ "nutrientId": 1277,
774
+ "nutrientName": "MUFA 20:1",
775
+ "nutrientNumber": "628",
776
+ "rank": 12400,
777
+ "unitName": "G",
778
+ "value": 0.14
779
+ },
780
+ {
781
+ "dataPoints": 0,
782
+ "foodNutrientId": 1794676,
783
+ "indentLevel": 2,
784
+ "nutrientId": 1279,
785
+ "nutrientName": "MUFA 22:1",
786
+ "nutrientNumber": "630",
787
+ "rank": 12500,
788
+ "unitName": "G",
789
+ "value": 0.0
790
+ },
791
+ {
792
+ "dataPoints": 0,
793
+ "foodNutrientId": 1794677,
794
+ "indentLevel": 1,
795
+ "nutrientId": 1292,
796
+ "nutrientName": "Fatty acids, total monounsaturated",
797
+ "nutrientNumber": "645",
798
+ "rank": 11400,
799
+ "unitName": "G",
800
+ "value": 5.4
801
+ },
802
+ {
803
+ "dataPoints": 0,
804
+ "foodNutrientId": 1794678,
805
+ "indentLevel": 1,
806
+ "nutrientId": 1293,
807
+ "nutrientName": "Fatty acids, total polyunsaturated",
808
+ "nutrientNumber": "646",
809
+ "rank": 12900,
810
+ "unitName": "G",
811
+ "value": 2.92
812
+ },
813
+ {
814
+ "dataPoints": 0,
815
+ "derivationCode": "Z",
816
+ "derivationDescription": "Assumed zero (Insignificant amount or not naturally occurring in a food, such as fiber in meat)",
817
+ "derivationId": 68,
818
+ "foodNutrientId": 1794679,
819
+ "foodNutrientSourceCode": "7",
820
+ "foodNutrientSourceDescription": "Assumed zero",
821
+ "foodNutrientSourceId": 5,
822
+ "indentLevel": 1,
823
+ "nutrientId": 1018,
824
+ "nutrientName": "Alcohol, ethyl",
825
+ "nutrientNumber": "221",
826
+ "rank": 18200,
827
+ "unitName": "G",
828
+ "value": 0.0
829
+ }
830
+ ],
831
+ "foodVersionIds": [],
832
+ "microbes": [],
833
+ "ndbNumber": 5112,
834
+ "publishedDate": "2019-04-01",
835
+ "score": 739.0966
836
+ },
837
+ "ranked-v2|foundation,sr legacy,fndds|10|potatoes roasted": {
838
+ "additionalDescriptions": "",
839
+ "allHighlightFields": "",
840
+ "commonNames": "",
841
+ "dataType": "SR Legacy",
842
+ "description": "Potatoes, roasted, salt added in processing, frozen, unprepared",
843
+ "fdcId": 170031,
844
+ "finalFoodInputFoods": [],
845
+ "foodAttributeTypes": [],
846
+ "foodAttributes": [],
847
+ "foodCategory": "Vegetables and Vegetable Products",
848
+ "foodMeasures": [],
849
+ "foodNutrients": [
850
+ {
851
+ "dataPoints": 0,
852
+ "derivationCode": "NC",
853
+ "derivationDescription": "Calculated",
854
+ "derivationId": 49,
855
+ "foodNutrientId": 1489252,
856
+ "foodNutrientSourceCode": "4",
857
+ "foodNutrientSourceDescription": "Calculated or imputed",
858
+ "foodNutrientSourceId": 2,
859
+ "indentLevel": 1,
860
+ "nutrientId": 1008,
861
+ "nutrientName": "Energy",
862
+ "nutrientNumber": "208",
863
+ "rank": 300,
864
+ "unitName": "KCAL",
865
+ "value": 127
866
+ },
867
+ {
868
+ "dataPoints": 0,
869
+ "derivationCode": "NC",
870
+ "derivationDescription": "Calculated",
871
+ "derivationId": 49,
872
+ "foodNutrientId": 1489253,
873
+ "foodNutrientSourceCode": "4",
874
+ "foodNutrientSourceDescription": "Calculated or imputed",
875
+ "foodNutrientSourceId": 2,
876
+ "indentLevel": 1,
877
+ "nutrientId": 1062,
878
+ "nutrientName": "Energy",
879
+ "nutrientNumber": "268",
880
+ "rank": 400,
881
+ "unitName": "kJ",
882
+ "value": 530
883
+ },
884
+ {
885
+ "dataPoints": 3,
886
+ "derivationCode": "A",
887
+ "derivationDescription": "Analytical",
888
+ "derivationId": 1,
889
+ "foodNutrientId": 1489254,
890
+ "foodNutrientSourceCode": "1",
891
+ "foodNutrientSourceDescription": "Analytical or derived from analytical",
892
+ "foodNutrientSourceId": 1,
893
+ "indentLevel": 1,
894
+ "max": 68.7,
895
+ "min": 67.2,
896
+ "nutrientId": 1051,
897
+ "nutrientName": "Water",
898
+ "nutrientNumber": "255",
899
+ "rank": 100,
900
+ "unitName": "G",
901
+ "value": 68.1
902
+ },
903
+ {
904
+ "dataPoints": 3,
905
+ "derivationCode": "A",
906
+ "derivationDescription": "Analytical",
907
+ "derivationId": 1,
908
+ "foodNutrientId": 1489255,
909
+ "foodNutrientSourceCode": "1",
910
+ "foodNutrientSourceDescription": "Analytical or derived from analytical",
911
+ "foodNutrientSourceId": 1,
912
+ "indentLevel": 3,
913
+ "max": 0.97,
914
+ "min": 0.49,
915
+ "nutrientId": 2000,
916
+ "nutrientName": "Total Sugars",
917
+ "nutrientNumber": "269",
918
+ "rank": 1510,
919
+ "unitName": "G",
920
+ "value": 0.69
921
+ },
922
+ {
923
+ "dataPoints": 3,
924
+ "derivationCode": "A",
925
+ "derivationDescription": "Analytical",
926
+ "derivationId": 1,
927
+ "foodNutrientId": 1489256,
928
+ "foodNutrientSourceCode": "1",
929
+ "foodNutrientSourceDescription": "Analytical or derived from analytical",
930
+ "foodNutrientSourceId": 1,
931
+ "indentLevel": 1,
932
+ "max": 19.0,
933
+ "min": 12.0,
934
+ "nutrientId": 1087,
935
+ "nutrientName": "Calcium, Ca",
936
+ "nutrientNumber": "301",
937
+ "rank": 5300,
938
+ "unitName": "MG",
939
+ "value": 15.0
940
+ },
941
+ {
942
+ "dataPoints": 3,
943
+ "derivationCode": "A",
944
+ "derivationDescription": "Analytical",
945
+ "derivationId": 1,
946
+ "foodNutrientId": 1489257,
947
+ "foodNutrientSourceCode": "1",
948
+ "foodNutrientSourceDescription": "Analytical or derived from analytical",
949
+ "foodNutrientSourceId": 1,
950
+ "indentLevel": 1,
951
+ "max": 536,
952
+ "min": 401,
953
+ "nutrientId": 1092,
954
+ "nutrientName": "Potassium, K",
955
+ "nutrientNumber": "306",
956
+ "rank": 5700,
957
+ "unitName": "MG",
958
+ "value": 450
959
+ },
960
+ {
961
+ "dataPoints": 3,
962
+ "derivationCode": "A",
963
+ "derivationDescription": "Analytical",
964
+ "derivationId": 1,
965
+ "foodNutrientId": 1489258,
966
+ "foodNutrientSourceCode": "1",
967
+ "foodNutrientSourceDescription": "Analytical or derived from analytical",
968
+ "foodNutrientSourceId": 1,
969
+ "indentLevel": 1,
970
+ "max": 3.11,
971
+ "min": 1.08,
972
+ "nutrientId": 1004,
973
+ "nutrientName": "Total lipid (fat)",
974
+ "nutrientNumber": "204",
975
+ "rank": 800,
976
+ "unitName": "G",
977
+ "value": 1.81
978
+ },
979
+ {
980
+ "dataPoints": 0,
981
+ "derivationCode": "NC",
982
+ "derivationDescription": "Calculated",
983
+ "derivationId": 49,
984
+ "foodNutrientId": 1489259,
985
+ "foodNutrientSourceCode": "4",
986
+ "foodNutrientSourceDescription": "Calculated or imputed",
987
+ "foodNutrientSourceId": 2,
988
+ "indentLevel": 2,
989
+ "nutrientId": 1005,
990
+ "nutrientName": "Carbohydrate, by difference",
991
+ "nutrientNumber": "205",
992
+ "rank": 1110,
993
+ "unitName": "G",
994
+ "value": 26.2
995
+ },
996
+ {
997
+ "dataPoints": 3,
998
+ "derivationCode": "A",
999
+ "derivationDescription": "Analytical",
1000
+ "derivationId": 1,
1001
+ "foodNutrientId": 1489260,
1002
+ "foodNutrientSourceCode": "1",
1003
+ "foodNutrientSourceDescription": "Analytical or derived from analytical",
1004
+ "foodNutrientSourceId": 1,
1005
+ "indentLevel": 1,
1006
+ "max": 2.29,
1007
+ "min": 2.17,
1008
+ "nutrientId": 1003,
1009
+ "nutrientName": "Protein",
1010
+ "nutrientNumber": "203",
1011
+ "rank": 600,
1012
+ "unitName": "G",
1013
+ "value": 2.22
1014
+ },
1015
+ {
1016
+ "dataPoints": 3,
1017
+ "derivationCode": "A",
1018
+ "derivationDescription": "Analytical",
1019
+ "derivationId": 1,
1020
+ "foodNutrientId": 1489261,
1021
+ "foodNutrientSourceCode": "1",
1022
+ "foodNutrientSourceDescription": "Analytical or derived from analytical",
1023
+ "foodNutrientSourceId": 1,
1024
+ "indentLevel": 1,
1025
+ "max": 2.23,
1026
+ "min": 1.47,
1027
+ "nutrientId": 1007,
1028
+ "nutrientName": "Ash",
1029
+ "nutrientNumber": "207",
1030
+ "rank": 1000,
1031
+ "unitName": "G",
1032
+ "value": 1.73
1033
+ },
1034
+ {
1035
+ "dataPoints": 3,
1036
+ "derivationCode": "A",
1037
+ "derivationDescription": "Analytical",
1038
+ "derivationId": 1,
1039
+ "foodNutrientId": 1489262,
1040
+ "foodNutrientSourceCode": "1",
1041
+ "foodNutrientSourceDescription": "Analytical or derived from analytical",
1042
+ "foodNutrientSourceId": 1,
1043
+ "indentLevel": 3,
1044
+ "max": 3.0,
1045
+ "min": 2.3,
1046
+ "nutrientId": 1079,
1047
+ "nutrientName": "Fiber, total dietary",
1048
+ "nutrientNumber": "291",
1049
+ "rank": 1200,
1050
+ "unitName": "G",
1051
+ "value": 2.6
1052
+ },
1053
+ {
1054
+ "dataPoints": 3,
1055
+ "derivationCode": "A",
1056
+ "derivationDescription": "Analytical",
1057
+ "derivationId": 1,
1058
+ "foodNutrientId": 1489263,
1059
+ "foodNutrientSourceCode": "1",
1060
+ "foodNutrientSourceDescription": "Analytical or derived from analytical",
1061
+ "foodNutrientSourceId": 1,
1062
+ "indentLevel": 1,
1063
+ "max": 0.67,
1064
+ "min": 0.4,
1065
+ "nutrientId": 1089,
1066
+ "nutrientName": "Iron, Fe",
1067
+ "nutrientNumber": "303",
1068
+ "rank": 5400,
1069
+ "unitName": "MG",
1070
+ "value": 0.5
1071
+ },
1072
+ {
1073
+ "dataPoints": 3,
1074
+ "derivationCode": "A",
1075
+ "derivationDescription": "Analytical",
1076
+ "derivationId": 1,
1077
+ "foodNutrientId": 1489264,
1078
+ "foodNutrientSourceCode": "1",
1079
+ "foodNutrientSourceDescription": "Analytical or derived from analytical",
1080
+ "foodNutrientSourceId": 1,
1081
+ "indentLevel": 1,
1082
+ "max": 312,
1083
+ "min": 273,
1084
+ "nutrientId": 1093,
1085
+ "nutrientName": "Sodium, Na",
1086
+ "nutrientNumber": "307",
1087
+ "rank": 5800,
1088
+ "unitName": "MG",
1089
+ "value": 298
1090
+ },
1091
+ {
1092
+ "dataPoints": 3,
1093
+ "derivationCode": "MA",
1094
+ "derivationDescription": "Manufacturer supplied(industry or trade association), Analytical data, incomplete documentation",
1095
+ "derivationId": 46,
1096
+ "foodNutrientId": 1489265,
1097
+ "foodNutrientSourceCode": "12",
1098
+ "foodNutrientSourceDescription": "Manufacturer's analytical; partial documentation",
1099
+ "foodNutrientSourceId": 9,
1100
+ "indentLevel": 1,
1101
+ "max": 0.0,
1102
+ "min": 0.0,
1103
+ "nutrientId": 1104,
1104
+ "nutrientName": "Vitamin A, IU",
1105
+ "nutrientNumber": "318",
1106
+ "rank": 7500,
1107
+ "unitName": "IU",
1108
+ "value": 0.0
1109
+ },
1110
+ {
1111
+ "dataPoints": 3,
1112
+ "derivationCode": "A",
1113
+ "derivationDescription": "Analytical",
1114
+ "derivationId": 1,
1115
+ "foodNutrientId": 1489266,
1116
+ "foodNutrientSourceCode": "1",
1117
+ "foodNutrientSourceDescription": "Analytical or derived from analytical",
1118
+ "foodNutrientSourceId": 1,
1119
+ "indentLevel": 1,
1120
+ "max": 2.8,
1121
+ "min": 0.0,
1122
+ "nutrientId": 1162,
1123
+ "nutrientName": "Vitamin C, total ascorbic acid",
1124
+ "nutrientNumber": "401",
1125
+ "rank": 6300,
1126
+ "unitName": "MG",
1127
+ "value": 1.7
1128
+ },
1129
+ {
1130
+ "dataPoints": 3,
1131
+ "derivationCode": "A",
1132
+ "derivationDescription": "Analytical",
1133
+ "derivationId": 1,
1134
+ "foodNutrientId": 1489267,
1135
+ "foodNutrientSourceCode": "1",
1136
+ "foodNutrientSourceDescription": "Analytical or derived from analytical",
1137
+ "foodNutrientSourceId": 1,
1138
+ "indentLevel": 1,
1139
+ "max": 0.0,
1140
+ "min": 0.0,
1141
+ "nutrientId": 1253,
1142
+ "nutrientName": "Cholesterol",
1143
+ "nutrientNumber": "601",
1144
+ "rank": 15700,
1145
+ "unitName": "MG",
1146
+ "value": 0.0
1147
+ },
1148
+ {
1149
+ "dataPoints": 3,
1150
+ "derivationCode": "A",
1151
+ "derivationDescription": "Analytical",
1152
+ "derivationId": 1,
1153
+ "foodNutrientId": 1489268,
1154
+ "foodNutrientSourceCode": "1",
1155
+ "foodNutrientSourceDescription": "Analytical or derived from analytical",
1156
+ "foodNutrientSourceId": 1,
1157
+ "indentLevel": 1,
1158
+ "max": 0.05,
1159
+ "min": 0.02,
1160
+ "nutrientId": 1257,
1161
+ "nutrientName": "Fatty acids, total trans",
1162
+ "nutrientNumber": "605",
1163
+ "rank": 15400,
1164
+ "unitName": "G",
1165
+ "value": 0.03
1166
+ },
1167
+ {
1168
+ "dataPoints": 3,
1169
+ "derivationCode": "A",
1170
+ "derivationDescription": "Analytical",
1171
+ "derivationId": 1,
1172
+ "foodNutrientId": 1489269,
1173
+ "foodNutrientSourceCode": "1",
1174
+ "foodNutrientSourceDescription": "Analytical or derived from analytical",
1175
+ "foodNutrientSourceId": 1,
1176
+ "indentLevel": 1,
1177
+ "max": 0.27,
1178
+ "min": 0.11,
1179
+ "nutrientId": 1258,
1180
+ "nutrientName": "Fatty acids, total saturated",
1181
+ "nutrientNumber": "606",
1182
+ "rank": 9700,
1183
+ "unitName": "G",
1184
+ "value": 0.167
1185
+ }
1186
+ ],
1187
+ "foodVersionIds": [],
1188
+ "microbes": [],
1189
+ "ndbNumber": 11361,
1190
+ "publishedDate": "2019-04-01",
1191
+ "score": 351.81802
1192
+ }
1193
+ }
data/nutrition/project_macro_queries.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ class_name,fdc_query
2
+ meat,grilled chicken breast
3
+ rice,cooked white rice
4
+ vegetables,cooked mixed vegetables
data/nutrition/sample_macros_per_100g.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ class_name,fdc_query,fdc_id,fdc_description,kcal,protein,fat,carbs
2
+ meat,grilled chicken breast,sample,Sample grilled chicken breast,165,31,3.6,0
3
+ rice,cooked white rice,sample,Sample cooked white rice,130,2.7,0.3,28.2
4
+ vegetables,cooked mixed vegetables,sample,Sample cooked mixed vegetables,65,2.9,0.2,13.1
data/nutrition/sample_segments.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "segments": [
3
+ {
4
+ "class_name": "rice",
5
+ "area_fraction": 0.42
6
+ },
7
+ {
8
+ "class_name": "meat",
9
+ "area_fraction": 0.33
10
+ },
11
+ {
12
+ "class_name": "vegetables",
13
+ "area_fraction": 0.25
14
+ }
15
+ ]
16
+ }
data/processed/.gitkeep ADDED
@@ -0,0 +1 @@
 
 
1
+
data/processed/clean_benchmarks/val_all_stats.csv ADDED
The diff for this file is too large to render. See raw diff
 
data/processed/clean_benchmarks/val_clean_easy.csv ADDED
The diff for this file is too large to render. See raw diff
 
data/processed/clean_benchmarks/val_clean_medium.csv ADDED
The diff for this file is too large to render. See raw diff
 
data/processed/clean_benchmarks/val_clean_strict.csv ADDED
The diff for this file is too large to render. See raw diff
 
data/processed/clean_benchmarks/val_clean_structured.csv ADDED
The diff for this file is too large to render. See raw diff