Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
565
1k
width
int64
565
1k
height
int64
546
1k
category
stringclasses
2 values
label
int64
0
1
bboxes_table
sequencelengths
1
14
bboxes_cell
sequencelengths
1
14
1,000
729
historical
0
[ [ 350, 142, 806, 661 ] ]
[ [ [ 347, 142, 457, 206 ], [ 455, 143, 473, 206 ], [ 472, 143, 560, 158 ], [ 560, 144, 776, 162 ], [ 776, 151, 810, 214 ], [ 472, 156, ...
1,000
729
historical
0
[ [ 26, 109, 488, 633 ], [ 525, 128, 984, 644 ] ]
[ [ [ 22, 109, 489, 124 ], [ 20, 110, 129, 174 ], [ 127, 112, 146, 174 ], [ 146, 112, 235, 126 ], [ 235, 115, 453, 134 ], [ 451, 122, 48...
1,000
729
historical
0
[ [ 30, 106, 493, 634 ], [ 499, 97, 948, 634 ] ]
[ [ [ 28, 107, 494, 126 ], [ 27, 107, 137, 171 ], [ 134, 110, 150, 172 ], [ 150, 111, 239, 126 ], [ 238, 114, 458, 136 ], [ 456, 125, 49...
1,000
729
historical
0
[ [ 60, 48, 501, 613 ], [ 498, 98, 943, 627 ] ]
[ [ [ 61, 46, 505, 96 ], [ 55, 46, 152, 106 ], [ 148, 55, 172, 102 ], [ 170, 58, 243, 81 ], [ 242, 65, 471, 108 ], [ 469, 92, 505, ...
1,000
729
historical
0
[ [ 34, 76, 463, 615 ], [ 500, 42, 780, 516 ] ]
[ [ [ 33, 78, 482, 94 ], [ 30, 78, 123, 132 ], [ 123, 80, 143, 125 ], [ 142, 81, 214, 99 ], [ 213, 84, 440, 109 ], [ 440, 93, 481, ...
1,000
729
historical
0
[ [ 186, 101, 914, 663 ] ]
[ [ [ 185, 101, 915, 118 ], [ 182, 101, 212, 181 ], [ 210, 102, 321, 183 ], [ 319, 104, 357, 184 ], [ 356, 105, 411, 186 ], [ 410, 106, ...
1,000
729
historical
0
[ [ 157, 75, 877, 652 ] ]
[ [ [ 156, 75, 886, 103 ], [ 152, 75, 184, 152 ], [ 181, 76, 292, 156 ], [ 290, 80, 329, 157 ], [ 327, 81, 383, 160 ], [ 381, 83, 486, ...
1,000
729
historical
0
[ [ 152, 95, 893, 646 ] ]
[ [ [ 151, 95, 880, 105 ], [ 149, 95, 181, 172 ], [ 178, 95, 287, 173 ], [ 285, 96, 323, 174 ], [ 321, 97, 376, 174 ], [ 376, 98, 481, ...
1,000
729
historical
0
[ [ 149, 100, 878, 651 ] ]
[ [ [ 148, 98, 877, 117 ], [ 145, 99, 175, 174 ], [ 173, 99, 284, 177 ], [ 282, 102, 320, 178 ], [ 318, 103, 373, 179 ], [ 371, 104, 476...
1,000
729
historical
0
[ [ 147, 88, 885, 620 ] ]
[ [ [ 143, 88, 868, 101 ], [ 143, 100, 171, 176 ], [ 171, 98, 277, 176 ], [ 276, 98, 312, 174 ], [ 311, 97, 366, 173 ], [ 365, 95, 470, ...
1,000
729
historical
0
[ [ 503, 76, 988, 688 ] ]
[ [ [ 504, 75, 989, 77 ], [ 504, 75, 610, 135 ], [ 610, 75, 634, 127 ], [ 634, 75, 722, 92 ], [ 721, 75, 987, 93 ], [ 634, 92, 658, ...
1,000
784
historical
0
[ [ 19, 11, 992, 777 ] ]
[ [ [ 19, 9, 68, 42 ], [ 67, 9, 129, 43 ], [ 128, 10, 180, 43 ], [ 179, 10, 237, 44 ], [ 236, 10, 315, 45 ], [ 315, 10, 377, 45 ...
1,000
761
historical
0
[ [ 32, 18, 976, 740 ] ]
[ [ [ 32, 23, 137, 218 ], [ 134, 24, 201, 219 ], [ 199, 26, 247, 219 ], [ 243, 26, 292, 219 ], [ 289, 26, 344, 218 ], [ 340, 28, 389, ...
1,000
742
historical
0
[ [ 22, 41, 966, 708 ] ]
[ [ [ 28, 42, 63, 141 ], [ 62, 42, 124, 141 ], [ 123, 42, 164, 141 ], [ 163, 42, 222, 141 ], [ 221, 42, 291, 142 ], [ 290, 42, 350, ...
1,000
794
historical
0
[ [ 5, 34, 966, 764 ] ]
[ [ [ 15, 26, 37, 122 ], [ 36, 26, 91, 122 ], [ 89, 26, 140, 122 ], [ 140, 25, 207, 122 ], [ 206, 25, 288, 122 ], [ 287, 25, 364, ...
641
1,000
historical
0
[ [ 0, 102, 634, 899 ] ]
[ [ [ 1, 80, 92, 258 ], [ 92, 80, 637, 258 ], [ 0, 258, 92, 463 ], [ 92, 258, 636, 463 ], [ 0, 463, 92, 651 ], [ 92, 463, 635, 651...
1,000
781
historical
0
[ [ 58, 36, 962, 743 ] ]
[ [ [ 57, 36, 127, 142 ], [ 127, 37, 192, 143 ], [ 192, 37, 260, 143 ], [ 260, 38, 327, 143 ], [ 327, 39, 371, 143 ], [ 371, 39, 435, ...
1,000
747
historical
0
[ [ 42, 45, 956, 714 ] ]
[ [ [ 41, 46, 77, 137 ], [ 77, 46, 137, 138 ], [ 137, 47, 176, 138 ], [ 176, 47, 234, 138 ], [ 234, 48, 302, 139 ], [ 302, 49, 360, ...
1,000
774
historical
0
[ [ 36, 35, 977, 748 ] ]
[ [ [ 35, 36, 61, 131 ], [ 60, 36, 138, 132 ], [ 138, 36, 258, 132 ], [ 257, 37, 314, 132 ], [ 314, 37, 383, 132 ], [ 383, 37, 492, ...
1,000
771
historical
0
[ [ 24, 17, 991, 765 ] ]
[ [ [ 21, 17, 66, 138 ], [ 64, 18, 114, 139 ], [ 112, 19, 158, 139 ], [ 155, 20, 223, 140 ], [ 219, 22, 266, 141 ], [ 263, 23, 323, ...
1,000
779
historical
0
[ [ 33, 36, 980, 731 ] ]
[ [ [ 32, 36, 69, 143 ], [ 68, 37, 131, 144 ], [ 130, 38, 171, 145 ], [ 170, 39, 230, 145 ], [ 229, 40, 299, 147 ], [ 298, 41, 357, ...
1,000
745
historical
0
[ [ 27, 42, 974, 716 ] ]
[ [ [ 33, 42, 72, 115 ], [ 72, 42, 127, 115 ], [ 126, 43, 163, 115 ], [ 163, 44, 227, 117 ], [ 226, 44, 289, 118 ], [ 288, 45, 353, ...
1,000
759
historical
0
[ [ 30, 26, 969, 741 ] ]
[ [ [ 32, 26, 84, 117 ], [ 83, 27, 135, 117 ], [ 134, 26, 200, 117 ], [ 200, 26, 280, 117 ], [ 280, 26, 353, 117 ], [ 352, 26, 419, ...
1,000
780
historical
0
[ [ 11, 29, 985, 774 ] ]
[ [ [ 14, 26, 81, 149 ], [ 80, 26, 158, 147 ], [ 158, 26, 232, 149 ], [ 231, 26, 296, 149 ], [ 295, 27, 350, 149 ], [ 349, 27, 416, ...
1,000
732
historical
0
[ [ 42, 51, 971, 722 ] ]
[ [ [ 38, 48, 80, 133 ], [ 79, 48, 142, 134 ], [ 140, 48, 198, 134 ], [ 197, 47, 255, 133 ], [ 254, 47, 319, 132 ], [ 318, 48, 361, ...
1,000
798
historical
0
[ [ 44, 84, 961, 770 ] ]
[ [ [ 47, 83, 82, 168 ], [ 82, 82, 149, 168 ], [ 148, 82, 179, 167 ], [ 179, 81, 245, 167 ], [ 245, 80, 320, 167 ], [ 320, 80, 387, ...
709
1,000
historical
0
[ [ 100, 68, 660, 931 ] ]
[ [ [ 101, 69, 284, 101 ], [ 283, 69, 466, 101 ], [ 466, 70, 499, 101 ], [ 498, 70, 580, 102 ], [ 580, 70, 630, 102 ], [ 630, 71, 662, ...
640
1,000
historical
0
[ [ 34, 59, 554, 963 ] ]
[ [ [ 32, 61, 157, 118 ], [ 155, 62, 245, 118 ], [ 242, 62, 365, 119 ], [ 362, 64, 487, 119 ], [ 484, 64, 544, 119 ], [ 33, 115, 158, ...
666
1,000
historical
0
[ [ 40, 62, 326, 936 ], [ 329, 67, 621, 584 ] ]
[ [ [ 40, 62, 276, 124 ], [ 276, 62, 326, 124 ], [ 40, 124, 278, 400 ], [ 276, 124, 326, 400 ], [ 40, 400, 286, 631 ], [ 278, 400, 325, ...
604
1,000
historical
0
[ [ 52, 51, 590, 930 ] ]
[ [ [ 57, 52, 211, 160 ], [ 210, 51, 300, 160 ], [ 299, 51, 404, 160 ], [ 402, 51, 490, 160 ], [ 489, 51, 598, 160 ], [ 57, 160, 211, ...
680
1,000
historical
0
[ [ 17, 36, 206, 998 ], [ 194, 39, 363, 999 ], [ 363, 41, 554, 1001 ], [ 531, 41, 678, 725 ] ]
[ [ [ 17, 36, 122, 73 ], [ 122, 37, 179, 73 ], [ 179, 38, 197, 73 ], [ 17, 73, 122, 102 ], [ 121, 73, 179, 102 ], [ 178, 73, 197, ...
614
1,000
historical
0
[ [ 15, 53, 423, 991 ] ]
[ [ [ 16, 57, 157, 137 ], [ 155, 58, 229, 137 ], [ 229, 60, 306, 137 ], [ 305, 61, 347, 137 ], [ 346, 61, 386, 137 ], [ 385, 63, 428, ...
639
1,000
historical
0
[ [ 44, 65, 625, 260 ] ]
[ [ [ 45, 64, 137, 102 ], [ 137, 64, 192, 102 ], [ 190, 65, 300, 138 ], [ 299, 65, 338, 139 ], [ 338, 65, 432, 102 ], [ 432, 65, 483, ...
771
1,000
historical
0
[ [ 80, 78, 703, 942 ] ]
[ [ [ 80, 83, 335, 143 ], [ 334, 83, 464, 143 ], [ 463, 83, 646, 143 ], [ 645, 84, 703, 143 ], [ 79, 141, 334, 183 ], [ 332, 143, 463, ...
End of preview. Expand in Data Studio

Dataset Card for ICDAR2019-cTDaR-TRACKB

This dataset is a resized version of the original cndplab-founder/ICDAR2019_cTDaR, merged with with its supplement cndplab-founder/ICDAR2019_cTDaR_dataset_supplement.

You can easily and quickly load it:

dataset = load_dataset("dvgodoy/ICDAR2019_cTDaR_TRACKB_resized")
DatasetDict({
    train: Dataset({
        features: ['image', 'width', 'height', 'category', 'label', 'bboxes_table', 'bboxes_cell'],
        num_rows: 1200
    })
    test: Dataset({
        features: ['image', 'width', 'height', 'category', 'label', 'bboxes_table', 'bboxes_cell'],
        num_rows: 390
    })
})

Dataset Summary

From the original ICDAR2019 cTDaR dataset page:

The dataset consists of modern documents and archival ones with various formats, including document images and born-digital formats such as PDF. The annotated contents contain the table entities and cell entities in a document, while we do not deal with nested tables.

This "resized" version contains all the images from "Track B" (table recognition) resized so that the largest dimension (either width or height) is 1000px. The annotations were converted from XML to JSON and boxes are represented in Pascal VOC format (xmin, ymin, xmax, ymax).

For the modern dataset no training data is available for Track B.

The original dataset did not contain "modern" tables or annotations for "Track B", so the supplement dataset was merged into it, and its annotations converted accordingly.

Dataset Structure

Data Instances

A sample from the training set is provided below :

{
    'image': <PIL.JpegImagePlugin.JpegImageFile image mode=L size=1000x729>,
    'width': 1000,
    'height': 729,
    'category': 'historical',
    'label': 0,
    'bboxes_table': [[...]],
    'bboxes_cell': [[...]]
}

Data Fields

  • image: A PIL.Image.Image object containing a document.
  • width: image's width.
  • height: image's height.
  • category: class label.
  • label: an int classification label.
  • bboxes_table: list of box coordinates in (xmin, ymin, xmax, ymax) format (Pascal VOC).
  • bboxes_cell: list of lists of box coordinates in (xmin, ymin, xmax, ymax) format (Pascal VOC) - the outer list matches the length of the bboxes_table list, and each of its elements is a list of cells.
Class Label Mappings
{
  "0": "historical",
  "1": "modern"
}

Data Splits

train test
# of examples 1200 390

Additional Information

Licensing Information

This dataset is a resized and reorganized version of ICDAR2019 cTDaR from the ICDAR 2019 Competition on Table Detection and Recognition, merged with its supplement, which is licensed under BSD 2-Clause License.

Downloads last month
11