python-doctr 1.0.0__py3-none-any.whl → 1.0.1__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.
Files changed (104) hide show
  1. doctr/contrib/artefacts.py +1 -1
  2. doctr/contrib/base.py +1 -1
  3. doctr/datasets/coco_text.py +1 -1
  4. doctr/datasets/cord.py +1 -1
  5. doctr/datasets/datasets/base.py +1 -1
  6. doctr/datasets/datasets/pytorch.py +1 -1
  7. doctr/datasets/detection.py +1 -1
  8. doctr/datasets/doc_artefacts.py +1 -1
  9. doctr/datasets/funsd.py +1 -1
  10. doctr/datasets/generator/base.py +1 -1
  11. doctr/datasets/generator/pytorch.py +1 -1
  12. doctr/datasets/ic03.py +1 -1
  13. doctr/datasets/ic13.py +1 -1
  14. doctr/datasets/iiit5k.py +1 -1
  15. doctr/datasets/iiithws.py +1 -1
  16. doctr/datasets/imgur5k.py +1 -1
  17. doctr/datasets/mjsynth.py +1 -1
  18. doctr/datasets/ocr.py +1 -1
  19. doctr/datasets/orientation.py +1 -1
  20. doctr/datasets/recognition.py +1 -1
  21. doctr/datasets/sroie.py +1 -1
  22. doctr/datasets/svhn.py +1 -1
  23. doctr/datasets/svt.py +1 -1
  24. doctr/datasets/synthtext.py +1 -1
  25. doctr/datasets/utils.py +1 -1
  26. doctr/datasets/vocabs.py +1 -1
  27. doctr/datasets/wildreceipt.py +1 -1
  28. doctr/file_utils.py +1 -1
  29. doctr/io/elements.py +1 -1
  30. doctr/io/html.py +1 -1
  31. doctr/io/image/base.py +1 -1
  32. doctr/io/image/pytorch.py +1 -1
  33. doctr/io/pdf.py +1 -1
  34. doctr/io/reader.py +1 -1
  35. doctr/models/_utils.py +55 -17
  36. doctr/models/builder.py +1 -1
  37. doctr/models/classification/magc_resnet/pytorch.py +1 -1
  38. doctr/models/classification/mobilenet/pytorch.py +1 -1
  39. doctr/models/classification/predictor/pytorch.py +1 -1
  40. doctr/models/classification/resnet/pytorch.py +1 -1
  41. doctr/models/classification/textnet/pytorch.py +1 -1
  42. doctr/models/classification/vgg/pytorch.py +1 -1
  43. doctr/models/classification/vip/layers/pytorch.py +1 -1
  44. doctr/models/classification/vip/pytorch.py +1 -1
  45. doctr/models/classification/vit/pytorch.py +1 -1
  46. doctr/models/classification/zoo.py +1 -1
  47. doctr/models/core.py +1 -1
  48. doctr/models/detection/_utils/base.py +1 -1
  49. doctr/models/detection/_utils/pytorch.py +1 -1
  50. doctr/models/detection/core.py +1 -1
  51. doctr/models/detection/differentiable_binarization/base.py +1 -1
  52. doctr/models/detection/differentiable_binarization/pytorch.py +1 -1
  53. doctr/models/detection/fast/base.py +1 -1
  54. doctr/models/detection/fast/pytorch.py +1 -1
  55. doctr/models/detection/linknet/base.py +1 -1
  56. doctr/models/detection/linknet/pytorch.py +1 -1
  57. doctr/models/detection/predictor/pytorch.py +1 -1
  58. doctr/models/detection/zoo.py +1 -1
  59. doctr/models/factory/hub.py +18 -13
  60. doctr/models/kie_predictor/base.py +1 -1
  61. doctr/models/kie_predictor/pytorch.py +1 -1
  62. doctr/models/modules/layers/pytorch.py +1 -1
  63. doctr/models/modules/transformer/pytorch.py +1 -1
  64. doctr/models/modules/vision_transformer/pytorch.py +1 -1
  65. doctr/models/predictor/base.py +1 -1
  66. doctr/models/predictor/pytorch.py +1 -1
  67. doctr/models/preprocessor/pytorch.py +1 -1
  68. doctr/models/recognition/core.py +1 -1
  69. doctr/models/recognition/crnn/pytorch.py +1 -1
  70. doctr/models/recognition/master/base.py +1 -1
  71. doctr/models/recognition/master/pytorch.py +1 -1
  72. doctr/models/recognition/parseq/base.py +1 -1
  73. doctr/models/recognition/parseq/pytorch.py +1 -1
  74. doctr/models/recognition/predictor/_utils.py +1 -1
  75. doctr/models/recognition/predictor/pytorch.py +1 -1
  76. doctr/models/recognition/sar/pytorch.py +1 -1
  77. doctr/models/recognition/utils.py +1 -1
  78. doctr/models/recognition/viptr/pytorch.py +1 -1
  79. doctr/models/recognition/vitstr/base.py +1 -1
  80. doctr/models/recognition/vitstr/pytorch.py +1 -1
  81. doctr/models/recognition/zoo.py +1 -1
  82. doctr/models/utils/pytorch.py +2 -1
  83. doctr/models/zoo.py +1 -1
  84. doctr/transforms/functional/base.py +3 -2
  85. doctr/transforms/functional/pytorch.py +1 -1
  86. doctr/transforms/modules/base.py +2 -2
  87. doctr/transforms/modules/pytorch.py +1 -1
  88. doctr/utils/common_types.py +1 -1
  89. doctr/utils/data.py +1 -2
  90. doctr/utils/fonts.py +1 -1
  91. doctr/utils/geometry.py +1 -1
  92. doctr/utils/metrics.py +1 -1
  93. doctr/utils/multithreading.py +1 -1
  94. doctr/utils/reconstitution.py +1 -1
  95. doctr/utils/repr.py +1 -1
  96. doctr/utils/visualization.py +1 -1
  97. doctr/version.py +1 -1
  98. {python_doctr-1.0.0.dist-info → python_doctr-1.0.1.dist-info}/METADATA +13 -6
  99. python_doctr-1.0.1.dist-info/RECORD +149 -0
  100. {python_doctr-1.0.0.dist-info → python_doctr-1.0.1.dist-info}/WHEEL +1 -1
  101. python_doctr-1.0.0.dist-info/RECORD +0 -149
  102. {python_doctr-1.0.0.dist-info → python_doctr-1.0.1.dist-info}/licenses/LICENSE +0 -0
  103. {python_doctr-1.0.0.dist-info → python_doctr-1.0.1.dist-info}/top_level.txt +0 -0
  104. {python_doctr-1.0.0.dist-info → python_doctr-1.0.1.dist-info}/zip-safe +0 -0
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -170,6 +170,7 @@ def export_model_to_onnx(model: nn.Module, model_name: str, dummy_input: torch.T
170
170
  output_names=["logits"],
171
171
  dynamic_axes={"input": {0: "batch_size"}, "logits": {0: "batch_size"}},
172
172
  export_params=True,
173
+ dynamo=False,
173
174
  verbose=False,
174
175
  **kwargs,
175
176
  )
doctr/models/zoo.py CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -145,7 +145,8 @@ def create_shadow_mask(
145
145
 
146
146
  # Convert to absolute coords
147
147
  abs_contour: np.ndarray = (
148
- np.stack(
148
+ np
149
+ .stack(
149
150
  (contour[:, 0] * target_shape[1], contour[:, 1] * target_shape[0]),
150
151
  axis=-1,
151
152
  )
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -192,7 +192,7 @@ class RandomCrop(NestedObject):
192
192
  scale = random.uniform(self.scale[0], self.scale[1])
193
193
  ratio = random.uniform(self.ratio[0], self.ratio[1])
194
194
 
195
- height, width = img.shape[:2]
195
+ height, width = img.shape[-2:]
196
196
 
197
197
  # Calculate crop size
198
198
  crop_area = scale * width * height
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
doctr/utils/data.py CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -9,7 +9,6 @@ import hashlib
9
9
  import logging
10
10
  import os
11
11
  import re
12
- import urllib
13
12
  import urllib.error
14
13
  import urllib.request
15
14
  from pathlib import Path
doctr/utils/fonts.py CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
doctr/utils/geometry.py CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
doctr/utils/metrics.py CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
doctr/utils/repr.py CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021-2025, Mindee.
1
+ # Copyright (C) 2021-2026, Mindee.
2
2
 
3
3
  # This program is licensed under the Apache License 2.0.
4
4
  # See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.
doctr/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = 'v1.0.0'
1
+ __version__ = 'v1.0.1'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-doctr
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Document Text Recognition (docTR): deep Learning for high-performance OCR on documents.
5
5
  Author-email: Mindee <contact@mindee.com>
6
6
  Maintainer: François-Guillaume Fernandez, Charles Gaillard, Olivier Dulcy, Felix Dittrich
@@ -233,12 +233,12 @@ Requires-Dist: numpy<3.0.0,>=1.16.0
233
233
  Requires-Dist: scipy<2.0.0,>=1.4.0
234
234
  Requires-Dist: h5py<4.0.0,>=3.1.0
235
235
  Requires-Dist: opencv-python<5.0.0,>=4.5.0
236
- Requires-Dist: pypdfium2<5.0.0,>=4.11.0
236
+ Requires-Dist: pypdfium2<6.0.0,>=4.11.0
237
237
  Requires-Dist: pyclipper<2.0.0,>=1.2.0
238
238
  Requires-Dist: shapely<3.0.0,>=1.6.0
239
239
  Requires-Dist: langdetect<2.0.0,>=1.0.9
240
240
  Requires-Dist: rapidfuzz<4.0.0,>=3.0.0
241
- Requires-Dist: huggingface-hub<1.0.0,>=0.20.0
241
+ Requires-Dist: huggingface-hub<2.0.0,>=0.20.0
242
242
  Requires-Dist: Pillow>=9.2.0
243
243
  Requires-Dist: defusedxml>=0.7.0
244
244
  Requires-Dist: anyascii>=0.3.2
@@ -265,7 +265,7 @@ Provides-Extra: docs
265
265
  Requires-Dist: sphinx!=3.5.0,>=3.0.0; extra == "docs"
266
266
  Requires-Dist: sphinxemoji>=0.1.8; extra == "docs"
267
267
  Requires-Dist: sphinx-copybutton>=0.3.1; extra == "docs"
268
- Requires-Dist: docutils<0.22; extra == "docs"
268
+ Requires-Dist: docutils<0.23; extra == "docs"
269
269
  Requires-Dist: recommonmark>=0.7.1; extra == "docs"
270
270
  Requires-Dist: sphinx-markdown-tables>=0.0.15; extra == "docs"
271
271
  Requires-Dist: sphinx-tabs>=3.3.0; extra == "docs"
@@ -288,7 +288,7 @@ Requires-Dist: pre-commit>=3.0.0; extra == "dev"
288
288
  Requires-Dist: sphinx!=3.5.0,>=3.0.0; extra == "dev"
289
289
  Requires-Dist: sphinxemoji>=0.1.8; extra == "dev"
290
290
  Requires-Dist: sphinx-copybutton>=0.3.1; extra == "dev"
291
- Requires-Dist: docutils<0.22; extra == "dev"
291
+ Requires-Dist: docutils<0.23; extra == "dev"
292
292
  Requires-Dist: recommonmark>=0.7.1; extra == "dev"
293
293
  Requires-Dist: sphinx-markdown-tables>=0.0.15; extra == "dev"
294
294
  Requires-Dist: sphinx-tabs>=3.3.0; extra == "dev"
@@ -361,7 +361,7 @@ Should you use docTR on documents that include rotated pages, or pages with mult
361
361
  you have multiple options to handle it:
362
362
 
363
363
  - If you only use straight document pages with straight words (horizontal, same reading direction),
364
- consider passing `assume_straight_boxes=True` to the ocr_predictor. It will directly fit straight boxes
364
+ consider passing `assume_straight_pages=True` to the ocr_predictor. It will directly fit straight boxes
365
365
  on your page and return straight boxes, which makes it the fastest option.
366
366
 
367
367
  - If you want the predictor to output straight boxes (no matter the orientation of your pages, the final localizations
@@ -621,6 +621,13 @@ print(requests.post("http://localhost:8080/ocr", params=params, files=files).jso
621
621
 
622
622
  Looking for more illustrations of docTR features? You might want to check the [Jupyter notebooks](https://github.com/mindee/doctr/tree/main/notebooks) designed to give you a broader overview.
623
623
 
624
+ ## Supported By
625
+
626
+ This project is supported by [t2k GmbH](https://www.text2knowledge.de/de),
627
+ <p align="center">
628
+ <img src="https://github.com/mindee/doctr/raw/main/docs/images/t2k_logo.png" width="40%">
629
+ </p>
630
+
624
631
  ## Citation
625
632
 
626
633
  If you wish to cite this project, feel free to use this [BibTeX](http://www.bibtex.org/) reference:
@@ -0,0 +1,149 @@
1
+ doctr/__init__.py,sha256=sdqGeYFfPLRsRH54PsedllScz5FD8yWwyekcsOq3JNc,110
2
+ doctr/file_utils.py,sha256=DsQvazaicyDSM1bNuI70p1DNewO0IOxQ5TRBgXSju3w,999
3
+ doctr/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ doctr/version.py,sha256=6p2_N2LdNEx0s2rC1vd5LYuVCJ2ya740g-riPQhSMfQ,23
5
+ doctr/contrib/__init__.py,sha256=EKeAGa3TOuJVWR4H_HJvuKO5VPEnJWXW305JMw3ufic,40
6
+ doctr/contrib/artefacts.py,sha256=fP-UMWBYVibCv0aMHXFd-D3HF4yQIbaWfV0EDl4_iAU,5291
7
+ doctr/contrib/base.py,sha256=uKV-B_9Y02jR_X6of55N3aJCcn8e1asMTHybsTQzRbw,3273
8
+ doctr/datasets/__init__.py,sha256=QzWe91FU1d3Vi5h4ayPtJUE-Y_SSs_4Xp6MAkZ8XKTc,504
9
+ doctr/datasets/coco_text.py,sha256=3-D4EjqOdWF-ioMXgdNj_plYWGrIa-gZt4FasphXAGA,5496
10
+ doctr/datasets/cord.py,sha256=uRGYIDtRsq01UTRShLKEUyOeWphydHyMQA9Rows-1z0,5315
11
+ doctr/datasets/detection.py,sha256=jeTNggksKEYsVF7_Km1LSJNc7VHTcES4BLuYt_UhXpg,3531
12
+ doctr/datasets/doc_artefacts.py,sha256=tYTdwfC5d2f_wkxhJ-2-XMf7Bk8pS4LQ_zLrk-JTVvQ,3230
13
+ doctr/datasets/funsd.py,sha256=siX7xUP38dHT3ECL3ReQ78v4RI-q0mwcuaX1TADkwzI,4733
14
+ doctr/datasets/ic03.py,sha256=l_f0ACbR9DD2_mCe57eLO8dnwFgb2JNP0jjpPmvXCP4,5564
15
+ doctr/datasets/ic13.py,sha256=EWv67V5TwkKcgOzE9qCz38Rnff6b5Bqo7FwXNECDy-I,4528
16
+ doctr/datasets/iiit5k.py,sha256=Yz3brhWUVCqXhAAg75xRU3qWJeX87j2lEG70zkkMrlo,4583
17
+ doctr/datasets/iiithws.py,sha256=8iMytN32T23BpIUMoAEzHrsUgzII_thjoMxHzAEu-nk,2768
18
+ doctr/datasets/imgur5k.py,sha256=MJwrMlBFsxlfJs65rgkKzRjhepNf04kez7kP90Tlt74,7525
19
+ doctr/datasets/mjsynth.py,sha256=SBlhKk7s1onMXF8AJj2WMnIF2n5XXBzTJTvOZxcW0TI,4075
20
+ doctr/datasets/ocr.py,sha256=61SxWHtDOty7ZtkAkuiPAw68n5wZYXI2YZJxP4LhrHc,2523
21
+ doctr/datasets/orientation.py,sha256=b5XsuSWChDxmU_zJ33LtBz76_Rkz5N6r6NogW9uAMZc,1091
22
+ doctr/datasets/recognition.py,sha256=FdaTGAoRq0VD5g7oo8NKphsI2YU8fSZzSEj9IppiT-Y,1858
23
+ doctr/datasets/sroie.py,sha256=9moG-O_PiFU0uXuYzsbzb-TxXKwCOK0NSyRSde0FlT4,4430
24
+ doctr/datasets/svhn.py,sha256=duB_HMWRLY3FKPEgMt2x9k3x4qEjCvbZftcsfuayRWE,5784
25
+ doctr/datasets/svt.py,sha256=B_39RFw3qWYWqGbpVcd51SyhUwi2vjBSCFQKhE1PpiA,5046
26
+ doctr/datasets/synthtext.py,sha256=F_5BS1vJ5b194kRaYpofsSWWIQqBoon9URF742jME5w,6301
27
+ doctr/datasets/utils.py,sha256=rt5-1B_ZbqPpZmfTRAMCqaUPpi3d2O5vfGfiVWkzp04,8106
28
+ doctr/datasets/vocabs.py,sha256=vKGhlVxA8KuJz1X15QcX2i8AwLT1u0eHxvQSUp0zFVA,99032
29
+ doctr/datasets/wildreceipt.py,sha256=vqGYVaaSS97GxSHuvYvpeCIShACAEYhgScJhpA943R0,5213
30
+ doctr/datasets/datasets/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
31
+ doctr/datasets/datasets/base.py,sha256=hyNTt3HCvMpeRA1rYMneLhAbeSTvAbC5JE8MKQBFk5g,4826
32
+ doctr/datasets/datasets/pytorch.py,sha256=U9xtyOSgXLnlGu9vG9ECvp0cf1SvXZ2SABVk2v0cp6g,2030
33
+ doctr/datasets/generator/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
34
+ doctr/datasets/generator/base.py,sha256=xiVAvAzP_r4fTpZy75O_daN93fzsjjpaN-vxn-GtyLU,5706
35
+ doctr/datasets/generator/pytorch.py,sha256=vvpbdu6PgDLbUkKmXYqZYPsoGaRQIV2NqAS7t99jP7E,2116
36
+ doctr/io/__init__.py,sha256=kS7tKGFvzxOCWBOun-Y8n9CsziwRKNynjwpZEUUI03M,106
37
+ doctr/io/elements.py,sha256=74pRYfxbe4yCB8S1It-PymGWbDG0S4qdbjf_P57_M0s,26474
38
+ doctr/io/html.py,sha256=gKu4hxMYaEgRDPcd45HBlctNXw0Fnk3CY5Jgr9JZRMw,698
39
+ doctr/io/pdf.py,sha256=LYxPh7auAIlPh3Xdh462peVnBbCMMjB7ouDfiQq7eok,1308
40
+ doctr/io/reader.py,sha256=gwQmziIkF-cozyE8K4KisZYmFmtyoZUSl4LWyI_CPCI,2732
41
+ doctr/io/image/__init__.py,sha256=bJLj2I8OOTYLuTDjdinao0nkOIWQOLbzIuww23EX3gw,43
42
+ doctr/io/image/base.py,sha256=EgAl_IaklfK67h4nY9nhedTMu1_MUqIqzNcJSH1IGzs,1681
43
+ doctr/io/image/pytorch.py,sha256=UYlll8CPBaOZ7tDyWN-xQ2DMVqGRnBI173Q4NF8ij7A,3201
44
+ doctr/models/__init__.py,sha256=yn_mXUL8B5L27Uaat1rLGRQHgLR8VLVxzBuPfNuN1YE,124
45
+ doctr/models/_utils.py,sha256=U66VEsTHHmJEgauqX_t6tl6fRUTgWiDPKmDL4i-Ptu0,8455
46
+ doctr/models/builder.py,sha256=LkleWWqwhkFdBMMAFWD9TWGDKXSIEx-cn3hi1CToIxc,20370
47
+ doctr/models/core.py,sha256=KPTn_zbiwTV7OoPDv6o-xx7Tzb-QnAfLne1HuNQlWu4,482
48
+ doctr/models/zoo.py,sha256=uPgHXZP_wcRaZXmwZyIzAcLaDHhzo-B_8a0cx64mOVk,9276
49
+ doctr/models/classification/__init__.py,sha256=piTKyOGbTiKBzZSAHQLXf622mqjxaAJPicNtH3b-A0k,173
50
+ doctr/models/classification/zoo.py,sha256=dXgrlE9V7-zNM6yd0hfgpcpTQpSED9X7KuR2jGbjcd0,4265
51
+ doctr/models/classification/magc_resnet/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
52
+ doctr/models/classification/magc_resnet/pytorch.py,sha256=yVnkta1vNSXB5tF8C4TLMeAptWjrbNGbtDmQ4z_lJ6w,5480
53
+ doctr/models/classification/mobilenet/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
54
+ doctr/models/classification/mobilenet/pytorch.py,sha256=33ou3bbirjFhSUe-ws9C6foPosiO_cse-RgDBfxYL0Q,9826
55
+ doctr/models/classification/predictor/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
56
+ doctr/models/classification/predictor/pytorch.py,sha256=bu2dWcwrOBD_0XloiNXzyJ7JrjKiczRv0YWjh46iHbQ,2523
57
+ doctr/models/classification/resnet/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
58
+ doctr/models/classification/resnet/pytorch.py,sha256=nmD1sg9-Vd5u_NRaVaES5lENi4d06jcy00TSl82RT50,13250
59
+ doctr/models/classification/textnet/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
60
+ doctr/models/classification/textnet/pytorch.py,sha256=8a4i33cNgb5zdGjJa8nDgZfHyEMDa4mvtz1rJ153PPM,10424
61
+ doctr/models/classification/vgg/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
62
+ doctr/models/classification/vgg/pytorch.py,sha256=1fO451jkdTLMnc4rDEkvsvkYVapyfK19TKEE0mHoPHY,3679
63
+ doctr/models/classification/vip/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
64
+ doctr/models/classification/vip/pytorch.py,sha256=4IXmfXOil4tEp-g5VmoQIbXWlud2aFXsc0wuIDrGG58,16134
65
+ doctr/models/classification/vip/layers/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
66
+ doctr/models/classification/vip/layers/pytorch.py,sha256=lK01uxaC6QAbTf3DkgxEaYwNFhcPk7rT9TPs6FEkUI4,21019
67
+ doctr/models/classification/vit/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
68
+ doctr/models/classification/vit/pytorch.py,sha256=rrBLNjHvpmxqsNwSZenhrX81u4SBeUiGenFYVQKuaWc,6371
69
+ doctr/models/detection/__init__.py,sha256=RqSz5beehLiqhW0PwFLFmCfTyMjofO-0umcQJLDMHjY,105
70
+ doctr/models/detection/core.py,sha256=3qHxwPRXD_Pcpk3uvUtoCXtW07xagLOjbvsVFzRli7g,3444
71
+ doctr/models/detection/zoo.py,sha256=fmTcKXfOioUk9faOJSnr_1_c_Xviv1JAoPs0FMhZKng,3671
72
+ doctr/models/detection/_utils/__init__.py,sha256=bJLj2I8OOTYLuTDjdinao0nkOIWQOLbzIuww23EX3gw,43
73
+ doctr/models/detection/_utils/base.py,sha256=1Ozf6nQoXt_OhKEt-QPhP1iJ0HJoMugbdDFNYK2wHG8,2475
74
+ doctr/models/detection/_utils/pytorch.py,sha256=NyQxrS4e_EVQ5FriZSQYbvTvtenmAsvSC5QGFbZUhV4,1021
75
+ doctr/models/detection/differentiable_binarization/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
76
+ doctr/models/detection/differentiable_binarization/base.py,sha256=gMfQBrpuxflQUF46CyBFA1WNztU11fdkQxL2J3M3CIQ,15788
77
+ doctr/models/detection/differentiable_binarization/pytorch.py,sha256=sioxicRYT_kr5BsqzfdH6Pa2GTPtmycA2LzQrurKvC0,16453
78
+ doctr/models/detection/fast/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
79
+ doctr/models/detection/fast/base.py,sha256=BQ1Z9ARWakLbTH0VtHjUvmKZKhITFG-RTZkGKucjCyA,10225
80
+ doctr/models/detection/fast/pytorch.py,sha256=fzUoDDPrrKS9H_WyO8jcPdUZrrqVMZHL4d04DIJq_yY,16702
81
+ doctr/models/detection/linknet/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
82
+ doctr/models/detection/linknet/base.py,sha256=EKU5rPreZ6HO3brR93R8x5ssBmEu1ynbtc8iffHgQ0g,10007
83
+ doctr/models/detection/linknet/pytorch.py,sha256=KrKuZj16Xiwgk89oSaaVWSgz9jItvkCVv20rjoaqfDw,14333
84
+ doctr/models/detection/predictor/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
85
+ doctr/models/detection/predictor/pytorch.py,sha256=jdU5A10FDBXMLXyu1zJsVxlqSmt860u-oT30H7cIoKM,2627
86
+ doctr/models/factory/__init__.py,sha256=cKPoH2V2157lLMTR2zsljG3_IQHziodqR-XK_LG0D_I,19
87
+ doctr/models/factory/hub.py,sha256=F-CG-9dG3Iqbsj2mKkxf0JqKuZbg4hOfDoFGTO6fAIs,6889
88
+ doctr/models/kie_predictor/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
89
+ doctr/models/kie_predictor/base.py,sha256=oLVDjIZ5sKq4ma5bopWVYUzq6q4ZAxF6mtEEQNxwBxk,2291
90
+ doctr/models/kie_predictor/pytorch.py,sha256=pjFtZcjDDO9mpC7Zscu9CYcmkfF87J1ioJ8N_dzUSq4,7704
91
+ doctr/models/modules/__init__.py,sha256=pouP7obVTu4p6aHkyaqa1yHKbynpvT0Hgo-LO_1U2R4,83
92
+ doctr/models/modules/layers/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
93
+ doctr/models/modules/layers/pytorch.py,sha256=tjTZYcQt30TSpFwpzBfwEc7QN7bQdxnYMGOcBI4MqwE,8667
94
+ doctr/models/modules/transformer/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
95
+ doctr/models/modules/transformer/pytorch.py,sha256=AVFeQCElFgg7ondhTYc_XFPocTKMt3uFJBHUFSEUevk,7657
96
+ doctr/models/modules/vision_transformer/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
97
+ doctr/models/modules/vision_transformer/pytorch.py,sha256=ltnBAevcfJl612yblI6WhcJAPEgUO0w-5jFL7vBhXoA,3943
98
+ doctr/models/predictor/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
99
+ doctr/models/predictor/base.py,sha256=YYvEepdYY7bphhOmBdFsVGFI6EaBZDip9hut8qz2uA8,8541
100
+ doctr/models/predictor/pytorch.py,sha256=XplCn6sCdeREsINz6foxqLVTTJ0jiO2vMJgcVF0_Dxw,6241
101
+ doctr/models/preprocessor/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
102
+ doctr/models/preprocessor/pytorch.py,sha256=vcMwCb04UlJdCJ5vh-ZXPzoy_-U0sPOn-OWgREvL42g,4395
103
+ doctr/models/recognition/__init__.py,sha256=bgAvbwjO14Z2RQFD2XKZcSYJNsyxPa96SGHmX_nqbAQ,145
104
+ doctr/models/recognition/core.py,sha256=InV-HLYkbQG65B6BYIud_JCWdbeoacC2MURjPZqceoo,1524
105
+ doctr/models/recognition/utils.py,sha256=WLUr6Qa3Kq803xyuLWmlFBS2Vf3P5GntyZVXW-y1LqU,3739
106
+ doctr/models/recognition/zoo.py,sha256=SeJr1IqZsFXzRGYrExgFb2aDyWp0fZWhR6Rr1RJTQHQ,2991
107
+ doctr/models/recognition/crnn/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
108
+ doctr/models/recognition/crnn/pytorch.py,sha256=jy5LVkG0NdLObFIaW2lWsdv6LWYYLIkZDZS-aTjFa6I,12234
109
+ doctr/models/recognition/master/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
110
+ doctr/models/recognition/master/base.py,sha256=KU94CO3YZYyYh83gW6F65IjeJfoAkwuandY3A_DxfM8,1471
111
+ doctr/models/recognition/master/pytorch.py,sha256=mL9o3O_L-iVw-Wq71tF-Y3a_G6qoGlUv2_3SvcWBu2I,12756
112
+ doctr/models/recognition/parseq/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
113
+ doctr/models/recognition/parseq/base.py,sha256=SMGEETj94ZIJUdSLe2d2PhLTpeptrW5MB7cW3WtVOhQ,1465
114
+ doctr/models/recognition/parseq/pytorch.py,sha256=hI_6qBDrKqe4358TKKz0YzXm06K9FKyGn2_6s8caHf8,20801
115
+ doctr/models/recognition/predictor/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
116
+ doctr/models/recognition/predictor/_utils.py,sha256=8q5ate9L7xeqOY-45foX1itPlHUBWw3RpLfCgYJ2ZJo,4695
117
+ doctr/models/recognition/predictor/pytorch.py,sha256=amUzwltBWhQNaCKB2hjqsQuRHtxfeknZO1uwSX3ASzY,2753
118
+ doctr/models/recognition/sar/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
119
+ doctr/models/recognition/sar/pytorch.py,sha256=_YMeCgu7p8-v0N75AiT6dR2O3ww7UFT8E82IWdF9lQM,15639
120
+ doctr/models/recognition/viptr/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
121
+ doctr/models/recognition/viptr/pytorch.py,sha256=IQQeuVyBbknN0BbEYy2Kak8WeBU4dDcpP0wUvjPO330,9355
122
+ doctr/models/recognition/vitstr/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
123
+ doctr/models/recognition/vitstr/base.py,sha256=tRMhC5i_l0S207_YFEs7wFAtkznyAJoH8sUZVMcZUBk,1419
124
+ doctr/models/recognition/vitstr/pytorch.py,sha256=UMXLvGHi065j3XQxbVwrqN2AL3YShfJ1pl-sKkRU0Cs,10080
125
+ doctr/models/utils/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
126
+ doctr/models/utils/pytorch.py,sha256=BHNEDG89XSW9TYNRwtGuf2RcpM2OfjnBb_92-OpYRr8,5804
127
+ doctr/transforms/__init__.py,sha256=0VHbvUZ7llFd1e_7_JdWTaxYMCvaR6KbUJaYJequmQI,23
128
+ doctr/transforms/functional/__init__.py,sha256=hxLu7FmRYn01ysoOQalrMa5K_qg4rLNf8OAuoemzd6I,23
129
+ doctr/transforms/functional/base.py,sha256=LRIM3L6nZQaZ3qyQKEFQ0ZLJRRg7rMYtshADK_ZCOi8,6851
130
+ doctr/transforms/functional/pytorch.py,sha256=mSToyPGn8O3WgK9rQJoGZcOHyIm06MQtWua1YA7p1kU,5102
131
+ doctr/transforms/modules/__init__.py,sha256=bJLj2I8OOTYLuTDjdinao0nkOIWQOLbzIuww23EX3gw,43
132
+ doctr/transforms/modules/base.py,sha256=fAJzcvq6rZv9oj8NRZ3Veo9z2-wFR40w3JjNmIdsP7w,7679
133
+ doctr/transforms/modules/pytorch.py,sha256=XTUbZPC3aahoB0cqwIPlLtsG8dbc7eReG7SAQsjYWJg,11802
134
+ doctr/utils/__init__.py,sha256=uQY9ibZ24V896fmihIsK23QOIZdKtk0HyKoCVJ_lLuM,95
135
+ doctr/utils/common_types.py,sha256=qK-gSvbAGJAhtqTUCO1DJ3Vr04KVFUW5I3Pn0T4Btp8,534
136
+ doctr/utils/data.py,sha256=eXLIuO5TJk6hjlVtodADQFKkt-dlEmLjEhIQcFVF2Zs,4174
137
+ doctr/utils/fonts.py,sha256=fxEZ8o67iyceZpiw87SskP6v8lcC5iHVcfWLPo_m6rQ,1265
138
+ doctr/utils/geometry.py,sha256=y4Xz-heV_sA7OfqoP40vHzJe4bKAgmzIBEA5FvV7Pgc,18678
139
+ doctr/utils/metrics.py,sha256=7u2Fz7KnY32PlV-Lo9M9iYKfHHMXEE6UdSTq-rgJAvU,20249
140
+ doctr/utils/multithreading.py,sha256=Z7cz0M-Zsqq5jRMrAW4Q5L7n2pNvC5qPKOfkXX4w05A,1972
141
+ doctr/utils/reconstitution.py,sha256=i6wqDQmCmu5WPRcIGFxGvGegy0mUv42lLK90DKUFtjc,7256
142
+ doctr/utils/repr.py,sha256=ShDOvCiPjdj1_v1AfLQ7AN_tunu07p0S_scFZYip7GY,2087
143
+ doctr/utils/visualization.py,sha256=sAB283iegS86gq0btK9H6PFLxP7SPXpuX9JWT_v53Iw,13118
144
+ python_doctr-1.0.1.dist-info/licenses/LICENSE,sha256=75RTSsXOsAYhGpxsHc9U41ep6GS7vrUPufeekgoeOXM,11336
145
+ python_doctr-1.0.1.dist-info/METADATA,sha256=gOwRkDU1ufra-cglBOjbW0OpxTwHBvVgFFM9YY_6iMM,32370
146
+ python_doctr-1.0.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
147
+ python_doctr-1.0.1.dist-info/top_level.txt,sha256=lCgp4pmjPI3HYph62XhfzA3jRwM715kGtJPmqIUJ9t8,6
148
+ python_doctr-1.0.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
149
+ python_doctr-1.0.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5