king-image-stickmann
收藏资源简介:
KING2 Stickman数据集是一个包含10,085张简笔画或骨架图图像及其英文描述的数据集,专为训练名为KING2-IMAGE的SDXL LoRA模型而设计。数据集由两部分组成:主要部分包含10,000张图像,源自HumanML3D运动捕捉数据的合成骨架渲染,适用于研究用途;次要部分包含85张图像,是从Wikimedia Commons收集并经过许可验证的真实手绘或矢量简笔画插图,遵循CC0、公共领域、CC BY或CC BY-SA等许可证。所有图像均处理为1024x1024像素的RGB PNG格式,每张图像都配有描述性文本:主要部分的描述基于HumanML3D官方运动描述改写为简笔画语境,次要部分的描述则源自Wikimedia Commons标题。数据集适用于文本到图像生成任务,特别是简笔画风格图像的生成。数据以图像文件与对应文本描述文件对的形式组织,并提供一个综合的metadata.jsonl文件,包含文件名、描述、标签、来源、质量评分(仅主要部分)以及许可证信息等字段。已知限制包括:主要部分的图像具有单一视觉风格(白色背景上的粗线条骨架,无头部圆圈、颜色、背景或物体),且每张图像通常只包含一个角色(源自单人运动数据)。
The KING2 Stickman dataset consists of 10,085 stick figure/skeleton image and English description pairs, specifically built for training the KING2-IMAGE SDXL LoRA model. It is divided into two parts with different origins and licenses. The main part contains 10,000 images synthetically rendered from HumanML3D motion capture data, intended for research use. The minor part includes 85 images collected from Wikimedia Commons, featuring verified real hand-drawn or vector stick figure illustrations under licenses such as CC0, public domain, CC BY, or CC BY-SA, with details available in the accompanying ATTRIBUTION.md file. All images are processed into a uniform 1024x1024 pixel RGB PNG format. Each image is paired with descriptive text: descriptions for the main part are adapted from HumanML3D official motion descriptions to a stick figure context, while those for the minor part are derived from their Wikimedia Commons titles. The dataset is suitable for text-to-image generation tasks, particularly for generating stick figure-style images. Data is organized as file pairs (image files with corresponding text description files) and includes a comprehensive metadata.jsonl file containing fields such as filename, description, tags, source, quality score (main part only), and source-specific information like license details. Known limitations include: the main part images have a uniform visual style (thick-line skeletons on white backgrounds without head circles, colors, backgrounds, or objects), and each image typically features only one character (derived from single-person motion data).
数据集概览:KING2 Stickman Dataset
该数据集包含 10,085 张火柴人图像及对应的英文描述,专为训练 KING2-IMAGE SDXL LoRA(模型 RASHID778/king2-image,适配器 stickman)而构建。
数据规模与许可
数据集分为两部分,许可协议不同:
| 图像范围 | 数量 | 来源 | 许可 |
|---|---|---|---|
images/000000.png – 009999.png |
10,000 | HumanML3D 动作捕捉渲染(合成骨架) | 研究用途(见下方说明) |
images_commons/010000.png – 010084.png |
85 | 来自维基共享资源的真实插画 | 每张图像许可不同(CC0/PD/CC BY/CC BY-SA),详见 ATTRIBUTION.md |
注意:维基共享资源部分存储在独立的 images_commons/ 和 captions_commons/ 目录中,不在 images/ 目录内。
数据来源
| 来源 | 贡献 |
|---|---|
| Deepthought42424/humanml3d_stick_figures_5_frames | 29,228 个动作序列(扫描 832,864 帧)——主要图像来源 |
| hassanjbara/humanml3d_stick_figures | 21 个序列(同一语料的子集,按 sample_id 去重) |
| HumanML3D texts | 官方动作描述,用作描述(按 sample_id 索引) |
| 维基共享资源 | 85 张真实手绘/矢量火柴人插画,已逐张核实许可(详见 ATTRIBUTION.md) |
数据处理流程(图像 000000–009999)
- 帧选择:对每个动作序列,在 30%/50%/70% 位置解码 3 个候选帧,保留动作中期得分最高的姿势(每序列 1 张图像,最大化姿势多样性)。
- 质量评分(1–10分):基于墨水比例、对比度(标准差)、人物边界框覆盖度和边缘裁剪的启发式评分,仅保留 得分 ≥ 8 的图像。
- 去重:通过 256 位 dHash 与 32 位 LSH(汉明距离 ≤ 12)进行精确和近似去重,去除了 5,936 张近似重复图像(保留 23,292 张唯一图像)。
- 标准化:所有图像转换为 1024×1024,RGB,PNG 格式(源帧为 512×512 正方形渲染,使用 LANCZOS 放大——对于线条画实际上无损)。
- 描述生成:将每个动作的官方 HumanML3D 文本改写为火柴人描述(例如 "a person is taking a picture" → "a stickman is taking a picture, simple black and white stick figure line drawing"),并附加动作标签。
- 最终筛选:按质量得分保留前 10,000 张图像。
维基共享资源补充(图像 010000–010084)
为补充真实手绘/矢量火柴人艺术,对维基共享资源进行了搜索(类别 Stick figures + 全文搜索 "stickman"/"stick figure"/"Strichfigur"),并通过 Commons API 检查每张候选图像的许可元数据。仅保留标记为公有领域、CC0、CC BY 或 CC BY-SA(且无 "trademarked"/其他限制标志)的文件。随后手动筛选实际相关的内容(排除类似古陶器上的“执棍少年”、博物馆手杖文物、真实危险标志摄影等误匹配项)和安全主题。每张保留的图像均标准化为 1024×1024 RGB PNG(保持宽高比调整大小,在白色画布上居中,与数据集其余部分一致),并使用其 Commons 标题生成描述。
每张图像的完整归属信息(作者、许可、来源链接)位于 ATTRIBUTION.md——重用前必须阅读,因为 CC BY / CC BY-SA 要求在重新分发时进行署名和相同方式共享。
数据集结构
dataset/ ├── images/ 10,000 × 1024×1024 RGB PNG (000000.png … 009999.png) — HumanML3D ├── captions/ 每个图像对应一个 .txt 描述文件(相同文件名) ├── images_commons/ 85 × 1024×1024 RGB PNG (010000.png … 010084.png) — 维基共享资源 ├── captions_commons/ 每个图像对应一个 .txt 描述文件(相同文件名) ├── metadata.jsonl 包含所有 10,085 行的 file_name, caption, tags, source 及来源特定字段 ├── ATTRIBUTION.md images_commons/* 中每张图像的作者/许可/来源信息 └── README.md
metadata.jsonl 示例
HumanML3D 来源(000000–009999): json {"file_name": "images/000000.png", "caption": "a stickman walking in a strong manner, simple black and white stick figure line drawing", "tags": ["stickman", "stick figure", "pose", "line drawing", "minimal", "black and white", "walking"], "quality_score": 10, "source": "humanml3d_stick_figures_5_frames", "sample_id": "...", "frame_index": 12}
维基共享资源补充(010000–010084): json {"file_name": "images_commons/010000.png", "caption": "a stickman illustration, simple black and white stick figure line drawing", "tags": ["stickman", "stick figure", "wikimedia-commons", "real-illustration"], "source": "wikimedia_commons", "commons_title": "File:HD@DH.nrw Strichfigur 1.svg", "commons_url": "https://commons.wikimedia.org/wiki/File:HD@DH.nrw_Strichfigur_1.svg", "license": "CC BY 4.0", "license_url": "...", "artist": "HD@DH.nrw | Michelle Dahlmanns"}
已知局限性
- 单一视觉风格(000000–009999):所有 HumanML3D 来源的图像均为白色背景上的粗笔触骨架渲染——无头部圆形、无颜色、无背景、无物体。85 张 Commons 补充图像部分解决了此问题,但相对主语料库样本量较小。
- 单一人体(000000–009999):HumanML3D 动作均为单人场景,无多人场景(Commons 补充中的少数图像显示多人)。
- 许可混合——使用前请阅读:
images/000000.png–009999.png:HumanML3D 源自 AMASS/HumanAct12,它们具有学术/研究许可。上游 HF 数据集未声明明确许可。对于此范围,请视为研究用途;在商业部署前请审阅许可协议。images/010000.png–010084.png:每张图像的许可分别为公有领域、CC0、CC BY 或 CC BY-SA——请查看ATTRIBUTION.md以了解每张文件的确切许可和所需的署名。CC BY-SA 文件对衍生数据集的重新分发施加了相同方式共享义务(但不影响基于其训练的模型权重)。




