Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
960
1.28k
category
stringclasses
4 values
doc
stringlengths
3
3
level
stringclasses
4 values
width
int64
960
1.28k
height
int64
960
1.28k
corners
listlengths
4
4
model_size
listlengths
2
2
⌀
quality
stringclasses
1 value
source
stringclasses
1 value
handwritten
D01
S1
1,280
960
[ [ 268.5, 151.8 ], [ 1198.6, 187.4 ], [ 1178.7, 824.5 ], [ 264.2, 824.5 ] ]
null
ok
manual
handwritten
D01
S2
960
1,280
[ [ 165.3, 253.9 ], [ 590.3, 360.1 ], [ 828.1, 952.1 ], [ 270.3, 1054.5 ] ]
null
ok
manual
handwritten
D01
S3
996
1,280
[ [ 463.8, 485.4 ], [ 696.6, 511.9 ], [ 653.6, 854.7 ], [ 412, 814.2 ] ]
null
ok
manual
handwritten
D01
S4
960
1,280
[ [ 208.4, 331.1 ], [ 742.1, 307 ], [ 754.8, 1131.7 ], [ 185.6, 1098.8 ] ]
null
ok
manual
handwritten
D03
S1
960
1,280
[ [ 188.7, 120.9 ], [ 783.5, 132.2 ], [ 794.8, 982.3 ], [ 182.3, 987.1 ] ]
null
ok
manual
handwritten
D03
S2
1,280
960
[ [ 279.7, 188.7 ], [ 1126.9, 90.6 ], [ 1261.5, 771.8 ], [ -31.9, 688.1 ] ]
null
ok
manual
handwritten
D03
S3
1,280
960
[ [ 451.8, 345.1 ], [ 896.6, 331.8 ], [ 902.7, 655.4 ], [ 451.8, 654.2 ] ]
null
ok
manual
handwritten
D03
S4
1,280
960
[ [ 194.8, 137.8 ], [ 962.1, 139.1 ], [ 941.5, 663.9 ], [ 220.3, 667.5 ] ]
null
ok
manual
handwritten
D04
S1
1,280
960
[ [ 171.8, 136.6 ], [ 1049.3, 114.8 ], [ 1048.1, 753.6 ], [ 173, 737.8 ] ]
null
ok
manual
handwritten
D04
S2
1,280
960
[ [ 353.6, 141.5 ], [ 1204.5, 166.9 ], [ 1136.6, 945.1 ], [ 28.7, 637.2 ] ]
null
ok
manual
handwritten
D04
S3
1,280
960
[ [ 430, 272.4 ], [ 845.7, 273.6 ], [ 838.5, 573 ], [ 426.3, 569.3 ] ]
null
ok
manual
handwritten
D04
S4
1,280
960
[ [ 176.6, 236 ], [ 1190, 257.8 ], [ 1145.1, 963.3 ], [ 168.1, 930.6 ] ]
null
ok
manual
handwritten
D05
S1
960
1,280
[ [ 154.8, 86.9 ], [ 760.9, 95 ], [ 770.6, 962.9 ], [ 145.1, 962.9 ] ]
null
ok
manual
handwritten
D05
S2
960
1,280
[ [ 297, 48.1 ], [ 777, 329.3 ], [ 762.5, 1131 ], [ 74, 1132.6 ] ]
null
ok
manual
handwritten
D05
S3
960
1,280
[ [ 316.4, 303.5 ], [ 620.3, 308.4 ], [ 615.4, 749.6 ], [ 308.4, 739.8 ] ]
null
ok
manual
handwritten
D05
S4
960
1,280
[ [ 216.2, 335.8 ], [ 735, 355.2 ], [ 699.5, 1132.6 ], [ 148.4, 1077.6 ] ]
null
ok
manual
handwritten
D06
S1
960
1,280
[ [ 201.7, 133.8 ], [ 769, 145.1 ], [ 815.8, 985.5 ], [ 145.1, 998.5 ] ]
null
ok
manual
handwritten
D06
S2
960
1,280
[ [ 350.4, 41.7 ], [ 757.6, 394 ], [ 665.5, 1156.8 ], [ -5.2, 1045.3 ] ]
null
ok
manual
handwritten
D06
S3
1,280
960
[ [ 381.5, 317.2 ], [ 816.6, 325.7 ], [ 808.1, 637.2 ], [ 377.8, 617.8 ] ]
null
ok
manual
handwritten
D06
S4
1,280
960
[ [ 72.4, 88.1 ], [ 1168.1, 111.2 ], [ 1099.1, 862.7 ], [ 99.1, 800.9 ] ]
null
ok
manual
handwritten
D08
S1
960
1,280
[ [ 169.3, 111.2 ], [ 764.1, 101.5 ], [ 804.5, 982.3 ], [ 145.1, 995.2 ] ]
null
ok
manual
handwritten
D08
S2
960
1,280
[ [ 264.7, 36.8 ], [ 739.8, 319.7 ], [ 704.3, 1132.6 ], [ -10, 1097 ] ]
null
ok
manual
handwritten
D08
S3
960
1,280
[ [ 313.2, 429.6 ], [ 597.6, 444.1 ], [ 586.3, 867.5 ], [ 271.2, 849.8 ] ]
null
ok
manual
handwritten
D08
S4
960
1,280
[ [ 192, 124.1 ], [ 925.7, 103.1 ], [ 802.9, 1205.3 ], [ 150, 1084.1 ] ]
null
ok
manual
handwritten
D09
S1
1,280
960
[ [ 294.2, 145.1 ], [ 1231.2, 197.2 ], [ 1187.5, 837.2 ], [ 277.2, 825.1 ] ]
null
ok
manual
handwritten
D09
S2
1,280
960
[ [ 182.7, 139.1 ], [ 1272.4, 382.7 ], [ 951.2, 839.7 ], [ 126.9, 837.2 ] ]
null
ok
manual
handwritten
D09
S3
1,280
960
[ [ 451.8, 273.6 ], [ 975.4, 289.3 ], [ 969.3, 645.7 ], [ 451.8, 648.1 ] ]
null
ok
manual
handwritten
D09
S4
1,280
960
[ [ 203.3, 99.1 ], [ 1200.9, 182.7 ], [ 1164.5, 912.4 ], [ 107.5, 840.9 ] ]
null
ok
manual
printed_a4
D31
S1
960
1,280
[ [ 63, 71.1 ], [ 880.8, 51.7 ], [ 926.1, 1221.8 ], [ 82.4, 1250.9 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D31
S2
960
1,280
[ [ 163.2, 3.2 ], [ 791.9, 213.3 ], [ 863, 1120 ], [ 153.5, 1354.3 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D31
S3
960
1,280
[ [ 124.4, 156.8 ], [ 856.6, 139 ], [ 918, 1204 ], [ 124.4, 1229.9 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D31
S4
960
1,280
[ [ 310.3, 525.3 ], [ 654.5, 525.3 ], [ 680.4, 1031.1 ], [ 302.2, 1042.4 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D32
S1
1,280
960
[ [ 135.8, 95.8 ], [ 1210.9, 75.2 ], [ 1206.1, 844.8 ], [ 143, 842.4 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D32
S2
1,280
960
[ [ 293.3, 151.5 ], [ 1103, 145.5 ], [ 1223, 751.5 ], [ 72.7, 680 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D32
S3
1,280
960
[ [ 147.9, 118.8 ], [ 1217, 87.3 ], [ 1236.4, 899.4 ], [ 120, 870.3 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D32
S4
1,280
960
[ [ 647.3, 374.5 ], [ 1126.1, 360 ], [ 1135.8, 716.4 ], [ 643.6, 684.8 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D33
S1
960
1,280
[ [ 153.5, 143.8 ], [ 867.9, 166.5 ], [ 864.6, 1183 ], [ 116.4, 1179.8 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D33
S2
960
1,280
[ [ 25.9, 195.6 ], [ 623.8, 260.2 ], [ 803.2, 1055.4 ], [ 226.3, 1367.3 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D33
S3
960
1,280
[ [ 328.1, 651.3 ], [ 656.2, 662.6 ], [ 690.1, 1197.6 ], [ 289.3, 1196 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D33
S4
960
1,280
[ [ 135.8, 111.5 ], [ 838.8, 200.4 ], [ 838.8, 1220.2 ], [ 33.9, 1228.3 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D34
S1
960
1,280
[ [ 137.4, 205.3 ], [ 830.7, 210.1 ], [ 838.8, 1192.7 ], [ 132.5, 1187.9 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D34
S2
960
1,280
[ [ 216.6, 214.9 ], [ 722.4, 353.9 ], [ 743.4, 1102.2 ], [ 181, 1228.3 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D34
S3
960
1,280
[ [ 95.4, 79.2 ], [ 856.6, 109.9 ], [ 885.7, 1196 ], [ 59.8, 1207.3 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D34
S4
960
1,280
[ [ 274.7, 530.1 ], [ 665.9, 534.9 ], [ 698.2, 1129.7 ], [ 253.7, 1131.3 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D36
S1
960
1,280
[ [ 84, 101.8 ], [ 853.3, 139 ], [ 845.3, 1241.2 ], [ 25.9, 1228.3 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D36
S2
960
1,280
[ [ 303.8, 198.8 ], [ 806.5, 337.8 ], [ 858.2, 1126.5 ], [ 273.1, 1239.6 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D36
S3
960
1,280
[ [ 124.4, 95.4 ], [ 866.3, 135.8 ], [ 888.9, 1221.8 ], [ 56.6, 1213.7 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D36
S4
960
1,280
[ [ 234.3, 512.3 ], [ 682, 515.6 ], [ 732.1, 1212.1 ], [ 193.9, 1223.4 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D39
S1
960
1,280
[ [ 71.1, 122.8 ], [ 824.2, 130.9 ], [ 843.6, 1212.1 ], [ 59.8, 1220.2 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D39
S2
960
1,280
[ [ 164.8, 124.4 ], [ 746.7, 299 ], [ 800, 1131.3 ], [ 153.5, 1331.7 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D39
S3
960
1,280
[ [ 100.2, 109.9 ], [ 856.6, 132.5 ], [ 897, 1213.7 ], [ 69.5, 1238 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D39
S4
960
1,280
[ [ 307.1, 441.2 ], [ 796.8, 459 ], [ 774.1, 1247.7 ], [ 197.2, 1168.5 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D40
S1
1,280
960
[ [ 110.3, 72.7 ], [ 1217, 53.3 ], [ 1213.3, 854.5 ], [ 104.2, 835.2 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D40
S2
1,280
960
[ [ 250.9, 207.3 ], [ 1120, 178.2 ], [ 1309.1, 887.3 ], [ 15.8, 798.8 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D40
S3
1,280
960
[ [ 88.5, 70.3 ], [ 1201.2, 72.7 ], [ 1185.5, 930.9 ], [ 20.6, 841.2 ] ]
[ 2100, 2970 ]
ok
manual
printed_a4
D40
S4
1,280
960
[ [ 573.3, 355.2 ], [ 1153.9, 327.3 ], [ 1155.2, 752.7 ], [ 578.2, 722.4 ] ]
[ 2100, 2970 ]
ok
manual
receipts
D11
S1
960
1,280
[ [ 119.6, 360.4 ], [ 534.9, 353.9 ], [ 593.1, 1207.3 ], [ 135.8, 1221.8 ] ]
null
ok
manual
receipts
D11
S2
960
1,280
[ [ 326.5, 164.8 ], [ 714.3, 97 ], [ 932.5, 770.9 ], [ 481.6, 874.3 ] ]
null
ok
manual
receipts
D11
S3
960
1,280
[ [ 328.1, 371.7 ], [ 559.2, 371.7 ], [ 672.3, 738.6 ], [ 407.3, 749.9 ] ]
null
ok
manual
receipts
D11
S4
960
1,280
[ [ 240.8, 384.6 ], [ 583.4, 358.8 ], [ 759.6, 1036 ], [ 373.3, 1081.2 ] ]
null
ok
manual
receipts
D12
S1
960
1,280
[ [ 195.6, 116.4 ], [ 580.2, 97 ], [ 677.2, 924.4 ], [ 260.2, 951.9 ] ]
null
ok
manual
receipts
D12
S2
960
1,280
[ [ 97, 353.9 ], [ 418.6, 341 ], [ 564, 906.7 ], [ 181, 926.1 ] ]
null
ok
manual
receipts
D12
S3
960
1,280
[ [ 339.4, 421.8 ], [ 680.4, 497.8 ], [ 657.8, 1129.7 ], [ 265.1, 1052.1 ] ]
null
ok
manual
receipts
D12
S4
1,280
960
[ [ 242.4, 393.9 ], [ 614.5, 31.5 ], [ 824.2, 169.7 ], [ 464.2, 557.6 ] ]
null
ok
manual
receipts
D13
S1
960
1,280
[ [ 38.8, 538.2 ], [ 433.1, 496.2 ], [ 533.3, 1147.5 ], [ 98.6, 1212.1 ] ]
null
ok
manual
receipts
D13
S2
960
1,280
[ [ 300.6, 161.6 ], [ 672.3, 118 ], [ 863, 758 ], [ 455.8, 822.6 ] ]
null
ok
manual
receipts
D13
S3
960
1,280
[ [ 436.4, 405.7 ], [ 793.5, 513.9 ], [ 552.7, 1157.2 ], [ 161.6, 1027.9 ] ]
null
ok
manual
receipts
D13
S4
960
1,280
[ [ 248.9, 363.6 ], [ 646.5, 313.5 ], [ 782.2, 998.8 ], [ 339.4, 1068.3 ] ]
null
ok
manual
receipts
D14
S1
960
1,280
[ [ 203.6, 234.3 ], [ 585.1, 213.3 ], [ 727.3, 935.8 ], [ 287.7, 963.2 ] ]
null
ok
manual
receipts
D14
S2
960
1,280
[ [ 98.6, 142.2 ], [ 410.5, 66.3 ], [ 662.6, 623.8 ], [ 321.6, 717.6 ] ]
null
ok
manual
receipts
D14
S3
960
1,280
[ [ 169.7, 434.7 ], [ 362, 381.4 ], [ 530.1, 657.8 ], [ 310.3, 725.7 ] ]
null
ok
manual
receipts
D14
S4
1,280
960
[ [ 375.8, 632.7 ], [ 978.2, 444.8 ], [ 1117.6, 703 ], [ 484.8, 915.2 ] ]
null
ok
manual
receipts
D15
S1
960
1,280
[ [ 211.7, 276.4 ], [ 654.5, 257 ], [ 772.5, 1005.3 ], [ 276.4, 1036 ] ]
null
ok
manual
receipts
D15
S2
960
1,280
[ [ 488.1, 425.1 ], [ 934.1, 501 ], [ 853.3, 1221.8 ], [ 347.5, 1126.5 ] ]
null
ok
manual
receipts
D15
S3
960
1,280
[ [ 176.2, 481.6 ], [ 533.3, 564 ], [ 412.1, 1121.6 ], [ 29.1, 1036 ] ]
null
ok
manual
receipts
D15
S4
960
1,280
[ [ 190.7, 169.7 ], [ 594.7, 187.5 ], [ 565.7, 838.8 ], [ 118, 817.8 ] ]
null
ok
manual
receipts
D16
S1
960
1,280
[ [ 236, 570.5 ], [ 631.9, 578.6 ], [ 657.8, 1150.7 ], [ 219.8, 1131.3 ] ]
null
ok
manual
receipts
D16
S2
960
1,280
[ [ 538.2, 297.4 ], [ 892.1, 344.2 ], [ 943.8, 846.9 ], [ 560.8, 817.8 ] ]
null
ok
manual
receipts
D16
S3
960
1,280
[ [ 462.2, 402.4 ], [ 788.7, 417 ], [ 800, 869.5 ], [ 449.3, 853.3 ] ]
null
ok
manual
receipts
D16
S4
960
1,280
[ [ 415.4, 87.3 ], [ 738.6, 40.4 ], [ 861.4, 491.3 ], [ 505.9, 557.6 ] ]
null
ok
manual
receipts
D19
S1
960
1,280
[ [ 313.5, 396 ], [ 759.6, 357.2 ], [ 833.9, 1163.6 ], [ 345.9, 1221.8 ] ]
null
ok
manual
receipts
D19
S2
960
1,280
[ [ 12.9, 357.2 ], [ 399.2, 289.3 ], [ 685.3, 1003.6 ], [ 269.9, 1100.6 ] ]
null
ok
manual
receipts
D19
S3
960
1,280
[ [ 43.6, 475.2 ], [ 446.1, 470.3 ], [ 547.9, 1238 ], [ 100.2, 1252.5 ] ]
null
ok
manual
receipts
D19
S4
960
1,280
[ [ 318.4, 265.1 ], [ 699.8, 245.7 ], [ 867.9, 940.6 ], [ 433.1, 977.8 ] ]
null
ok
manual
textbook_pages
D21
S1
960
1,280
[ [ 108.3, 205.3 ], [ 722.4, 219.8 ], [ 798.4, 1174.9 ], [ 93.7, 1236.4 ] ]
null
ok
manual
textbook_pages
D21
S2
960
1,280
[ [ 53.3, 216.6 ], [ 536.6, 373.3 ], [ 552.7, 1111.9 ], [ -14.5, 1302.6 ] ]
null
ok
manual
textbook_pages
D21
S3
960
1,280
[ [ 278, 670.7 ], [ 567.3, 675.6 ], [ 598, 1155.6 ], [ 250.5, 1181.4 ] ]
null
ok
manual
textbook_pages
D21
S4
960
1,280
[ [ 54.9, 164.8 ], [ 754.7, 226.3 ], [ 830.7, 1288.1 ], [ 33.9, 1323.6 ] ]
null
ok
manual
textbook_pages
D22
S1
960
1,280
[ [ 127.7, 101.8 ], [ 827.5, 92.1 ], [ 916.4, 1186.3 ], [ 132.5, 1241.2 ] ]
null
ok
manual
textbook_pages
D22
S2
960
1,280
[ [ 130.9, 223 ], [ 620.6, 353.9 ], [ 693.3, 1120 ], [ 160, 1330.1 ] ]
null
ok
manual
textbook_pages
D22
S3
960
1,280
[ [ 289.3, 567.3 ], [ 633.5, 580.2 ], [ 665.9, 1155.6 ], [ 266.7, 1171.7 ] ]
null
ok
manual
textbook_pages
D22
S4
960
1,280
[ [ 113.1, 111.5 ], [ 840.4, 158.4 ], [ 918, 1275.2 ], [ 93.7, 1368.9 ] ]
null
ok
manual
textbook_pages
D23
S1
960
1,280
[ [ 119.6, 119.6 ], [ 822.6, 166.5 ], [ 888.9, 1199.2 ], [ 119.6, 1187.9 ] ]
null
ok
manual
textbook_pages
D23
S2
960
1,280
[ [ 182.6, 214.9 ], [ 908.3, 45.3 ], [ 982.6, 1267.1 ], [ 279.6, 1111.9 ] ]
null
ok
manual
textbook_pages
D23
S3
960
1,280
[ [ 268.3, 394.3 ], [ 680.4, 387.9 ], [ 719.2, 1014.9 ], [ 253.7, 1021.4 ] ]
null
ok
manual
textbook_pages
D23
S4
960
1,280
[ [ 231.1, 396 ], [ 724, 492.9 ], [ 905.1, 1304.2 ], [ 11.3, 1267.1 ] ]
null
ok
manual
textbook_pages
D26
S1
960
1,280
[ [ 105.1, 58.2 ], [ 871.1, 79.2 ], [ 892.1, 1162 ], [ 71.1, 1165.3 ] ]
null
ok
manual
textbook_pages
D26
S2
960
1,280
[ [ 61.4, 30.7 ], [ 905.1, 51.7 ], [ 989.1, 1260.6 ], [ 45.3, 1286.5 ] ]
null
ok
manual
textbook_pages
D26
S3
960
1,280
[ [ 111.5, 16.2 ], [ 906.7, 30.7 ], [ 940.6, 1196 ], [ 61.4, 1205.7 ] ]
null
ok
manual
textbook_pages
D26
S4
1,280
960
[ [ 26.7, 72.7 ], [ 1180.6, 100.6 ], [ 1156.4, 858.2 ], [ 78.8, 910.3 ] ]
null
ok
manual
End of preview. Expand in Data Studio

DocScanner

Ảnh tài liệu chụp bằng điện thoại, mỗi ảnh có nhãn 4 góc của tờ giấy gán tay. Bộ dữ liệu dùng để đánh giá bài toán dò biên tài liệu và nắn chỉnh phối cảnh trong dự án DocScanner.

Phone photos of paper documents, each with four hand-labelled page corners, for document boundary detection and perspective rectification.

Nội dung

  • Quy mô: 160 ảnh của 40 tờ tài liệu.
  • Ảnh: JPEG, cạnh dài 1280 px (phần lớn 960×1280 hoặc 1280×960), không có EXIF.
  • Nhóm tài liệu (category), mỗi nhóm 10 tờ:
    • handwritten: viết tay, D01–D10.
    • receipts: hoá đơn, D11–D20.
    • textbook_pages: trang sách, D21–D30.
    • printed_a4: A4 in, D31–D40.
  • Mức khó (level): mỗi tờ chụp ở 4 mức, khó dần.
mức điều kiện chụp
S1 gần, thẳng
S2 xoay nghiêng mạnh
S3 chụp xa, tờ giấy nhỏ trong khung
S4 điều kiện xấu: bóng đổ, thiếu sáng, nền có vật khác

Chia tập

Chia theo tài liệu (seed 67): bốn ảnh của cùng một tờ luôn nằm cùng một tập.

tập số tờ số ảnh
dev 28 (7 mỗi nhóm) 112
test 12 (3 mỗi nhóm) 48

Tập dev dùng để phát triển và chọn tham số. Tập test chỉ dùng cho lần đo cuối, không chỉnh tham số theo điểm test. Danh sách tờ của từng tập nằm trong split.json.

Các trường

trường kiểu ý nghĩa
image ảnh ảnh gốc
category chuỗi nhóm tài liệu
doc chuỗi mã tờ, ví dụ D11
level chuỗi mức khó, S1 đến S4
width, height số nguyên kích thước ảnh (px)
corners 4 × [x, y] 4 góc tờ giấy theo thứ tự trên-trái, trên-phải, dưới-phải, dưới-trái
model_size [rộng, cao] hoặc null kích thước thật (đơn vị 0,1 mm); chỉ nhóm printed_a4 có, là [2100, 2970]
quality, source chuỗi chất lượng nhãn (ok) và cách gán (manual)

Về nhãn:

  • Toạ độ tính theo ảnh gốc, gốc ở góc trên trái, x sang phải, y xuống dưới.
  • Thứ tự góc theo vị trí trong ảnh, không theo chiều đọc của chữ.
  • Góc nằm ngoài khung hình vẫn được gán theo ước đoán (25 trên 160 ảnh).
  • Với trang sách, nhãn chỉ tính trang trên cùng, không tính xấp trang phía gáy.

Cách dùng

Với thư viện datasets:

from datasets import load_dataset

dev = load_dataset("Prj2-DocScanner/DocScanner", split="dev")
ex = dev[0]
ex["image"]     # PIL.Image
ex["corners"]   # [[x, y], [x, y], [x, y], [x, y]]

Tải nguyên các file (ảnh JPEG, metadata.jsonl, split.json):

from huggingface_hub import snapshot_download

path = snapshot_download("Prj2-DocScanner/DocScanner", repo_type="dataset")

Trong repo DocScanner, lệnh python scripts/download_data.py tải bộ dữ liệu rồi dựng thư mục data/ cho các kịch bản thực nghiệm.

Cấu trúc file

split.json
dev/metadata.jsonl          một dòng cho mỗi ảnh của tập dev
dev/<category>/D<id>_S<level>.jpg
test/metadata.jsonl
test/<category>/D<id>_S<level>.jpg

Giấy phép

CC BY-NC 4.0: được dùng, chia sẻ và chỉnh sửa cho mục đích phi thương mại, cần ghi nguồn.

Nguồn

Nhóm DocScanner, môn Thị giác máy tính, Trường Đại học Khoa học Tự nhiên, Đại học Quốc gia Hà Nội, 2026. Ảnh do nhóm tự chụp, nhãn do nhóm gán tay.

Downloads last month
297