Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -28,13 +28,13 @@ dataset_info:
|
|
28 |
sequence: string
|
29 |
splits:
|
30 |
- name: val
|
31 |
-
num_bytes: 32285921
|
32 |
num_examples: 82
|
33 |
- name: train
|
34 |
-
num_bytes: 178448483
|
35 |
num_examples: 502
|
36 |
download_size: 352038777
|
37 |
-
dataset_size: 210734404
|
38 |
configs:
|
39 |
- config_name: default
|
40 |
data_files:
|
@@ -42,4 +42,40 @@ configs:
|
|
42 |
path: data/train-*
|
43 |
- split: val
|
44 |
path: data/val-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
sequence: string
|
29 |
splits:
|
30 |
- name: val
|
31 |
+
num_bytes: 32285921
|
32 |
num_examples: 82
|
33 |
- name: train
|
34 |
+
num_bytes: 178448483
|
35 |
num_examples: 502
|
36 |
download_size: 352038777
|
37 |
+
dataset_size: 210734404
|
38 |
configs:
|
39 |
- config_name: default
|
40 |
data_files:
|
|
|
42 |
path: data/train-*
|
43 |
- split: val
|
44 |
path: data/val-*
|
45 |
+
license: cc-by-sa-3.0
|
46 |
+
task_categories:
|
47 |
+
- object-detection
|
48 |
+
tags:
|
49 |
+
- food
|
50 |
+
size_categories:
|
51 |
+
- n<1K
|
52 |
---
|
53 |
+
# Open Food Facts Nutriscore detection dataset
|
54 |
+
|
55 |
+
This dataset was used to train the Nutri-score object detection model running in production at Open Food Facts.
|
56 |
+
|
57 |
+
Images were collected from the Open Food Facts database and labeled manually.
|
58 |
+
Just like the [original images](https://world.openfoodfacts.org/data), the images in this dataset are licensed under the Creative Commons Attribution Share Alike license (CC-BY-SA 3.0).
|
59 |
+
|
60 |
+
|
61 |
+
## Fields
|
62 |
+
|
63 |
+
- `image_id`: Unique identifier for the image, generated from the barcode and the image number.
|
64 |
+
- `image`: Image data.
|
65 |
+
- `width`: Image original width in pixels.
|
66 |
+
- `height`: Image original height in pixels.
|
67 |
+
- `meta`: Additional metadata.
|
68 |
+
- `barcode`: Product barcode.
|
69 |
+
- `off_image_id`: Open Food Facts image number.
|
70 |
+
- `image_url`: URL to the image on the Open Food Facts website.
|
71 |
+
- `objects`: Object detection annotations.
|
72 |
+
- `bbox`: List of bounding boxes in the format (y_min, x_min, y_max, x_max).
|
73 |
+
Coordinates are normalized between 0 and 1, using the top-left corner as the origin.
|
74 |
+
- `category_id`: List of category IDs.
|
75 |
+
- `category_name`: List of category names.
|
76 |
+
|
77 |
+
|
78 |
+
## Versions
|
79 |
+
|
80 |
+
- `1.0`: Original data used to train the [tf-nutriscore-1.0 model](https://github.com/openfoodfacts/robotoff-models/releases/tag/tf-nutriscore-1.0).
|
81 |
+
- `2.0`: New version of the dataset with improvements over the original version: the bounding boxes are more tightly cropped around the Nutri-score, some labeling errors were corrected, and images for which the model was failing were added to the dataset to improve future versions of the model.
|