Dataset Viewer
Auto-converted to Parquet Duplicate
image_id
int64
2
78.4k
file_name
stringlengths
58
65
width
int64
342
513
height
int64
500
750
image
imagewidth (px)
342
513
annotations
dict
text_annotations
dict
text_features
dict
2
O1CN01HnK3zH1HoH7oxbsE5_!!3409010804-0-alimamazszw_mask002.jpg
513
750
{ "annotation_id": [ 1 ], "area": [ 19719 ], "bbox": [ [ 101, 674, 313, 63 ] ], "category": [ { "category_id": 2, "name": 1, "supercategory": "text" } ], "category_id": [ 2 ], "image_id": [ 2 ], "iscrowd": [ false ...
{ "is_sample": false, "image": "ali_anno_1/0.png", "rotate": 0, "pin": "jd_50e595b192af9", "data": { "category_description": [ "新款尝鲜价" ], "points": [ { "x": [ 101, 414, 414, 101 ], "y": [ 674, 674, ...
{ "num": 1, "pos": [ [ 101, 674, 313, 63 ] ], "feats": [ [ [ -0.5065681338310242, 0.5485403537750244, -0.22256949543952942, -0.4753946363925934, 0.0066882530227303505, 0.2459186613559723, -0.10753196477890015, ...
6
O1CN01MQMDp41wbMDu5CuGj_!!1125016326-0-alimamazszw_mask002.jpg
513
750
{ "annotation_id": [ 2, 3, 4, 5 ], "area": [ 3556, 18584, 7398, 12996 ], "bbox": [ [ 194, 66, 127, 28 ], [ 55, 108, 404, 46 ], [ 120, 176, 274, 27 ], [ 87, 170, ...
{ "is_sample": false, "image": "ali_anno_1/1.png", "rotate": 0, "pin": "jd_50e595b192af9", "data": { "category_description": [ "进口机芯 品质保证", "满300减30/499减60" ], "points": [ { "x": [ 55, 459, 459, 55 ], "y": [ ...
{ "num": 2, "pos": [ [ 55, 108, 404, 46 ], [ 120, 176, 274, 27 ] ], "feats": [ [ [ -0.46834948658943176, 0.6063889265060425, -0.5885641574859619, 0.021919645369052887, -0.11432891339063644, ...
7
O1CN015AQ4xK2HQSiTNNktq_!!2097409145-0-alimamazszw_mask002.jpg
513
750
{ "annotation_id": [ 6, 7, 8 ], "area": [ 2295, 11362, 20720 ], "bbox": [ [ 177, 40, 153, 15 ], [ 133, 92, 247, 46 ], [ 117, 80, 280, 74 ] ], "category": [ { "category_id": 1, ...
{ "is_sample": false, "image": "ali_anno_1/2.png", "rotate": 0, "pin": "jd_50e595b192af9", "data": { "category_description": [ "支持原创" ], "points": [ { "x": [ 133, 380, 380, 133 ], "y": [ 92, 92, ...
{ "num": 1, "pos": [ [ 133, 92, 247, 46 ] ], "feats": [ [ [ -0.4953066408634186, 0.33638375997543335, 0.08809182792901993, -0.30302751064300537, -0.06602481752634048, -0.38689368963241577, 0.0907057672739029, ...
10
O1CN01jw3oTi22XaeV9w5oU_!!2270977130-0-alimamazszw_mask002.jpg
513
750
{ "annotation_id": [ 9, 10, 11 ], "area": [ 68838, 22308, 14175 ], "bbox": [ [ 22, 71, 462, 149 ], [ 41, 91, 429, 52 ], [ 52, 162, 405, 35 ] ], "category": [ { "category_id": 3...
{ "is_sample": false, "image": "ali_anno_1/3.png", "rotate": 0, "pin": "jd_50e595b192af9", "data": { "category_description": [ "国工亲制 收藏重器", "原矿老紫泥 泡养易包浆" ], "points": [ { "x": [ 41, 470, 470, 41 ], "y": [ ...
{ "num": 2, "pos": [ [ 41, 91, 429, 52 ], [ 52, 162, 405, 35 ] ], "feats": [ [ [ -0.2596038579940796, 0.393130898475647, -0.20888149738311768, -0.2506861388683319, 0.02091776207089424, -0.12...
12
O1CN012D5Xga1JXRpa1F7T9_!!776151038-0-alimamazszw_mask002.jpg
513
750
{ "annotation_id": [ 12, 13, 14, 15, 16, 17, 18 ], "area": [ 10240, 31126, 6864, 14382, 2106, 1300, 10712 ], "bbox": [ [ 135, 20, 256, 40 ], [ 68, 69, 394, 79 ], [ 157, 172, ...
null
null
13
O1CN01ixtZZv1YnDhuccLLj_!!2746493103-0-alimamazszw_mask002.jpg
513
750
{ "annotation_id": [ 19, 20, 21, 22, 23 ], "area": [ 18460, 26331, 8968, 7503, 4992 ], "bbox": [ [ 106, 22, 284, 65 ], [ 61, 140, 393, 67 ], [ 48, 590, 236, 38 ], [ ...
{ "is_sample": false, "image": "ali_anno_1/5.png", "rotate": 0, "pin": "jd_50e595b192af9", "data": { "category_description": [ "11.1抢半价", "11.1日0点开抢", "立即加购>" ], "points": [ { "x": [ 61, 454, 454, 61 ], "y": [ ...
{ "num": 3, "pos": [ [ 61, 140, 393, 67 ], [ 48, 590, 236, 38 ], [ 56, 657, 156, 32 ] ], "feats": [ [ [ -0.381207674741745, 0.5699344277381897, -0.14326733350753784, -0.63860...
14
O1CN01RhC83e2LyaiAoaOZl_!!2965419761-0-alimamazszw_mask002.jpg
513
750
{ "annotation_id": [ 24, 25, 26, 27, 28, 29, 30, 31, 32 ], "area": [ 12096, 17336, 6912, 3312, 9984, 1064, 1406, 703, 11385 ], "bbox": [ [ 49, 22, 432, 28 ], [ 53, 73, 394, 44 ...
null
null
15
O1CN01K6rwcc1qSl5wUK4Eh_!!521385495-0-alimamazszw_mask002.jpg
513
750
{ "annotation_id": [ 33, 34 ], "area": [ 24192, 36366 ], "bbox": [ [ 57, 64, 384, 63 ], [ 45, 51, 418, 87 ] ], "category": [ { "category_id": 2, "name": 1, "supercategory": "text" }, { "cate...
{ "is_sample": false, "image": "ali_anno_1/7.png", "rotate": 0, "pin": "jd_50e595b192af9", "data": { "category_description": [ "你就是焦点!!" ], "points": [ { "x": [ 57, 441, 441, 57 ], "y": [ 64, 64, ...
{ "num": 1, "pos": [ [ 57, 64, 384, 63 ] ], "feats": [ [ [ -0.21723784506320953, 0.21752044558525085, 0.07390620559453964, -0.4062466323375702, 0.02999904379248619, -0.010794533416628838, -0.23076380789279938, ...
16
O1CN01whMbZv1ITxBeIjmFt_!!3356060895-0-alimamazszw_mask002.jpg
513
750
{ "annotation_id": [ 35, 36, 37, 38, 39, 40, 41 ], "area": [ 8040, 19307, 7280, 2904, 5400, 1843, 3885 ], "bbox": [ [ 124, 33, 268, 30 ], [ 33, 92, 449, 43 ], [ 128, 146, ...
null
null
17
O1CN01XjAvU82BmY7NKOSX8_!!1014248381-0-alimamazszw_mask002.jpg
513
750
{ "annotation_id": [ 42, 43, 44, 45, 46, 47, 48, 49, 50 ], "area": [ 6768, 3720, 32338, 5460, 2254, 5720, 2576, 5863, 2464 ], "bbox": [ [ 10, 536, 144, 47 ], [ 20, 545, 120, 31 ...
null
null
End of preview. Expand in Data Studio

Dataset Card for CGL-Dataset v2

CI Sync HF

Dataset Summary

CGL-Dataset v2 is an advertising-poster layout dataset released with Relation-Aware Diffusion Model for Controllable Poster Layout Generation. The paper argues that poster layouts should account for both visual-textual relationships and geometry relationships between elements. This version extends CGL-Dataset with richer element annotations, text annotations, and text features for controllable poster layout generation.

Supported Tasks and Leaderboards

The dataset supports poster layout generation, layout understanding, and relation-aware controllable generation. No public leaderboard is bundled with this Hugging Face dataset.

Languages

Poster text and annotations are primarily Chinese (zh).

Dataset Structure

Data Fields

The default config contains poster images and COCO-style instance annotations with optional text_annotations and text_features.

The ralf-style config exposes the same data in a layout-generation format with original posters, inpainted posters, saliency maps, and annotations.

Data Splits

Config Split Rows
default train 60,548
default test 1,035
ralf-style train 48,438
ralf-style validation 6,055
ralf-style test 6,055
ralf-style no_annotation 1,035

Dataset Creation

The original release was created for relation-aware diffusion research on controllable poster layout generation. Posters are annotated with visual elements such as logos, text, underlays, embellishments, and highlighted text, and the dataset supports generation under user constraints.

Considerations for Using the Data

The dataset is focused on advertising posters and Chinese e-commerce-style visual content. Models trained on it may inherit the visual conventions and category distribution of the source data.

Additional Information

Licensing Information

The dataset license is not specified in the local loader metadata. Users should verify the upstream terms before redistribution or commercial use.

Citation Information

@inproceedings{li2023relation,
  title={Relation-Aware Diffusion Model for Controllable Poster Layout Generation},
  author={Li, Fengheng and Liu, An and Feng, Wei and Zhu, Honghe and Li, Yaoyu and Zhang, Zheng and Lv, Jingjing and Zhu, Xin and Shen, Junjie and Lin, Zhangang},
  booktitle={Proceedings of the 32nd ACM international conference on information & knowledge management},
  pages={1249--1258},
  year={2023}
}

Contributions

Thanks to liuan0803 for creating the original dataset.

Downloads last month
309

Space using creative-graphic-design/CGL-Dataset-v2 1

Collection including creative-graphic-design/CGL-Dataset-v2

Paper for creative-graphic-design/CGL-Dataset-v2