Zarxrax/anime_image_segmentation
收藏资源简介:
该数据集包含26,000张动漫风格图像,其中一半是前景角色或物体,另一半是背景。数据集旨在用于训练分割或抠图模型,以便从背景中提取前景主题。数据集的基础来源于https://huggingface.co/datasets/skytnt/anime-segmentation,但作者对其进行了大量自动和手动检查,移除了超过一半的图像,并添加了许多新图像。前景图像移除了包含裸露或极端淫秽内容的图像,并仔细检查了图像以移除包含杂散像素、图像边缘被切断、半透明区域、模糊区域、阴影、文本和其他无关项目的问题图像。背景图像则增加了来自实际动漫视频的背景,并移除了许多抽象背景和图案。整个数据集还去除了重复和相似的图像,背景图像的最小尺寸为1024x1024,前景图像尺寸各异但通常较小。
This dataset contains 26,000 anime-style images, with half being foreground characters or objects and the other half being background scenes. It is designed for training segmentation or matting models to extract foreground subjects from their backgrounds. The dataset is based on https://huggingface.co/datasets/skytnt/anime-segmentation, but the authors have conducted extensive automatic and manual checks: over half of the original images were removed, and numerous new images were added. For foreground images, those containing nudity or extremely obscene content were filtered out, and careful inspections were carried out to eliminate problematic images with stray pixels, cropped edges, semi-transparent regions, blurry areas, shadows, text, and other irrelevant elements. For background images, additional backgrounds sourced from real anime videos were added, while many abstract backgrounds and patterns were removed. Additionally, the entire dataset has been cleaned of duplicate and highly similar images. The minimum size for background images is 1024x1024, while foreground images vary in size but are generally smaller.
数据集概述
数据集组成
- 图像数量: 26,000 张
- 图像类型: 动漫风格图像
- 图像分配: 一半为前景角色或物体,另一半为背景
数据集用途
- 主要用途: 用于训练分割或抠图模型,目的是将前景主体从背景中提取出来
数据集质量
- 质量改进:
- 通过自动化和手动检查,移除了超过一半的原始图像
- 添加了大量新图像以提高数据集质量
前景图像处理
- 内容筛选:
- 移除了包含裸露或极端猥亵内容的图像
- 移除了存在以下问题的图像:杂散像素、图像边缘被裁剪、半透明区域、模糊区域、阴影、文字和其他无关元素、部分背景在角色后面
- 来源:
- 主要来自booru图像网站
- 添加了来自游戏、视觉小说和各种“透明png”档案的图像
- 增加了男性角色和非人类生物的图像
背景图像处理
- 内容筛选:
- 移除了大量抽象背景和图案
- 替换为从其他来源(如torrents、twitter和手动捕捉的动漫视频)获取的背景
- 来源:
- 增加了来自实际动漫视频的背景
- 添加了一些纯色背景图像,这些图像位于数据集末尾,可根据需要移除
数据集一致性
- 去重处理: 在整个数据集中移除了重复和相似的图像
- 图像尺寸:
- 背景图像最小尺寸为1024x1024
- 前景图像尺寸各异,但通常不会遮挡整个背景图像




