Update README.md
Browse files
README.md
CHANGED
@@ -10,67 +10,103 @@ tags:
|
|
10 |
- central asian food dataset
|
11 |
- object-detection
|
12 |
paper: https://doi.org/10.1038/s41598-025-95770-9
|
13 |
-
homepage: https://github.com/IS2AI/Central_Asian_Food_Scenes_Dataset
|
14 |
---
|
15 |
|
16 |
|
17 |
|
18 |
-
#
|
19 |
-
In this work, we propose the first Central Asia Food Scenes Dataset that contains 21,306 images with 69,856 instances across 239 food classes. To make sure that the dataset contains various food items, we took as a benchmark the ontology of Global Individual Food Tool developed by Food and Agriculture Organization (FAO) together with the World Health Organization (WHO) [1]. The dataset contains food items across 18 coarse classes: vegetables, baked flower-based products, cooked dishes, fruits, herbs, meat dishes, desserts, salads, sauces, drinks, dairy, fast-food, soups, sides, nuts, pickled and fermented food, egg product, and cereals.
|
20 |
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
The dataset is unbalaced. The statistics across high-level 18 classes is shown on Figure below.
|
24 |
|
25 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
-
|
28 |
|
29 |
-
|
30 |
-
<img src="https://raw.githubusercontent.com/IS2AI/Central_Asian_Food_Scenes_Dataset/main/figures/protocol_2.png" width="800" height="680">
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
|
|
33 |
|
34 |
-
|
35 |
|
36 |
|Fold| Train| Valid| Test|
|
37 |
|----|-----------------|-----------------|--------------------|
|
38 |
|images|17,046|2,084|2,176|
|
39 |
|instances|55,422|7,062|7,381|
|
40 |
|
|
|
|
|
|
|
41 |
|
42 |
-
|
43 |
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
-
|
47 |
|
48 |
-
|
49 |
|
50 |
Pre-trained weights of the YOLOv8 model can be downloaded using these links:
|
51 |
|
52 |
-
|
53 |
-
https://issai.nu.edu.kz/wp-content/themes/issai-new/data/models/CAFSD/
|
54 |
-
|
55 |
-
|
56 |
-
https://issai.nu.edu.kz/wp-content/themes/issai-new/data/models/CAFSD/
|
57 |
|
58 |
-
|
59 |
-
https://issai.nu.edu.kz/wp-content/themes/issai-new/data/models/CAFSD/yolov8m.pt
|
60 |
|
61 |
-
##
|
62 |
-
https://issai.nu.edu.kz/wp-content/themes/issai-new/data/models/CAFSD/yolov8l.pt
|
63 |
|
64 |
-
|
65 |
-
https://issai.nu.edu.kz/wp-content/themes/issai-new/data/models/CAFSD/yolov8x.pt
|
66 |
|
|
|
67 |
|
68 |
-
##
|
69 |
-
<a id="1">[1]</a>
|
70 |
-
European Commission: Impact assessment on measures addressing food waste to complete swd (2014) 207 regarding the review of EU waste management target (2014). Accessed 5-22-2024.
|
71 |
|
|
|
72 |
|
73 |
-
# In case of using our dataset and/or pre-trained models, please cite our work:
|
74 |
```bibtex
|
75 |
@article{Karabay2025,
|
76 |
author = {Karabay, Aknur and Varol, Huseyin Atakan and Chan, Mei Yen},
|
@@ -85,5 +121,7 @@ European Commission: Impact assessment on measures addressing food waste to comp
|
|
85 |
issn = {2045-2322}
|
86 |
}
|
87 |
```
|
88 |
-
|
|
|
|
|
89 |
|
|
|
10 |
- central asian food dataset
|
11 |
- object-detection
|
12 |
paper: https://doi.org/10.1038/s41598-025-95770-9
|
13 |
+
homepage: https://github.com/IS2AI/Central_Asian_Food_Scenes_Dataset
|
14 |
---
|
15 |
|
16 |
|
17 |
|
18 |
+
# Central Asian Food Scenes Dataset
|
|
|
19 |
|
20 |
+
In this work, we propose the first Central Asia Food Scenes Dataset that contains **21,306 images** with **69,856 instances** across **239 food classes**. To make sure that the dataset contains various food items, we took as a benchmark the ontology of Global Individual Food Tool developed by Food and Agriculture Organization (FAO) together with the World Health Organization (WHO) [1]. The dataset contains food items across **18 coarse classes**:
|
21 |
+
π
Vegetables β’ π₯ Baked goods β’ π² Cooked dishes β’ π Fruits β’ πΏ Herbs β’ π Meat dishes β’ π° Desserts β’ π₯ Salads β’ π₯« Sauces β’ π₯€ Drinks β’ π§ Dairy β’ π Fast food β’ π Soups β’ π Sides β’ π₯ Nuts β’ π₯ Pickled & fermented β’ π₯ Egg products β’ πΎ Cereals
|
22 |
+
|
23 |
+
The images come from:
|
24 |
+
- π€ **15,939** web-scraped images (i.e., Google, YouTube, Yandex)
|
25 |
+
- πΈ **2,324** everyday-life photos
|
26 |
+
- π₯ **3,043** video frames (1 fps)
|
27 |
+
|
28 |
+
The dataset has been checked and cleaned for duplicates using the Python Hash Image library. Furthermore, we have also filtered out images less than 30 kB in size and replaced them by performing additional iterative data scraping and duplicate check to make sure the **high quality** of the dataset.
|
29 |
+
|
30 |
+
---
|
31 |
+
|
32 |
+
## π Class Balance
|
33 |
|
34 |
The dataset is unbalaced. The statistics across high-level 18 classes is shown on Figure below.
|
35 |
|
36 |
+
<div align="center">
|
37 |
+
<img
|
38 |
+
src="https://raw.githubusercontent.com/IS2AI/Central_Asian_Food_Scenes_Dataset/main/figures/statistics.png"
|
39 |
+
alt="Class distribution"
|
40 |
+
width="700"
|
41 |
+
>
|
42 |
+
</div>
|
43 |
+
|
44 |
+
---
|
45 |
|
46 |
+
## πΌοΈ Annotation Examples
|
47 |
|
48 |
+
Sample Food scenes annotated images are shown below. Figures illustrate annotated food scenes samples based on our annotation rules that we have followed to create the dataset: the liquid objects such as beverages and soups are annotated together with the dish itself (see upper image), solid food items are annotated without the plate, in case one class is located on top of another class the annotations are made as shown on lower image; in case one class is obscured by another class and the rest of the background class is not visible we highlight only the visible part (see `Salad leaves' class annotation on the lower image).
|
|
|
49 |
|
50 |
+
<div align="center">
|
51 |
+
<img
|
52 |
+
src="https://raw.githubusercontent.com/IS2AI/Central_Asian_Food_Scenes_Dataset/main/figures/protocol_1.png"
|
53 |
+
alt="Protocol 1"
|
54 |
+
width="700"
|
55 |
+
/><br><br>
|
56 |
+
<img
|
57 |
+
src="https://raw.githubusercontent.com/IS2AI/Central_Asian_Food_Scenes_Dataset/main/figures/protocol_2.png"
|
58 |
+
alt="Protocol 2"
|
59 |
+
width="700"
|
60 |
+
>
|
61 |
+
</div>
|
62 |
|
63 |
+
---
|
64 |
|
65 |
+
## π Dataset Splits
|
66 |
|
67 |
|Fold| Train| Valid| Test|
|
68 |
|----|-----------------|-----------------|--------------------|
|
69 |
|images|17,046|2,084|2,176|
|
70 |
|instances|55,422|7,062|7,381|
|
71 |
|
72 |
+
---
|
73 |
+
|
74 |
+
## π Training Results
|
75 |
|
76 |
+
Training results of different versions of the YOLOv8 model on the Central Asian Food Scenes Dataset, model sizes, and inference times.
|
77 |
|
78 |
+
<div align="center">
|
79 |
+
<img
|
80 |
+
src="https://raw.githubusercontent.com/IS2AI/Central_Asian_Food_Scenes_Dataset/main/figures/table_results.png"
|
81 |
+
alt="Training results"
|
82 |
+
width="800"
|
83 |
+
>
|
84 |
+
</div>
|
85 |
|
86 |
+
---
|
87 |
|
88 |
+
## π οΈ Pre-trained Models
|
89 |
|
90 |
Pre-trained weights of the YOLOv8 model can be downloaded using these links:
|
91 |
|
92 |
+
- **YOLOv8n**: https://issai.nu.edu.kz/wp-content/themes/issai-new/data/models/CAFSD/yolov8n.pt
|
93 |
+
- **YOLOv8s**: https://issai.nu.edu.kz/wp-content/themes/issai-new/data/models/CAFSD/yolov8s.pt
|
94 |
+
- **YOLOv8m**: https://issai.nu.edu.kz/wp-content/themes/issai-new/data/models/CAFSD/yolov8m.pt
|
95 |
+
- **YOLOv8l**: https://issai.nu.edu.kz/wp-content/themes/issai-new/data/models/CAFSD/yolov8l.pt
|
96 |
+
- **YOLOv8x**: https://issai.nu.edu.kz/wp-content/themes/issai-new/data/models/CAFSD/yolov8x.pt
|
97 |
|
98 |
+
---
|
|
|
99 |
|
100 |
+
## π References
|
|
|
101 |
|
102 |
+
[1] European Commission: Impact assessment on measures addressing food waste to complete swd (2014) 207 regarding the review of EU waste management target (2014). Accessed 5-22-2024.
|
|
|
103 |
|
104 |
+
---
|
105 |
|
106 |
+
## π Citation
|
|
|
|
|
107 |
|
108 |
+
In case of using our dataset and/or pre-trained models, please cite our work:
|
109 |
|
|
|
110 |
```bibtex
|
111 |
@article{Karabay2025,
|
112 |
author = {Karabay, Aknur and Varol, Huseyin Atakan and Chan, Mei Yen},
|
|
|
121 |
issn = {2045-2322}
|
122 |
}
|
123 |
```
|
124 |
+
|
125 |
+
[π View the publication](https://doi.org/10.1038/s41598-025-95770-9)
|
126 |
+
|
127 |
|