Score a food from its label
analyze_labelScores a food from its label: the ingredient list and/or the nutrition facts, for example from a photo of the packaging or pasted text, including products that aren't in the database. Most accurate with the ingredient list exactly as printed, including E-numbers and words in brackets. Nutrition values can be per 100 g or per serving (with the serving size). Returns the same 0-100 score and reports any missing data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | ||
| category | No | Nutri-Score family. Use fat_oil_nuts_seeds for oils, butter, nuts and nut butters; cheese for cheese; red_meat for beef, pork or lamb products. | |
| is_drink | No | True for beverages (milk and plant drinks included). Values are then per 100 ml. | |
| nutrition | No | The nutrition facts table, copied exactly. | |
| product_name | No | ||
| ingredients_text | No | The full ingredient list exactly as printed. | |
| fruit_veg_percent | No | % of fruit, vegetables and legumes, if the label states it. |