gofixyourself commited on
Commit
8848b11
β€’
1 Parent(s): 9d555f3

Updated README.md

Browse files
Files changed (1) hide show
  1. README.md +126 -1
README.md CHANGED
@@ -2,6 +2,131 @@
2
  license: cc-by-sa-4.0
3
  task_categories:
4
  - image-segmentation
 
 
 
 
5
  size_categories:
6
  - 10K<n<100K
7
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  license: cc-by-sa-4.0
3
  task_categories:
4
  - image-segmentation
5
+ task_ids:
6
+ - semantic-segmentation
7
+ - portrait-segmentation
8
+ - face-parsing
9
  size_categories:
10
  - 10K<n<100K
11
+ annotations_creators:
12
+ - crowdsourced
13
+ source_datasets:
14
+ - original
15
+ tags:
16
+ - portrait-segmentation
17
+ - face-parsing
18
+ - face-beautification
19
+ pretty_name: EasyPortrait
20
+ paperswithcode_id: easyportrait
21
+ dataset_info:
22
+ - config_name: easyportrait
23
+ features:
24
+ - name: image
25
+ dtype: image
26
+ - name: annotation
27
+ dtype: image
28
+ - name: face_part_category
29
+ dtype:
30
+ class_label:
31
+ names:
32
+ '0': background
33
+ '1': person
34
+ '2': skin
35
+ '3': left_brow
36
+ '4': right_brow
37
+ '5': left_eye
38
+ '6': right_eye
39
+ '7': lips
40
+ '8': teeth
41
+ splits:
42
+ - name: train
43
+ num_examples: 14000
44
+ - name: test
45
+ num_examples: 4000
46
+ - name: validation
47
+ num_examples: 2000
48
+ ---
49
+
50
+ # EasyPortrait - Face Parsing and Portrait Segmentation Dataset
51
+
52
+ We introduce a large-scale image dataset **EasyPortrait** for portrait segmentation and face parsing. Proposed dataset can be used in several tasks, such as background removal in conference applications, teeth whitening, face skin enhancement, red eye removal or eye colorization, and so on.
53
+
54
+ EasyPortrait dataset size is about **26GB**, and it contains **20 000** RGB images (~17.5K FullHD images) with high quality annotated masks. This dataset is divided into training set, validation set and test set by subject `user_id`. The training set includes 14000 images, the validation set includes 2000 images, and the test set includes 4000 images.
55
+
56
+ Training images were received from 5,947 unique users, while validation was from 860 and testing was from 1,570. On average, each EasyPortrait image has 254 polygon points, from which it can be concluded that the annotation is of high quality. Segmentation masks were created from polygons for each annotation.
57
+
58
+ For more information see our paper [EasyPortrait – Face Parsing and Portrait Segmentation Dataset](https://arxiv.org/abs/2304.13509).
59
+
60
+ ## Structure
61
+ ```
62
+ .
63
+ β”œβ”€β”€ images.zip
64
+ β”‚ β”œβ”€β”€ train/ # Train set: 14k
65
+ β”‚ β”œβ”€β”€ val/ # Validation set: 2k
66
+ β”‚ β”œβ”€β”€ test/ # Test set: 4k
67
+ β”œβ”€β”€ annotations.zip
68
+ β”‚ β”œβ”€β”€ meta.zip # Meta-information (width, height, brightness, imhash, user_id)
69
+ β”‚ β”œβ”€β”€ train/
70
+ β”‚ β”œβ”€β”€ val/
71
+ β”‚ β”œβ”€β”€ test/
72
+ ...
73
+ ```
74
+ ## Annotations
75
+
76
+ Annotations are presented as 2D-arrays, images in *.png format with several classes:
77
+
78
+ | Index | Class |
79
+ |------:|:-----------|
80
+ | 0 | BACKGROUND |
81
+ | 1 | PERSON |
82
+ | 2 | SKIN |
83
+ | 3 | LEFT BROW |
84
+ | 4 | RIGHT_BROW |
85
+ | 5 | LEFT_EYE |
86
+ | 6 | RIGHT_EYE |
87
+ | 7 | LIPS |
88
+ | 8 | TEETH |
89
+
90
+ Also, we provide some additional meta-information for dataset in `annotations/meta.zip` file:
91
+
92
+ | | attachment_id | user_id | data_hash | width | height | brightness | train | test | valid |
93
+ |---:|:--------------|:--------|:----------|------:|-------:|-----------:|:------|:------|:------|
94
+ | 0 | de81cc1c-... | 1b... | e8f... | 1440 | 1920 | 136 | True | False | False |
95
+ | 1 | 3c0cec5a-... | 64... | df5... | 1440 | 1920 | 148 | False | False | True |
96
+ | 2 | d17ca986-... | cf... | a69... | 1920 | 1080 | 140 | False | True | False |
97
+
98
+ where:
99
+ - `attachment_id` - image file name without extension
100
+ - `user_id` - unique anonymized user ID
101
+ - `data_hash` - image hash by using Perceptual hashing
102
+ - `width` - image width
103
+ - `height` - image height
104
+ - `brightness` - image brightness
105
+ - `train`, `test`, `valid` are the binary columns for train / test / val subsets respectively
106
+
107
+ ## Authors and Credits
108
+ - [Alexander Kapitanov](https://www.linkedin.com/in/hukenovs)
109
+ - [Karina Kvanchiani](https://www.linkedin.com/in/kvanchiani)
110
+ - [Sofia Kirillova](https://www.linkedin.com/in/gofixyourself/)
111
+
112
+ ## Links
113
+ - [arXiv](https://arxiv.org/abs/2304.13509)
114
+ - [Paperswithcode](https://paperswithcode.com/dataset/easyportrait)
115
+ - [Kaggle](https://www.kaggle.com/datasets/kapitanov/easyportrait)
116
+ - [Habr](https://habr.com/ru/companies/sberdevices/articles/731794/)
117
+ - [Gitlab](https://gitlab.aicloud.sbercloud.ru/rndcv/easyportrait)
118
+
119
+ ## Citation
120
+ You can cite the paper using the following BibTeX entry:
121
+
122
+ @article{EasyPortrait,
123
+ title={EasyPortrait - Face Parsing and Portrait Segmentation Dataset},
124
+ author={Kapitanov, Alexander and Kvanchiani, Karina and Kirillova Sofia},
125
+ journal={arXiv preprint arXiv:2304.13509},
126
+ year={2023}
127
+ }
128
+
129
+ ## License
130
+ <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br />This work is licensed under a variant of <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.
131
+
132
+ Please see the specific [license](https://github.com/hukenovs/easyportrait/blob/master/license/en_us.pdf).