Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

5.3 KB
Raw Blame
{
  "source": "demo/pdfs/demo2.pdf",
  "page": 4,
  "dpi": 200,
  "image_size": [2200, 1700],
  "description": "真实检测输出逐标签应用约定阈值后的候选;预期顺序仅将左栏整图移到首个被吞并子图的位置。",
  "backends": {
    "torch": {
      "raw_rows": [
        ["image", 0.4675, [140, 280, 812, 1346]],
        ["text", 0.9741, [127, 159, 837, 260]],
        ["image", 0.797, [144, 281, 474, 531]],
        ["image", 0.8334, [479, 280, 809, 531]],
        ["image", 0.8362, [144, 541, 475, 792]],
        ["image", 0.8359, [478, 541, 810, 793]],
        ["image", 0.7719, [144, 800, 476, 1054]],
        ["image", 0.6764, [478, 802, 807, 1056]],
        ["image", 0.7513, [142, 1061, 477, 1324]],
        ["figure_title", 0.5446, [260, 1319, 366, 1347]],
        ["image", 0.8444, [477, 1064, 809, 1347]],
        ["inline_formula", 0.5583, [219, 1389, 264, 1419]],
        ["figure_title", 0.9751, [127, 1356, 837, 1492]],
        ["inline_formula", 0.6659, [236, 1421, 288, 1453]],
        ["inline_formula", 0.5007, [191, 1455, 238, 1487]],
        ["inline_formula", 0.5288, [191, 1455, 299, 1488]],
        ["inline_formula", 0.6974, [524, 1420, 571, 1453]],
        ["text", 0.9881, [127, 1519, 838, 1887]],
        ["text", 0.9799, [127, 1885, 840, 2020]],
        ["figure_title", 0.5526, [1178, 151, 1283, 178]],
        ["chart", 0.8102, [936, 187, 1490, 382]],
        ["figure_title", 0.6419, [1172, 385, 1288, 413]],
        ["chart", 0.8047, [866, 422, 1491, 615]],
        ["figure_title", 0.5604, [1173, 619, 1289, 645]],
        ["chart", 0.8193, [867, 657, 1490, 849]],
        ["inline_formula", 0.5381, [1297, 896, 1480, 930]],
        ["figure_title", 0.976, [856, 863, 1570, 1034]],
        ["figure_title", 0.9644, [858, 1065, 1568, 1134]],
        ["inline_formula", 0.5229, [953, 1253, 981, 1277]],
        ["inline_formula", 0.5692, [953, 1279, 981, 1303]],
        ["inline_formula", 0.4864, [956, 1304, 979, 1325]],
        ["inline_formula", 0.5034, [955, 1330, 979, 1352]],
        ["table", 0.9804, [913, 1160, 1515, 1404]],
        ["inline_formula", 0.4656, [957, 1378, 979, 1401]],
        ["vision_footnote", 0.914, [933, 1407, 1519, 1486]],
        ["inline_formula", 0.6421, [1228, 1437, 1254, 1461]],
        ["inline_formula", 0.6616, [1294, 1436, 1323, 1462]],
        ["chart", 0.9501, [931, 1536, 1499, 1733]],
        ["figure_title", 0.9744, [857, 1749, 1569, 1853]],
        ["text", 0.9752, [857, 1918, 1571, 2021]]
      ],
      "threshold_only_source_indices": [1, 2, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40],
      "expected_source_indices": [2, 1, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40]
    },
    "onnx": {
      "raw_rows": [
        ["image", 0.4666, [140, 280, 812, 1346]],
        ["text", 0.9742, [127, 159, 837, 260]],
        ["image", 0.7962, [144, 281, 474, 531]],
        ["image", 0.8331, [479, 280, 809, 531]],
        ["image", 0.8354, [144, 541, 475, 792]],
        ["image", 0.8356, [478, 541, 810, 793]],
        ["image", 0.7716, [144, 800, 476, 1054]],
        ["image", 0.6766, [478, 802, 807, 1056]],
        ["image", 0.7512, [142, 1061, 477, 1324]],
        ["figure_title", 0.544, [260, 1319, 366, 1347]],
        ["image", 0.844, [477, 1063, 809, 1347]],
        ["inline_formula", 0.5592, [219, 1389, 264, 1419]],
        ["figure_title", 0.9751, [127, 1356, 837, 1492]],
        ["inline_formula", 0.6663, [236, 1421, 288, 1453]],
        ["inline_formula", 0.5036, [191, 1455, 238, 1487]],
        ["inline_formula", 0.5255, [191, 1455, 299, 1488]],
        ["inline_formula", 0.6977, [524, 1420, 571, 1453]],
        ["text", 0.9881, [127, 1519, 838, 1887]],
        ["text", 0.9799, [127, 1885, 840, 2020]],
        ["figure_title", 0.5507, [1178, 151, 1283, 178]],
        ["chart", 0.8099, [936, 187, 1490, 382]],
        ["figure_title", 0.6411, [1172, 385, 1288, 413]],
        ["chart", 0.8047, [866, 422, 1491, 615]],
        ["figure_title", 0.5592, [1173, 619, 1289, 645]],
        ["chart", 0.8197, [867, 657, 1490, 849]],
        ["figure_title", 0.9761, [856, 863, 1570, 1034]],
        ["inline_formula", 0.5165, [1297, 896, 1480, 930]],
        ["figure_title", 0.9644, [858, 1065, 1568, 1134]],
        ["inline_formula", 0.526, [953, 1253, 981, 1277]],
        ["inline_formula", 0.5721, [953, 1279, 981, 1303]],
        ["inline_formula", 0.4893, [956, 1304, 979, 1325]],
        ["inline_formula", 0.5053, [955, 1330, 979, 1352]],
        ["table", 0.9804, [913, 1160, 1515, 1404]],
        ["inline_formula", 0.4694, [957, 1378, 979, 1401]],
        ["vision_footnote", 0.9137, [933, 1407, 1519, 1486]],
        ["inline_formula", 0.641, [1228, 1437, 1254, 1461]],
        ["inline_formula", 0.6602, [1294, 1436, 1323, 1462]],
        ["chart", 0.9499, [931, 1536, 1499, 1733]],
        ["figure_title", 0.9744, [857, 1749, 1569, 1853]],
        ["text", 0.9752, [857, 1918, 1571, 2021]]
      ],
      "threshold_only_source_indices": [1, 2, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40],
      "expected_source_indices": [2, 1, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40]
    }
  }
}