onnxtr 0.1.0__tar.gz → 0.1.1__tar.gz

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 (77) hide show
  1. {onnxtr-0.1.0 → onnxtr-0.1.1}/PKG-INFO +9 -7
  2. {onnxtr-0.1.0 → onnxtr-0.1.1}/README.md +5 -5
  3. onnxtr-0.1.1/onnxtr/version.py +1 -0
  4. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr.egg-info/PKG-INFO +9 -7
  5. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr.egg-info/requires.txt +4 -1
  6. {onnxtr-0.1.0 → onnxtr-0.1.1}/pyproject.toml +5 -1
  7. {onnxtr-0.1.0 → onnxtr-0.1.1}/setup.py +1 -1
  8. onnxtr-0.1.0/onnxtr/version.py +0 -1
  9. {onnxtr-0.1.0 → onnxtr-0.1.1}/LICENSE +0 -0
  10. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/__init__.py +0 -0
  11. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/contrib/__init__.py +0 -0
  12. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/contrib/artefacts.py +0 -0
  13. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/contrib/base.py +0 -0
  14. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/file_utils.py +0 -0
  15. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/io/__init__.py +0 -0
  16. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/io/elements.py +0 -0
  17. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/io/html.py +0 -0
  18. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/io/image.py +0 -0
  19. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/io/pdf.py +0 -0
  20. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/io/reader.py +0 -0
  21. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/__init__.py +0 -0
  22. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/_utils.py +0 -0
  23. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/builder.py +0 -0
  24. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/classification/__init__.py +0 -0
  25. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/classification/models/__init__.py +0 -0
  26. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/classification/models/mobilenet.py +0 -0
  27. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/classification/predictor/__init__.py +0 -0
  28. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/classification/predictor/base.py +0 -0
  29. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/classification/zoo.py +0 -0
  30. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/detection/__init__.py +0 -0
  31. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/detection/core.py +0 -0
  32. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/detection/models/__init__.py +0 -0
  33. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/detection/models/differentiable_binarization.py +0 -0
  34. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/detection/models/fast.py +0 -0
  35. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/detection/models/linknet.py +0 -0
  36. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/detection/postprocessor/__init__.py +0 -0
  37. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/detection/postprocessor/base.py +0 -0
  38. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/detection/predictor/__init__.py +0 -0
  39. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/detection/predictor/base.py +0 -0
  40. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/detection/zoo.py +0 -0
  41. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/engine.py +0 -0
  42. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/predictor/__init__.py +0 -0
  43. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/predictor/base.py +0 -0
  44. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/predictor/predictor.py +0 -0
  45. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/preprocessor/__init__.py +0 -0
  46. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/preprocessor/base.py +0 -0
  47. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/recognition/__init__.py +0 -0
  48. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/recognition/core.py +0 -0
  49. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/recognition/models/__init__.py +0 -0
  50. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/recognition/models/crnn.py +0 -0
  51. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/recognition/models/master.py +0 -0
  52. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/recognition/models/parseq.py +0 -0
  53. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/recognition/models/sar.py +0 -0
  54. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/recognition/models/vitstr.py +0 -0
  55. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/recognition/predictor/__init__.py +0 -0
  56. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/recognition/predictor/_utils.py +0 -0
  57. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/recognition/predictor/base.py +0 -0
  58. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/recognition/utils.py +0 -0
  59. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/recognition/zoo.py +0 -0
  60. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/models/zoo.py +0 -0
  61. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/transforms/__init__.py +0 -0
  62. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/transforms/base.py +0 -0
  63. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/utils/__init__.py +0 -0
  64. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/utils/common_types.py +0 -0
  65. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/utils/data.py +0 -0
  66. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/utils/fonts.py +0 -0
  67. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/utils/geometry.py +0 -0
  68. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/utils/multithreading.py +0 -0
  69. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/utils/reconstitution.py +0 -0
  70. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/utils/repr.py +0 -0
  71. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/utils/visualization.py +0 -0
  72. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr/utils/vocabs.py +0 -0
  73. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr.egg-info/SOURCES.txt +0 -0
  74. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr.egg-info/dependency_links.txt +0 -0
  75. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr.egg-info/top_level.txt +0 -0
  76. {onnxtr-0.1.0 → onnxtr-0.1.1}/onnxtr.egg-info/zip-safe +0 -0
  77. {onnxtr-0.1.0 → onnxtr-0.1.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: onnxtr
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Onnx Text Recognition (OnnxTR): docTR Onnx-Wrapper for high-performance OCR on documents.
5
5
  Author-email: Felix Dittrich <felixdittrich92@gmail.com>
6
6
  Maintainer: Felix Dittrich
@@ -228,7 +228,6 @@ License-File: LICENSE
228
228
  Requires-Dist: numpy<2.0.0,>=1.16.0
229
229
  Requires-Dist: scipy<2.0.0,>=1.4.0
230
230
  Requires-Dist: onnx<2.0.0,>=1.12.0
231
- Requires-Dist: onnxruntime>=1.11.0
232
231
  Requires-Dist: opencv-python<5.0.0,>=4.5.0
233
232
  Requires-Dist: pypdfium2<5.0.0,>=4.0.0
234
233
  Requires-Dist: pyclipper<2.0.0,>=1.2.0
@@ -239,6 +238,8 @@ Requires-Dist: Pillow>=9.2.0
239
238
  Requires-Dist: defusedxml>=0.7.0
240
239
  Requires-Dist: anyascii>=0.3.2
241
240
  Requires-Dist: tqdm>=4.30.0
241
+ Provides-Extra: cpu
242
+ Requires-Dist: onnxruntime>=1.11.0; extra == "cpu"
242
243
  Provides-Extra: gpu
243
244
  Requires-Dist: onnxruntime-gpu>=1.11.0; extra == "gpu"
244
245
  Provides-Extra: html
@@ -255,6 +256,7 @@ Requires-Dist: ruff>=0.1.5; extra == "quality"
255
256
  Requires-Dist: mypy>=0.812; extra == "quality"
256
257
  Requires-Dist: pre-commit>=2.17.0; extra == "quality"
257
258
  Provides-Extra: dev
259
+ Requires-Dist: onnxruntime>=1.11.0; extra == "dev"
258
260
  Requires-Dist: weasyprint>=55.0; extra == "dev"
259
261
  Requires-Dist: matplotlib>=3.1.0; extra == "dev"
260
262
  Requires-Dist: mplcursors>=0.3; extra == "dev"
@@ -301,15 +303,15 @@ You can then install the latest release of the package using [pypi](https://pypi
301
303
  **NOTE:** For GPU support please take a look at: [ONNX Runtime](https://onnxruntime.ai/getting-started). Currently supported execution providers by default are: CPU, CUDA
302
304
 
303
305
  ```shell
304
- pip install OnnxTR
306
+ pip install onnxtr[cpu]
305
307
  # with gpu support
306
- pip install "OnnxTR[gpu]"
308
+ pip install "onnxtr[gpu]"
307
309
  # with HTML support
308
- pip install "OnnxTR[html]"
310
+ pip install "onnxtr[html]"
309
311
  # with support for visualization
310
- pip install "OnnxTR[viz]"
312
+ pip install "onnxtr[viz]"
311
313
  # with support for all dependencies
312
- pip install "OnnxTR[html, gpu, viz]"
314
+ pip install "onnxtr[html, gpu, viz]"
313
315
  ```
314
316
 
315
317
  ### Reading files
@@ -34,15 +34,15 @@ You can then install the latest release of the package using [pypi](https://pypi
34
34
  **NOTE:** For GPU support please take a look at: [ONNX Runtime](https://onnxruntime.ai/getting-started). Currently supported execution providers by default are: CPU, CUDA
35
35
 
36
36
  ```shell
37
- pip install OnnxTR
37
+ pip install onnxtr[cpu]
38
38
  # with gpu support
39
- pip install "OnnxTR[gpu]"
39
+ pip install "onnxtr[gpu]"
40
40
  # with HTML support
41
- pip install "OnnxTR[html]"
41
+ pip install "onnxtr[html]"
42
42
  # with support for visualization
43
- pip install "OnnxTR[viz]"
43
+ pip install "onnxtr[viz]"
44
44
  # with support for all dependencies
45
- pip install "OnnxTR[html, gpu, viz]"
45
+ pip install "onnxtr[html, gpu, viz]"
46
46
  ```
47
47
 
48
48
  ### Reading files
@@ -0,0 +1 @@
1
+ __version__ = 'v0.1.1'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: onnxtr
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Onnx Text Recognition (OnnxTR): docTR Onnx-Wrapper for high-performance OCR on documents.
5
5
  Author-email: Felix Dittrich <felixdittrich92@gmail.com>
6
6
  Maintainer: Felix Dittrich
@@ -228,7 +228,6 @@ License-File: LICENSE
228
228
  Requires-Dist: numpy<2.0.0,>=1.16.0
229
229
  Requires-Dist: scipy<2.0.0,>=1.4.0
230
230
  Requires-Dist: onnx<2.0.0,>=1.12.0
231
- Requires-Dist: onnxruntime>=1.11.0
232
231
  Requires-Dist: opencv-python<5.0.0,>=4.5.0
233
232
  Requires-Dist: pypdfium2<5.0.0,>=4.0.0
234
233
  Requires-Dist: pyclipper<2.0.0,>=1.2.0
@@ -239,6 +238,8 @@ Requires-Dist: Pillow>=9.2.0
239
238
  Requires-Dist: defusedxml>=0.7.0
240
239
  Requires-Dist: anyascii>=0.3.2
241
240
  Requires-Dist: tqdm>=4.30.0
241
+ Provides-Extra: cpu
242
+ Requires-Dist: onnxruntime>=1.11.0; extra == "cpu"
242
243
  Provides-Extra: gpu
243
244
  Requires-Dist: onnxruntime-gpu>=1.11.0; extra == "gpu"
244
245
  Provides-Extra: html
@@ -255,6 +256,7 @@ Requires-Dist: ruff>=0.1.5; extra == "quality"
255
256
  Requires-Dist: mypy>=0.812; extra == "quality"
256
257
  Requires-Dist: pre-commit>=2.17.0; extra == "quality"
257
258
  Provides-Extra: dev
259
+ Requires-Dist: onnxruntime>=1.11.0; extra == "dev"
258
260
  Requires-Dist: weasyprint>=55.0; extra == "dev"
259
261
  Requires-Dist: matplotlib>=3.1.0; extra == "dev"
260
262
  Requires-Dist: mplcursors>=0.3; extra == "dev"
@@ -301,15 +303,15 @@ You can then install the latest release of the package using [pypi](https://pypi
301
303
  **NOTE:** For GPU support please take a look at: [ONNX Runtime](https://onnxruntime.ai/getting-started). Currently supported execution providers by default are: CPU, CUDA
302
304
 
303
305
  ```shell
304
- pip install OnnxTR
306
+ pip install onnxtr[cpu]
305
307
  # with gpu support
306
- pip install "OnnxTR[gpu]"
308
+ pip install "onnxtr[gpu]"
307
309
  # with HTML support
308
- pip install "OnnxTR[html]"
310
+ pip install "onnxtr[html]"
309
311
  # with support for visualization
310
- pip install "OnnxTR[viz]"
312
+ pip install "onnxtr[viz]"
311
313
  # with support for all dependencies
312
- pip install "OnnxTR[html, gpu, viz]"
314
+ pip install "onnxtr[html, gpu, viz]"
313
315
  ```
314
316
 
315
317
  ### Reading files
@@ -1,7 +1,6 @@
1
1
  numpy<2.0.0,>=1.16.0
2
2
  scipy<2.0.0,>=1.4.0
3
3
  onnx<2.0.0,>=1.12.0
4
- onnxruntime>=1.11.0
5
4
  opencv-python<5.0.0,>=4.5.0
6
5
  pypdfium2<5.0.0,>=4.0.0
7
6
  pyclipper<2.0.0,>=1.2.0
@@ -13,7 +12,11 @@ defusedxml>=0.7.0
13
12
  anyascii>=0.3.2
14
13
  tqdm>=4.30.0
15
14
 
15
+ [cpu]
16
+ onnxruntime>=1.11.0
17
+
16
18
  [dev]
19
+ onnxruntime>=1.11.0
17
20
  weasyprint>=55.0
18
21
  matplotlib>=3.1.0
19
22
  mplcursors>=0.3
@@ -34,7 +34,6 @@ dependencies = [
34
34
  "numpy>=1.16.0,<2.0.0",
35
35
  "scipy>=1.4.0,<2.0.0",
36
36
  "onnx>=1.12.0,<2.0.0",
37
- "onnxruntime>=1.11.0",
38
37
  "opencv-python>=4.5.0,<5.0.0",
39
38
  "pypdfium2>=4.0.0,<5.0.0",
40
39
  "pyclipper>=1.2.0,<2.0.0",
@@ -48,6 +47,9 @@ dependencies = [
48
47
  ]
49
48
 
50
49
  [project.optional-dependencies]
50
+ cpu = [
51
+ "onnxruntime>=1.11.0",
52
+ ]
51
53
  gpu = [
52
54
  "onnxruntime-gpu>=1.11.0",
53
55
  ]
@@ -69,6 +71,8 @@ quality = [
69
71
  "pre-commit>=2.17.0",
70
72
  ]
71
73
  dev = [
74
+ # Runtime
75
+ "onnxruntime>=1.11.0",
72
76
  # HTML
73
77
  "weasyprint>=55.0",
74
78
  # Visualization
@@ -9,7 +9,7 @@ from pathlib import Path
9
9
  from setuptools import setup
10
10
 
11
11
  PKG_NAME = "onnxtr"
12
- VERSION = os.getenv("BUILD_VERSION", "0.1.0a0")
12
+ VERSION = os.getenv("BUILD_VERSION", "0.1.1a0")
13
13
 
14
14
 
15
15
  if __name__ == "__main__":
@@ -1 +0,0 @@
1
- __version__ = 'v0.1.0'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes