Datasets:
Food Waste Dataset
This dataset contains detailed information about food waste, including images and nutritional information.
Dataset Description
The dataset combines image data with detailed nutritional information for each meal and its ingredients.
Features
For each entry:
bonid
: Unique identifier for each mealimage
: Image of the meal- Lists per meal (multiple ingredients):
Artikelnummer
: Article numbersArtikel
: Ingredient namesStückartikel
: Piece article informationAnzahl_Kellen
: Number of portionsGewicht_Kelle
: Weight per portionGewicht_Teller
: Weight per platekcal_Teller
,kj_Teller
: Caloric informationFett_Teller
,ges_Fettsäuren_Teller
: Fat contentKohlenhydrate_Teller
,Zucker_Teller
: Carbohydrate contentEiweiß_Teller
: Protein contentSalz_Teller
: Salt contentMenge_Rückläufer
,Prozent_Rückläufer
: Return quantities
Per image measurements:
- Before consumption:
Gewicht_vorher
: Initial weightkcal_vorher
,kj_vorher
: Initial caloriesFett_vorher
,ges_Fettsäuren_vorher
: Initial fat contentKohlenhydrate_vorher
,Zucker_vorher
: Initial carbohydratesEiweiß_vorher
: Initial proteinSalz_vorher
: Initial salt
- After consumption:
Gewicht_nachher
: Remaining weightkcal_nachher
,kj_nachher
: Remaining caloriesFett_nachher
,ges_fettsäuren_nachher
: Remaining fatKohlenhydrate_nachher
,Zucker_nachher
: Remaining carbohydratesEiweiß_nachher
: Remaining proteinSalz_nachher
: Remaining salt
Usage
from datasets import load_dataset
# Load the dataset
dataset = load_dataset("AI-ServicesBB/food-waste-dataset")
# Access an example
example = dataset['train'][0]
# Get image and nutritional data
image = example['image']
ingredients = example['Artikel']
weights = example['Gewicht_Teller']
calories = example['kcal_Teller']
# Get before/after measurements
weight_before = example['Gewicht_vorher']
weight_after = example['Gewicht_nachher']
Dataset Creation
The dataset combines two main sources:
- Ingredient-specific measurements for each meal
- Before/after measurements with images for complete meals
All numeric values are standardized to use decimal points (converted from German number format).
Additional Information
- Total number of entries: {len(dataset)}
- Image format: JPEG
- Measurements are in grams, calories, and standard nutritional units
- Downloads last month
- 64