Please check out:

The ToonOut Dataset is a collection of 1,228 high-quality anime-style images annotated for background removal tasks. Each sample includes raw RGB images, ground truth transparency masks, and RGBA annotated images with alpha channels. The dataset was specifically curated to improve segmentation and matting performance on anime characters and objects, addressing challenges such as complex hair, transparency, and stylized features.
It was used to fine-tune the BiRefNet model, resulting in ToonOut, which significantly improves background removal accuracy for anime-style images.

To get started with the associated code and dataset, follow the installation steps and then use the provided scripts for training and evaluation.
git clone https://github.com/MatteoKartoon/BiRefNet.git
cd BiRefNet
pip install -r requirements.txt
Please see the provided notebook here.
bash bash_scripts/train_finetuning.sh
python scripts/evaluations.py --checkpoint path/to/checkpoint
The dataset is split into train, validation, and test sets. Each split is organized into generation folders containing three subfolders:
im/: Raw RGB imagesgt/: Ground truth transparency masksan/: RGBA annotated images (RGB + alpha)toonout_dataset/
├── train/
│ ├── train_generations_20250318_emotion/
│ │ ├── im/ # RGB images
│ │ ├── gt/ # Ground truth masks
│ │ └── an/ # RGBA annotated images
│ └── train_generations_/…
├── test/
│ └── test_generations_/…
└── val/
└── validation_generations_*/…
State-of-the-art background removal models underperform on stylized anime imagery, particularly with fine-grained details such as hair strands, line art, and semi-transparent effects. This dataset was curated to bridge that gap and provide training material for anime-specific background-removal models.
If you use this dataset, please cite the accompanying paper:
BibTeX:
@misc{muratori2025toonout,
title={ToonOut: Fine-tuned Background Removal for Anime Characters},
author={Muratori, Matteo and Seytre, Joël},
year={2025},
eprint={2509.06839},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2509.06839},
doi={10.48550/arXiv.2509.06839}
}
⸻
Dataset Card Authors: Joël Seytre (Kartoon AI)
Dataset Card Contact: Joël Seytre (joel@kartoon.ai), Matteo Muratori (matteo.muratori9@studio.unibo.it)
⸻
Project by Kartoon AI, powering toongether, check us out at kartoon.ai & toongether.ai
20 commits
1 commits
Please check out:

The ToonOut Dataset is a collection of 1,228 high-quality anime-style images annotated for background removal tasks. Each sample includes raw RGB images, ground truth transparency masks, and RGBA annotated images with alpha channels. The dataset was specifically curated to improve segmentation and matting performance on anime characters and objects, addressing challenges such as complex hair, transparency, and stylized features.
It was used to fine-tune the BiRefNet model, resulting in ToonOut, which significantly improves background removal accuracy for anime-style images.

To get started with the associated code and dataset, follow the installation steps and then use the provided scripts for training and evaluation.
git clone https://github.com/MatteoKartoon/BiRefNet.git
cd BiRefNet
pip install -r requirements.txt
Please see the provided notebook here.
bash bash_scripts/train_finetuning.sh
python scripts/evaluations.py --checkpoint path/to/checkpoint
The dataset is split into train, validation, and test sets. Each split is organized into generation folders containing three subfolders:
im/: Raw RGB imagesgt/: Ground truth transparency masksan/: RGBA annotated images (RGB + alpha)toonout_dataset/
├── train/
│ ├── train_generations_20250318_emotion/
│ │ ├── im/ # RGB images
│ │ ├── gt/ # Ground truth masks
│ │ └── an/ # RGBA annotated images
│ └── train_generations_/…
├── test/
│ └── test_generations_/…
└── val/
└── validation_generations_*/…
State-of-the-art background removal models underperform on stylized anime imagery, particularly with fine-grained details such as hair strands, line art, and semi-transparent effects. This dataset was curated to bridge that gap and provide training material for anime-specific background-removal models.
If you use this dataset, please cite the accompanying paper:
BibTeX:
@misc{muratori2025toonout,
title={ToonOut: Fine-tuned Background Removal for Anime Characters},
author={Muratori, Matteo and Seytre, Joël},
year={2025},
eprint={2509.06839},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2509.06839},
doi={10.48550/arXiv.2509.06839}
}
⸻
Dataset Card Authors: Joël Seytre (Kartoon AI)
Dataset Card Contact: Joël Seytre (joel@kartoon.ai), Matteo Muratori (matteo.muratori9@studio.unibo.it)
⸻
Project by Kartoon AI, powering toongether, check us out at kartoon.ai & toongether.ai
20 commits
1 commits