deepdoctection 0.44.1__py3-none-any.whl → 0.46__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of deepdoctection might be problematic. Click here for more details.

Files changed (33) hide show
  1. deepdoctection/__init__.py +7 -3
  2. deepdoctection/analyzer/config.py +44 -0
  3. deepdoctection/analyzer/factory.py +264 -7
  4. deepdoctection/configs/profiles.jsonl +2 -1
  5. deepdoctection/dataflow/parallel_map.py +7 -1
  6. deepdoctection/datapoint/box.py +5 -5
  7. deepdoctection/datapoint/image.py +5 -5
  8. deepdoctection/datapoint/view.py +73 -52
  9. deepdoctection/eval/cocometric.py +1 -0
  10. deepdoctection/extern/__init__.py +1 -0
  11. deepdoctection/extern/base.py +8 -1
  12. deepdoctection/extern/d2detect.py +1 -1
  13. deepdoctection/extern/doctrocr.py +18 -2
  14. deepdoctection/extern/fastlang.py +2 -2
  15. deepdoctection/extern/hflayoutlm.py +17 -10
  16. deepdoctection/extern/hflm.py +432 -7
  17. deepdoctection/extern/tessocr.py +17 -1
  18. deepdoctection/pipe/language.py +4 -4
  19. deepdoctection/pipe/lm.py +7 -3
  20. deepdoctection/pipe/order.py +12 -6
  21. deepdoctection/pipe/refine.py +10 -1
  22. deepdoctection/pipe/text.py +6 -0
  23. deepdoctection/pipe/transform.py +3 -0
  24. deepdoctection/utils/file_utils.py +34 -5
  25. deepdoctection/utils/logger.py +38 -1
  26. deepdoctection/utils/settings.py +2 -0
  27. deepdoctection/utils/transform.py +43 -18
  28. deepdoctection/utils/viz.py +24 -15
  29. {deepdoctection-0.44.1.dist-info → deepdoctection-0.46.dist-info}/METADATA +16 -21
  30. {deepdoctection-0.44.1.dist-info → deepdoctection-0.46.dist-info}/RECORD +33 -33
  31. {deepdoctection-0.44.1.dist-info → deepdoctection-0.46.dist-info}/WHEEL +0 -0
  32. {deepdoctection-0.44.1.dist-info → deepdoctection-0.46.dist-info}/licenses/LICENSE +0 -0
  33. {deepdoctection-0.44.1.dist-info → deepdoctection-0.46.dist-info}/top_level.txt +0 -0
@@ -1,27 +1,27 @@
1
- deepdoctection/__init__.py,sha256=fVndKpw3xg78BcWFoq5ic79tY42QpsL9L5GLcfgG1CU,13079
1
+ deepdoctection/__init__.py,sha256=mFZGAnUHzhgUshyF-ggZMExtd4ZyCdtg1-hriRty8Ek,13229
2
2
  deepdoctection/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  deepdoctection/analyzer/__init__.py,sha256=wg0BcFwdCeREwzZfa--Yx8HUJ9LPv5z5PmLwtkZdPH8,772
4
- deepdoctection/analyzer/config.py,sha256=lTfBKwzm9iVKCZoq7-FcoYUfrcgWmRknwYUzD5Jx-0U,41762
4
+ deepdoctection/analyzer/config.py,sha256=5abZTB_U_FaZmNVkKUexSVZSmx_93Uj28VB-349jrCs,44153
5
5
  deepdoctection/analyzer/dd.py,sha256=2BGvZpl9o9khcaOV52-DPHMrs0DsqUO8cpdqFVHHzDQ,5176
6
- deepdoctection/analyzer/factory.py,sha256=DI0S38KAG2sIROrSximsWJsMbem91a9zXaeWsDNvkGg,37574
6
+ deepdoctection/analyzer/factory.py,sha256=s4RjPgPhB8_raiUbEyACRuF9S_DRQzAczWKDRmzsyhc,48189
7
7
  deepdoctection/configs/__init__.py,sha256=TX_P6tqDOF1LK1mi9ruAl7x0mtv1Asm8cYWCz3Pe2dk,646
8
8
  deepdoctection/configs/conf_dd_one.yaml,sha256=DHqAIKH3jRam54QO7qib2zutmpyFA8TqdV5UvIV191A,3688
9
9
  deepdoctection/configs/conf_tesseract.yaml,sha256=oF6szDyoi15FHvq7yFUNIEjfA_jNLhGxoowiRsz_zY4,35
10
- deepdoctection/configs/profiles.jsonl,sha256=8O1WTnsD0vhrdiY3RXzYoPe4mU_5C8TMafEjk0zHw9g,31438
10
+ deepdoctection/configs/profiles.jsonl,sha256=q_xPb-UcR-FxyspoJOJSMGmx-SsUkUokyK2tox98PcE,32510
11
11
  deepdoctection/dataflow/__init__.py,sha256=pY4lhjTes2BU-0AdIIRMnRqo9Sv6TopVE_SNfLmpgnc,828
12
12
  deepdoctection/dataflow/base.py,sha256=ZLRijyHI1J7tBfnE-q7eqUieYMMERjtK-c1oK40dBkk,6556
13
13
  deepdoctection/dataflow/common.py,sha256=DKD_pRZBCt2vO3oNZcOvdoC3jThabTNcNbTS16mpVR0,10351
14
14
  deepdoctection/dataflow/custom.py,sha256=xlw1Op4J3a8PNIlzY5stAY6olpBTN8KMhj1KQ7gf8tA,6792
15
15
  deepdoctection/dataflow/custom_serialize.py,sha256=zWDx1_mkPpeot9VN-4P1C2sFtK6vYUaFoSs6UiiLMZA,23234
16
- deepdoctection/dataflow/parallel_map.py,sha256=Xhem9lvNDKVd_x02Ih9qB4J6bEnxNbc8uHIro8mX9UU,15783
16
+ deepdoctection/dataflow/parallel_map.py,sha256=8cTaj9tJjpPFHYtfNNaekQZCywIVc3aa2hMHa5nsFbA,16058
17
17
  deepdoctection/dataflow/serialize.py,sha256=G5kfkFHyhy3E3AusTvTizBi0EVDU2YZov9a-LmXPjy4,4592
18
18
  deepdoctection/dataflow/stats.py,sha256=AN5cbagveaDGqCXaYj6iWITpn-a2eO_AumA-vQNQ_XE,9764
19
19
  deepdoctection/datapoint/__init__.py,sha256=ruyV4DTOkUFWhkJ5VO_eJmrAxrzgygzTtr4W-WkZybs,1615
20
20
  deepdoctection/datapoint/annotation.py,sha256=f32BNmzUGJoNMeGst2RGC2jmjJpzzjxyBRKFG8FCubY,23092
21
- deepdoctection/datapoint/box.py,sha256=QAS8sK2Ge4_ysW6zOYkLlzNwhSyw_mhYcYsxscClEno,31453
21
+ deepdoctection/datapoint/box.py,sha256=rJUcQfCIwIpYsyifxMZ_r-NNRpX-itISATA3OKmVyak,31533
22
22
  deepdoctection/datapoint/convert.py,sha256=6ENXX3tBdY8ogb2NBPxsOsQMGnQux8ol5nrUfWS5tYE,7352
23
- deepdoctection/datapoint/image.py,sha256=N5VH2oeKQWIt5FQvFaeu-FL8eckv7LQS0ZJsHSuVwjI,37187
24
- deepdoctection/datapoint/view.py,sha256=R-xv9SzK-7sZ6-kbok9K64OldkRj6n_SeVdRRZqoZI4,61730
23
+ deepdoctection/datapoint/image.py,sha256=kH3dPQlI7-Q1lA40cjnp5FT84z03GSsiwoVmWyhN7Qo,37230
24
+ deepdoctection/datapoint/view.py,sha256=m7R9XmH4qX6IOr1hNSog6h5JDx07DAM2GIEk6rDjSbs,63022
25
25
  deepdoctection/datasets/__init__.py,sha256=4ifjIwWCPYiS31GzUlVDScrkNOrb1eo5xHlRXNyg_58,994
26
26
  deepdoctection/datasets/adapter.py,sha256=VSLM_980aHi4TpgOxfxiBHiF_fUXyh348PXet6zTo-4,7779
27
27
  deepdoctection/datasets/base.py,sha256=oLv2o9QiKVN44kO7Llj-z00_TQRYBsVlvBL3ZQoscUQ,30670
@@ -45,23 +45,23 @@ deepdoctection/datasets/instances/xsl/pascal_voc.xsl,sha256=DlzFV2P8NtQKXVe96i-m
45
45
  deepdoctection/eval/__init__.py,sha256=deGj63ejU9f3nthBU6GI25QIQidKWJmIW4q8fpn12bU,920
46
46
  deepdoctection/eval/accmetric.py,sha256=TlOFUU9y9BBjJKVsRMyoVKpLZl6AflNsZ4thqSEie4k,19957
47
47
  deepdoctection/eval/base.py,sha256=mYVvzD_wVPwsrBqcl1O4Vqqhg1yGtlG6hkuMjVZvt-k,5290
48
- deepdoctection/eval/cocometric.py,sha256=H-BsLeV9S93tG6jzUN-3FCPXYiUUoTAYuznE5SvS9Bc,11070
48
+ deepdoctection/eval/cocometric.py,sha256=xB7M5w4VFI67EPfsmS92EpTlayQRqjIiHS_T0ENsfq4,11156
49
49
  deepdoctection/eval/eval.py,sha256=UUL-wk39RONLMOOyH3WjjpHunZJiQluXZFqir8eaDtY,19808
50
50
  deepdoctection/eval/registry.py,sha256=us6EGN_tAia1Mk1mwWQwDeE-xqxcuopztdi8n-ieGbg,1100
51
51
  deepdoctection/eval/tedsmetric.py,sha256=EcNeJynsmxyl5bOH3bjy2wE647ONf0SF5OZyGbVu35Q,9963
52
52
  deepdoctection/eval/tp_eval_callback.py,sha256=lqrOn2tdaRiF_Vr_9CwBr2ryatcWu3mQKya8YZ2pA9A,5261
53
- deepdoctection/extern/__init__.py,sha256=jG2qe5_X7fJFnJlx04Lf1KUTXKKKYtCkKR7WQ7looUk,991
54
- deepdoctection/extern/base.py,sha256=LomTR9HXcBU55MPDIA8D1rIamk7DUmToJmgcRXzCoeU,31650
55
- deepdoctection/extern/d2detect.py,sha256=I0oEkprr5iVpKpM3a3nknAU-sXwNoDQdp_B1gzzODsk,22374
53
+ deepdoctection/extern/__init__.py,sha256=1RVkuC0MPlz_g4nhU-nc0sPIRR72JWeDgZtyy4BWw8w,1011
54
+ deepdoctection/extern/base.py,sha256=8bhTb4PiZlSbSZYnH65FE55juq6hM1TzbCkZHoIUE8w,32077
55
+ deepdoctection/extern/d2detect.py,sha256=O8XN_sUrQThMmd9-t97lzZvTGVSMG-1DD_VR5TV9V8c,22375
56
56
  deepdoctection/extern/deskew.py,sha256=L_jU0rXh03qzwaT79EIqE_zYMUVeFwWDbsGbtahuL2k,3124
57
- deepdoctection/extern/doctrocr.py,sha256=jB0mnvGmmygoUu9e9zw2_HtAgQUdCJHbxMSt1cfK5bA,25381
58
- deepdoctection/extern/fastlang.py,sha256=raLC2CgHiKmkSA8wZkuvsb7Ob3w3UbLNZCUd0b09hWA,4922
57
+ deepdoctection/extern/doctrocr.py,sha256=vF-OA9UzH_NizkSoATvCdGEKbFReThGenoJOKFCHMUA,26299
58
+ deepdoctection/extern/fastlang.py,sha256=0nBFZTwMS5s9fhjgMc_p0y18V6wZwQme0r6B6B3uFro,4952
59
59
  deepdoctection/extern/hfdetr.py,sha256=N3eLNI5BsQS9_7YZyBeWndSgUydJij7ugZA9p4V1xaQ,14316
60
- deepdoctection/extern/hflayoutlm.py,sha256=3mZZ3byn00jSrLWO2vZFas9j4VrhbYQNmF1mwPG2ElQ,59642
61
- deepdoctection/extern/hflm.py,sha256=y-9brzmT2NYtFoNcWHABNg2ZZQXSOP9CyqtT1OoeV9U,9754
60
+ deepdoctection/extern/hflayoutlm.py,sha256=ZXXX9BTF5zjcyZaDbhGizfDC_xpvD2LyEivElwYuIGc,59972
61
+ deepdoctection/extern/hflm.py,sha256=ftr5jLb39521KtHZOEyTWuaE7bnbSwm3EQSHlcynXIM,27585
62
62
  deepdoctection/extern/model.py,sha256=kMIlx07_kdwZHLYB3QUG0DT_VSv2aZuKIIbv3fs0WqA,18233
63
63
  deepdoctection/extern/pdftext.py,sha256=ljzPQn3yYAlS6MoZqzixD-fO2GlHwu1aMiOQ6qMIzbg,7513
64
- deepdoctection/extern/tessocr.py,sha256=SuPmngsJg38riL4b09z6_FIzJH6H3RIwoighG2GPMYM,17457
64
+ deepdoctection/extern/tessocr.py,sha256=r2UTxOCAHtZP863urD5IwTrJxKk7C9fhv5p5suMTCHA,18376
65
65
  deepdoctection/extern/texocr.py,sha256=wVOuu6eUGao0mUbC8vrgdCsKfY1GqA1Am9560YgWyXU,5915
66
66
  deepdoctection/extern/tpdetect.py,sha256=Kr00n80V_OfE-EGfpjiVw1eAQ2n2tuT-hSco-dLSR9E,8516
67
67
  deepdoctection/extern/pt/__init__.py,sha256=3Cu0ZHjbYsJomru7-RQXEHihEQLegZrmLetlHiqS58I,742
@@ -108,16 +108,16 @@ deepdoctection/pipe/base.py,sha256=ZOQ9G9xCxzzGSoKVNwNlqmqx73S9tp4L_5W-R2vcah0,1
108
108
  deepdoctection/pipe/common.py,sha256=6asx6ionpKxO90kttDgCRhU893FrsSZJpW91_dRGGBc,24586
109
109
  deepdoctection/pipe/concurrency.py,sha256=w3GaL50_bvEJTfrZ2Omds_5jBSBPkjvxr63ZZLpULOM,9780
110
110
  deepdoctection/pipe/doctectionpipe.py,sha256=ik5F92F3klI5Nve_AnyIRj-ApMoKHSR2SjcWWnI0d2g,14063
111
- deepdoctection/pipe/language.py,sha256=C_ULkbTV92SJAwY5CPnPKq1wlYMRV_l7hII2WKWIKZQ,5898
111
+ deepdoctection/pipe/language.py,sha256=VZvw1hYrs4F1g2aSmqt16jAzgigedui2dptcRtvASfY,5949
112
112
  deepdoctection/pipe/layout.py,sha256=pm53RUyMCERHJVWRJmeDUfjf-6DlRuTtUGETHpyr1UY,6391
113
- deepdoctection/pipe/lm.py,sha256=ZWc1qMMuk_kDV0axpKWHTgkNXGCzYKI0kl0KIkqovLU,20311
114
- deepdoctection/pipe/order.py,sha256=m31RLoQNTpUTMpuyrAZKcTnRhyPLZ_Bmb1Ngxs7JkbY,41129
115
- deepdoctection/pipe/refine.py,sha256=AazkdLz5F1H8OIO8d1oFY4pqOprP0zW42ZeXVfeUtew,23422
113
+ deepdoctection/pipe/lm.py,sha256=XtvaqjPK-2exWOmzznCZORL5MjkP-33fd0MlJpTtbMA,20617
114
+ deepdoctection/pipe/order.py,sha256=Sfp4SVbQ9LZNjCayZfwV4MObUQTopBK_zIXBCBp69ZQ,41226
115
+ deepdoctection/pipe/refine.py,sha256=KhTiTwQTleUJrDE6MO094jq6p_9POxOyYdovejGnJtM,23738
116
116
  deepdoctection/pipe/registry.py,sha256=uT5fnHjffoNGk2JPuD2-pMYtO3Iko7-wrwVZVCWLtok,906
117
117
  deepdoctection/pipe/segment.py,sha256=ACMHUDigyEMuNXp8crwFXbWCew1-oAdlAa5fV7PfL50,61964
118
118
  deepdoctection/pipe/sub_layout.py,sha256=YH05W24yLvAdEwC5CLGiVSOLlo0O-mNeIjRZPd9FEIQ,14135
119
- deepdoctection/pipe/text.py,sha256=4iRk5K18WxB2VUSARALrmfpj1hR0CyVoj-NJW7O7hHA,11150
120
- deepdoctection/pipe/transform.py,sha256=KU5WQ-90AaltSQLuRz0D91OkhSkb6hHRNfSNMW3ANeo,4716
119
+ deepdoctection/pipe/text.py,sha256=l4OoAFWpY7wp_oZplzuA7BOs52BkEXIDWiIsq6zlBK0,11444
120
+ deepdoctection/pipe/transform.py,sha256=LG5qpbTK0sdnIRYU8upqxAaLcA497CHo-rXpRnssQgc,4941
121
121
  deepdoctection/train/__init__.py,sha256=YFTRAZF1F7cEAKTdAIi1BLyYb6rSRcwq09Ui5Lu8d6E,1071
122
122
  deepdoctection/train/d2_frcnn_train.py,sha256=edmyNTBRMM_TuL_1D6G2TSY9CBqNndIuyKree_KAso0,15508
123
123
  deepdoctection/train/hf_detr_train.py,sha256=El-VHggdBObttFQwFIfQs5xm7aaxpC5IzNUJ1gF4Z6E,13278
@@ -129,21 +129,21 @@ deepdoctection/utils/context.py,sha256=5QfdzxsiSPnNs1qtJdgjguIoD8srLQ2W8oeDzwp9F
129
129
  deepdoctection/utils/develop.py,sha256=4myrqBDypM6tQ2a2Jo3Q20RuE_W2czykpXBwgXPrxNw,3568
130
130
  deepdoctection/utils/env_info.py,sha256=b1WohrfQuoL-BPN0_s8Rjtwzx-WKvCyaX2I4qYl1Emc,19878
131
131
  deepdoctection/utils/error.py,sha256=sIry8F5MZ0yLvKfAwVz90IorKWVvjoRqcC0L8qq8mLk,2480
132
- deepdoctection/utils/file_utils.py,sha256=b-Be3qMhBsrQxpEvYM-IKBQdWqBX2HGhq_Gtk12BL3U,26276
132
+ deepdoctection/utils/file_utils.py,sha256=Qr6Q9ruzi7xMDYh5W1V2_9HZvn2-VzSjH0eu6dhJTpY,26844
133
133
  deepdoctection/utils/fs.py,sha256=KTS9FJzZk9le_vmIPr9IisJw0AyTfjkyX1KoWQy4DNs,12729
134
134
  deepdoctection/utils/identifier.py,sha256=Jt12MeZf7eC1qciY5Fp_AYUGxYVcjsy7xNBUvJil7dU,2270
135
- deepdoctection/utils/logger.py,sha256=ddQ0xBStluf8OvoRlEB8YkqyRR-ZYgyJYLClTmJJMAU,10290
135
+ deepdoctection/utils/logger.py,sha256=Mj7FA4B879rYBFbANaoH0UwP4oxLOPt7zxqobKJ4910,11418
136
136
  deepdoctection/utils/metacfg.py,sha256=5M390--ZMoyJEt5oZOwFMGt2i8OF_ayeb0NVmUO_3OQ,7235
137
137
  deepdoctection/utils/mocks.py,sha256=IkN3-IzAl4eX0ibgKIHg8IY7ykVw6BnpF6XnxKnKaZI,2389
138
138
  deepdoctection/utils/pdf_utils.py,sha256=BrxTuY9j0COyIRkJchJ0tt2h6ZsA2an6z-H8E8QwgUQ,13490
139
- deepdoctection/utils/settings.py,sha256=0P6nh9-84wWyMm9J7w9I7gI1xo8mN4M4xZ0IXzcqDbE,12862
139
+ deepdoctection/utils/settings.py,sha256=nzD2OMxfsL50CvKGnbwn8IWW-t5wGfCS439HFian274,12920
140
140
  deepdoctection/utils/tqdm.py,sha256=kx3Ivf0x85S0ZmEaN5mImu0V6isOgygOU8iyr2U99XU,1850
141
- deepdoctection/utils/transform.py,sha256=jgeCyQWLN9q79jCGW7jysyKUKcJ1AVMk8OslF-3fbag,16095
141
+ deepdoctection/utils/transform.py,sha256=2naYQSyIhVmqhocoYgMZA6mSC-XJb8l_fYMWvJFR1oo,16624
142
142
  deepdoctection/utils/types.py,sha256=Nsr2J7XSZazXho94y0oc01LBQxh0ve67c4Yx2gMlSXU,2952
143
143
  deepdoctection/utils/utils.py,sha256=NBUb1qbx8Jm-AvYN1Sdbk0huXhbAKxZ-ZtOcMespsMM,7064
144
- deepdoctection/utils/viz.py,sha256=bujRIujvX317rPz4jBrj0yd3WP8wPjDUiI5GUrw9MzQ,27339
145
- deepdoctection-0.44.1.dist-info/licenses/LICENSE,sha256=GQ0rUvuGdrMNEI3iHK5UQx6dIMU1QwAuyXsxUHn5MEQ,11351
146
- deepdoctection-0.44.1.dist-info/METADATA,sha256=6Kcja098MH-8gLa-icffL8NdVOMcQkSzTznp8aIHir8,14793
147
- deepdoctection-0.44.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
148
- deepdoctection-0.44.1.dist-info/top_level.txt,sha256=hs2DdoOL9h4mnHhmO82BT4pz4QATIoOZ20PZmlnxFI8,15
149
- deepdoctection-0.44.1.dist-info/RECORD,,
144
+ deepdoctection/utils/viz.py,sha256=C_zHbFhn9rpspj9GdS9rffLap2x_cpzqdepd5xbkoAE,27990
145
+ deepdoctection-0.46.dist-info/licenses/LICENSE,sha256=GQ0rUvuGdrMNEI3iHK5UQx6dIMU1QwAuyXsxUHn5MEQ,11351
146
+ deepdoctection-0.46.dist-info/METADATA,sha256=dATdyi6eLfJfY1y0GYVhxY3Yttfvl0wSwjwBKgWvMAw,14761
147
+ deepdoctection-0.46.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
148
+ deepdoctection-0.46.dist-info/top_level.txt,sha256=hs2DdoOL9h4mnHhmO82BT4pz4QATIoOZ20PZmlnxFI8,15
149
+ deepdoctection-0.46.dist-info/RECORD,,