Datasets:
image imagewidth (px) 1.15k 3.44k | image_id stringlengths 11 17 | book_id stringclasses 44
values | width int32 1.15k 3.44k | height int32 1.93k 5.29k | objects dict | columns dict | segments dict |
|---|---|---|---|---|---|---|---|
100241706_00005_1 | 100241706 | 2,392 | 3,874 | {
"bbox": [
[
2051,
945,
121,
117
],
[
2009,
1162,
163,
157
],
[
2059,
1360,
55,
80
],
[
2017,
1520,
124,
169
],
[
2036,
1722,
65,
76
],
[
1995,
... | {
"bbox": [
[
1995,
945,
193,
2639
],
[
1669,
939,
184,
2619
],
[
1364,
941,
211,
2559
],
[
1040,
935,
219,
2593
],
[
724,
951,
187,
2533
],
[
381,
... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00005_2 | 100241706 | 2,416 | 3,874 | {
"bbox": [
[
1799,
956,
164,
156
],
[
1829,
1179,
160,
141
],
[
1820,
1370,
156,
175
],
[
1809,
1591,
176,
216
],
[
1817,
1860,
159,
155
],
[
1841,... | {
"bbox": [
[
1799,
956,
191,
2549
],
[
1501,
955,
205,
2556
],
[
1175,
947,
192,
2586
],
[
865,
957,
189,
2561
],
[
545,
956,
213,
2631
],
[
229,
... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00006_1 | 100241706 | 2,362 | 3,886 | {
"bbox": [
[
1957,
959,
151,
172
],
[
1957,
1203,
144,
145
],
[
1969,
1411,
151,
163
],
[
1982,
1634,
67,
200
],
[
1975,
1835,
113,
216
],
[
1935,
... | {
"bbox": [
[
1935,
959,
189,
2640
],
[
1623,
964,
198,
2589
],
[
1307,
947,
213,
2625
],
[
987,
931,
187,
2623
],
[
610,
939,
247,
2539
],
[
324,
... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00007_2 | 100241706 | 2,392 | 3,868 | {
"bbox": [
[
1831,
936,
168,
167
],
[
1861,
1124,
108,
167
],
[
1848,
1305,
127,
153
],
[
1848,
1479,
116,
145
],
[
1871,
1619,
120,
140
],
[
1856,... | {
"bbox": [
[
1831,
936,
188,
2502
],
[
1596,
1331,
191,
1567
],
[
1372,
932,
177,
440
],
[
1448,
1551,
117,
2033
],
[
1357,
1555,
99,
752
],
[
1143... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00008_1 | 100241706 | 2,350 | 3,874 | {
"bbox": [
[
2019,
968,
93,
99
],
[
2010,
1070,
123,
44
],
[
2025,
1128,
93,
140
],
[
2029,
1271,
91,
109
],
[
2023,
1382,
93,
105
],
[
2034,
... | {
"bbox": [
[
1997,
968,
151,
1710
],
[
1779,
978,
108,
819
],
[
1520,
928,
155,
2647
],
[
1276,
928,
155,
2207
],
[
1022,
929,
152,
2682
],
[
787,
... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00008_2 | 100241706 | 2,410 | 3,868 | {
"bbox": [
[
1887,
947,
96,
45
],
[
1889,
1032,
109,
144
],
[
1889,
1360,
107,
119
],
[
1923,
1480,
32,
89
],
[
1902,
1575,
49,
115
],
[
1891,
... | {
"bbox": [
[
1877,
947,
125,
1844
],
[
1626,
955,
167,
1836
],
[
1388,
943,
160,
2672
],
[
1156,
940,
139,
1189
],
[
914,
940,
139,
2352
],
[
670,
... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00009_1 | 100241706 | 2,362 | 3,880 | {
"bbox": [
[
2042,
976,
96,
103
],
[
2031,
1079,
89,
99
],
[
2053,
1188,
53,
123
],
[
2049,
1303,
93,
123
],
[
2051,
1429,
71,
100
],
[
2046,
... | {
"bbox": [
[
2013,
976,
138,
2650
],
[
1764,
983,
149,
2637
],
[
1539,
983,
144,
2637
],
[
1290,
980,
152,
2646
],
[
1038,
989,
155,
2629
],
[
796,... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00009_2 | 100241706 | 2,374 | 3,880 | {
"bbox": [
[
1881,
1003,
85,
156
],
[
1887,
1163,
92,
145
],
[
1897,
1309,
64,
155
],
[
1902,
1471,
51,
104
],
[
1874,
1576,
92,
108
],
[
1875,
... | {
"bbox": [
[
1874,
1003,
142,
2619
],
[
1639,
1000,
161,
2629
],
[
1386,
1000,
166,
2617
],
[
1158,
997,
133,
2612
],
[
915,
997,
154,
2616
],
[
67... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00010_1 | 100241706 | 2,369 | 3,872 | {
"bbox": [
[
2049,
995,
101,
107
],
[
2060,
1104,
64,
121
],
[
1793,
943,
99,
53
],
[
1781,
1019,
141,
93
],
[
1794,
1119,
108,
160
],
[
1821,
... | {
"bbox": [
[
2049,
995,
101,
230
],
[
1753,
943,
169,
2664
],
[
1534,
1008,
138,
2591
],
[
1281,
997,
147,
2605
],
[
1051,
996,
130,
2614
],
[
811,... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00010_2 | 100241706 | 2,380 | 3,868 | {
"bbox": [
[
1888,
999,
103,
137
],
[
1892,
1140,
85,
128
],
[
1899,
1272,
73,
128
],
[
1891,
1416,
99,
69
],
[
1879,
1517,
121,
129
],
[
1897,
... | {
"bbox": [
[
1869,
999,
131,
2604
],
[
1636,
991,
128,
2627
],
[
1381,
1011,
140,
2591
],
[
1149,
1005,
135,
2600
],
[
921,
1000,
117,
415
],
[
673... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00011_1 | 100241706 | 2,350 | 3,867 | {
"bbox": [
[
2017,
916,
113,
52
],
[
1989,
1001,
181,
176
],
[
2027,
1179,
81,
71
],
[
2005,
1444,
119,
112
],
[
2005,
1577,
113,
157
],
[
2025,
... | {
"bbox": [
[
1989,
916,
181,
2667
],
[
1755,
989,
135,
1464
],
[
1511,
936,
137,
2639
],
[
1276,
984,
128,
1882
],
[
1023,
924,
156,
2617
],
[
786,... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00011_2 | 100241706 | 2,386 | 3,874 | {
"bbox": [
[
1875,
975,
112,
157
],
[
1865,
1147,
120,
109
],
[
1878,
1276,
96,
79
],
[
1878,
1366,
95,
145
],
[
1867,
1512,
139,
120
],
[
1889,
... | {
"bbox": [
[
1847,
975,
159,
2650
],
[
1628,
986,
125,
2641
],
[
1378,
1003,
147,
2630
],
[
1142,
1002,
141,
2618
],
[
910,
987,
147,
2619
],
[
680... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00012_1 | 100241706 | 2,344 | 3,862 | {
"bbox": [
[
2004,
990,
123,
159
],
[
2041,
1147,
99,
124
],
[
2064,
1275,
56,
196
],
[
2056,
1491,
43,
93
],
[
2036,
1586,
60,
119
],
[
2019,
... | {
"bbox": [
[
1997,
990,
143,
2627
],
[
1747,
998,
148,
2613
],
[
1523,
998,
147,
2608
],
[
1277,
991,
144,
2288
],
[
1035,
1278,
135,
1473
],
[
795... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00012_2 | 100241706 | 2,398 | 3,874 | {
"bbox": [
[
1909,
992,
63,
148
],
[
1895,
1142,
96,
83
],
[
1879,
1254,
121,
133
],
[
1887,
1410,
99,
89
],
[
1894,
1548,
100,
121
],
[
1895,
... | {
"bbox": [
[
1879,
992,
133,
2590
],
[
1646,
995,
152,
2595
],
[
1412,
988,
139,
2599
],
[
1172,
991,
123,
509
],
[
936,
1196,
121,
1408
],
[
679,
... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00013_1 | 100241706 | 2,338 | 3,868 | {
"bbox": [
[
2022,
1004,
91,
97
],
[
2002,
1103,
113,
100
],
[
1998,
1213,
155,
116
],
[
2007,
1357,
127,
172
],
[
2021,
1531,
77,
128
],
[
1995,
... | {
"bbox": [
[
1985,
1004,
168,
2616
],
[
1744,
993,
164,
2618
],
[
1518,
1003,
130,
2605
],
[
1270,
999,
141,
2612
],
[
1023,
992,
153,
2624
],
[
78... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00013_2 | 100241706 | 2,374 | 3,874 | {
"bbox": [
[
1853,
980,
113,
221
],
[
1885,
1203,
45,
100
],
[
1877,
1330,
85,
84
],
[
1875,
1415,
71,
140
],
[
1869,
1556,
81,
129
],
[
1869,
... | {
"bbox": [
[
1851,
980,
131,
2628
],
[
1619,
1004,
141,
2609
],
[
1392,
990,
145,
2612
],
[
1135,
990,
160,
2252
],
[
884,
994,
161,
1358
],
[
654,... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00014_1 | 100241706 | 2,350 | 3,874 | {
"bbox": [
[
2019,
983,
83,
143
],
[
1998,
1143,
109,
96
],
[
2005,
1274,
124,
189
],
[
2011,
1484,
88,
141
],
[
2023,
1628,
67,
143
],
[
2011,
... | {
"bbox": [
[
1993,
983,
145,
2611
],
[
1752,
996,
165,
2599
],
[
1511,
995,
166,
2125
],
[
1263,
936,
159,
602
],
[
1004,
984,
176,
2630
],
[
786,
... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00014_2 | 100241706 | 2,398 | 3,880 | {
"bbox": [
[
1863,
993,
107,
179
],
[
1881,
1171,
88,
101
],
[
1905,
1273,
35,
91
],
[
1911,
1355,
24,
171
],
[
1874,
1548,
108,
156
],
[
1889,
... | {
"bbox": [
[
1863,
993,
138,
2614
],
[
1634,
999,
137,
2611
],
[
1395,
988,
166,
2622
],
[
1148,
1005,
141,
2613
],
[
916,
984,
127,
2616
],
[
672,... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00015_1 | 100241706 | 2,380 | 3,904 | {
"bbox": [
[
2059,
969,
25,
167
],
[
2031,
1144,
101,
141
],
[
2015,
1288,
124,
156
],
[
2035,
1456,
57,
104
],
[
2017,
1589,
115,
156
],
[
2009,
... | {
"bbox": [
[
2009,
969,
142,
2615
],
[
1768,
977,
162,
2623
],
[
1541,
993,
136,
2615
],
[
1281,
984,
155,
1083
],
[
1041,
1004,
135,
2589
],
[
797... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00015_2 | 100241706 | 2,386 | 3,856 | {
"bbox": [
[
1867,
961,
83,
163
],
[
1846,
1145,
120,
151
],
[
1874,
1304,
73,
73
],
[
1859,
1399,
117,
103
],
[
1863,
1524,
93,
93
],
[
1853,
... | {
"bbox": [
[
1846,
961,
151,
2633
],
[
1608,
969,
149,
2616
],
[
1383,
979,
128,
2610
],
[
1132,
963,
154,
2625
],
[
890,
967,
162,
2620
],
[
658,
... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00016_1 | 100241706 | 2,351 | 3,873 | {
"bbox": [
[
1984,
971,
136,
175
],
[
2004,
1149,
97,
159
],
[
2006,
1337,
96,
100
],
[
2010,
1439,
79,
120
],
[
2018,
1563,
71,
97
],
[
1998,
... | {
"bbox": [
[
1984,
971,
136,
2622
],
[
1739,
984,
147,
2622
],
[
1515,
987,
119,
1272
],
[
1274,
985,
122,
1285
],
[
1004,
939,
170,
911
],
[
773,
... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00016_2 | 100241706 | 2,392 | 3,898 | {
"bbox": [
[
1876,
1012,
112,
151
],
[
1891,
1164,
81,
115
],
[
1893,
1296,
77,
95
],
[
1891,
1406,
63,
115
],
[
1889,
1546,
84,
69
],
[
1871,
... | {
"bbox": [
[
1856,
1012,
148,
2616
],
[
1640,
1019,
132,
2593
],
[
1388,
1019,
140,
2603
],
[
1155,
1016,
125,
2601
],
[
908,
1004,
145,
2622
],
[
... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00017_1 | 100241706 | 2,350 | 3,892 | {
"bbox": [
[
2006,
1007,
123,
59
],
[
2014,
1067,
73,
112
],
[
1991,
1203,
121,
160
],
[
2045,
1365,
35,
111
],
[
2013,
1499,
99,
124
],
[
2027,
... | {
"bbox": [
[
1991,
1007,
138,
2602
],
[
1750,
992,
138,
2618
],
[
1500,
1008,
147,
1456
],
[
1254,
952,
164,
889
],
[
1003,
999,
163,
2633
],
[
790... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} | |
100241706_00017_2 | 100241706 | 2,392 | 3,880 | {
"bbox": [
[
1899,
977,
61,
147
],
[
1861,
1133,
117,
151
],
[
1876,
1285,
105,
99
],
[
1877,
1408,
95,
163
],
[
1872,
1572,
111,
63
],
[
1871,
... | {
"bbox": [
[
1861,
977,
143,
2643
],
[
1617,
993,
156,
2621
],
[
1396,
1008,
107,
608
],
[
1156,
1000,
133,
2607
],
[
908,
997,
127,
1920
],
[
675,... | {
"bbox": [],
"segment_id": [],
"column_ids": []
} |
End of preview. Expand in Data Studio
Kuzushiji Dataset (COCO format)
This dataset contains page images from historical Japanese documents (Kotenseki) with character-level bounding box annotations for Kuzushiji (cursive Japanese) recognition.
Dataset Structure
{
"image": Image(), # Page image
"image_id": str, # Image ID (e.g., 100241706_00004_2)
"book_id": str, # Book ID (e.g., 100241706)
"width": int, # Image width in pixels
"height": int, # Image height in pixels
"objects": {
"bbox": List[List[float]], # Bounding boxes ([x_min, y_min, width, height] (pixels))
"category": List[str], # Unicode strings (e.g., U+3042)
"category_id": List[int], # Category IDs
"char": List[str], # Actual characters (e.g., あ)
},
"columns": {
"bbox": List[List[float]], # Column boxes
"column_id": List[str], # Column IDs (e.g., COL0001)
"char_ids": List[List[str]], # Member Char IDs
"segment_id": List[str], # Parent Segment IDs if available
},
"segments": {
"bbox": List[List[float]], # Segment boxes
"segment_id": List[str], # Segment IDs (e.g., SEG0001)
"column_ids": List[List[str]], # Member Column IDs
}
}
Bounding Box Formats
| Format | Description | Normalized |
|---|---|---|
| COCO | [x_min, y_min, width, height] | No (pixels) |
| YOLO | [x_center, y_center, width, height] | Yes (0-1) |
Usage
from datasets import load_dataset
import json
dataset = load_dataset("Kotomiya07/kuzushiji-dataset-coco")
# Access first example
example = dataset["train"][0]
print(f"Image ID: {example['image_id']}")
print(f"Number of characters: {len(example['objects']['bbox'])}")
# Load label mappings
from huggingface_hub import hf_hub_download
label2id_path = hf_hub_download(
repo_id="Kotomiya07/kuzushiji-dataset-coco",
filename="label2id.json",
repo_type="dataset"
)
with open(label2id_path) as f:
label2id = json.load(f)
print(f"Number of categories: {len(label2id)}")
Label Mappings
This dataset includes the following mapping files:
label2id.json: Unicode string (e.g., "U+3042") to category ID mappingid2label.json: Category ID to Unicode string mapping
License
This dataset is licensed under CC BY-SA 4.0.
Data Source
This dataset is derived from the 日本古典籍くずし字データセット (Japanese Historical Character Dataset).
- Provider: National Institute of Japanese Literature and other institutions (国文学研究資料館ほか所蔵)
- Processing: ROIS-DS Center for Open Data in the Humanities (CODH)
- DOI: 10.20676/00000340
- Website: https://codh.rois.ac.jp/char-shape/
Citation
If you use this dataset, please cite:
『日本古典籍くずし字データセット』(国文研ほか所蔵/CODH加工)doi:10.20676/00000340
English:
"Japanese Historical Character Dataset" (Owned by NIJL and others, Processed by CODH) doi:10.20676/00000340
Acknowledgments
Data provided by: ROIS-DS Center for Open Data in the Humanities (人文学オープンデータ共同利用センター)
- Downloads last month
- 46