license: apache-2.0
tags:
- art
pretty_name: Human Segmentation Dataset
Human Segmentation Dataset
This dataset was created for developing the best fully open-source background remover of images with humans. It was crafted with LayerDiffuse, a Stable Diffusion extension for generating transparent images.
The dataset covers a diverse set of segmented humans: various skin tones, clothes, hair styles etc. Since Stable Diffusion is not perfect, the dataset contains images with flaws. Still the dataset is good enough for training background remover models.
It contains transparent images of humans (/humans
) which are randomly combined with backgrounds (/backgrounds
) with an augmentation script.
I created more than 5.000 images with people and more than 5.000 diverse backgrounds.
Create Training Dataset
Execute the following script for creating training and validation data:
./create_dataset.sh
Examples
Here you can see an augmented image and the resulting ground truth:
Support
If you identify weaknesses in the data, please contact me.
I had some trouble with the Hugging Face file upload. This is why you can find the data here: Google Drive.
Research
Synthetic datasets have limitations for achieving great segmentation results. This is because artificial lighting, occlusion, scale or backgrounds create a gap between synthetic and real images. A "model trained solely on synthetic data generated with naïve domain randomization struggles to generalize on the real domain", see PEOPLESANSPEOPLE: A Synthetic Data Generator for Human-Centric Computer Vision (2022). However, hybrid training approaches seem to be promising and can even improve segmentation results.
Currently I am doing research how to close this gap with the resources I have. There are approaches like considering the pose of humans for improving segmentation results, see Cross-Domain Complementary Learning Using Pose for Multi-Person Part Segmentation (2019).
Changelog
28.05.2024
- Reduced blur, because it leads to blurred edges in results
26.05.2024
- Added more diverse backgrounds (natural landscapes, streets, houses)
- Added more close-up images
- Added shadow augmentation