Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,13 +23,13 @@ dataset_info:
|
|
| 23 |
dtype: string
|
| 24 |
splits:
|
| 25 |
- name: train
|
| 26 |
-
num_bytes: 234663276
|
| 27 |
num_examples: 1000
|
| 28 |
- name: test
|
| 29 |
-
num_bytes: 96022334
|
| 30 |
num_examples: 400
|
| 31 |
download_size: 330223452
|
| 32 |
-
dataset_size: 330685610
|
| 33 |
configs:
|
| 34 |
- config_name: default
|
| 35 |
data_files:
|
|
@@ -37,4 +37,25 @@ configs:
|
|
| 37 |
path: data/train-*
|
| 38 |
- split: test
|
| 39 |
path: data/test-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
dtype: string
|
| 24 |
splits:
|
| 25 |
- name: train
|
| 26 |
+
num_bytes: 234663276
|
| 27 |
num_examples: 1000
|
| 28 |
- name: test
|
| 29 |
+
num_bytes: 96022334
|
| 30 |
num_examples: 400
|
| 31 |
download_size: 330223452
|
| 32 |
+
dataset_size: 330685610
|
| 33 |
configs:
|
| 34 |
- config_name: default
|
| 35 |
data_files:
|
|
|
|
| 37 |
path: data/train-*
|
| 38 |
- split: test
|
| 39 |
path: data/test-*
|
| 40 |
+
license: agpl-3.0
|
| 41 |
+
task_categories:
|
| 42 |
+
- image-classification
|
| 43 |
+
tags:
|
| 44 |
+
- food
|
| 45 |
+
size_categories:
|
| 46 |
+
- 1K<n<10K
|
| 47 |
---
|
| 48 |
+
|
| 49 |
+
# Front image classification dataset
|
| 50 |
+
|
| 51 |
+
This dataset contains Open Food Facts images, each assigned with one of the two following classes:
|
| 52 |
+
|
| 53 |
+
- `front` (ID 0)
|
| 54 |
+
- `other` (ID 1)
|
| 55 |
+
|
| 56 |
+
Front images are the "default" image of a product, displayed on Open Food Facts product page. A front image is most of the time a photo of the front side of the product packaging. It's useful to be able to detect front images so that we can update the front image with a newer version (when the packaging changes for example).
|
| 57 |
+
|
| 58 |
+
Random images were fetched from Open Food Facts using the Parquet export, and pre-annotated with their class, depending on whether the image was selected as a front image or not.
|
| 59 |
+
The CLI command used to generate the pre-annotated dataset can be found [here](https://github.com/openfoodfacts/openfoodfacts-ai/blob/dbbec40a3d964124cd7c8d838023be4a10d6c0be/front-image-classification/cli.py#L115).
|
| 60 |
+
|
| 61 |
+
The dataset was then manually reviewed and corrected.
|