docling-ocr-onnxtr 0.1.1__py3-none-any.whl → 0.1.3__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.
@@ -195,7 +195,7 @@ class OnnxtrOcrModel(BaseOcrModel):
195
195
  )
196
196
 
197
197
  # Post-process the cells
198
- page.cells = self.post_process_cells(all_ocr_cells, page.cells)
198
+ self.post_process_cells(all_ocr_cells, page)
199
199
 
200
200
  # DEBUG code:
201
201
  if settings.debug.visualize_ocr:
@@ -1 +1 @@
1
- __version__ = 'v0.1.1'
1
+ __version__ = 'v0.1.3'
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: docling-ocr-onnxtr
3
- Version: 0.1.1
4
- Summary: Onnx Text Recognition (OnnxTR) plugin for docling
3
+ Version: 0.1.3
4
+ Summary: Onnx Text Recognition (OnnxTR) OCR plugin for docling
5
5
  Author-email: Felix Dittrich <felixdittrich92@gmail.com>
6
6
  Maintainer: Felix Dittrich
7
7
  License: Apache License
@@ -262,11 +262,11 @@ Dynamic: license-file
262
262
  </p>
263
263
 
264
264
  [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
265
- [![Test Status](https://github.com/felixdittrich92/docling-OCR-OnnxTR/actions/workflows/main.yml/badge.svg)](https://github.com/felixdittrich92/docling-OCR-OnnxTR/actions/workflows/main.yml)
265
+ [![Build Status](https://github.com/felixdittrich92/docling-OCR-OnnxTR/actions/workflows/builds.yml/badge.svg)](https://github.com/felixdittrich92/docling-OCR-OnnxTR/actions/workflows/builds.yml)
266
266
  [![codecov](https://codecov.io/gh/felixdittrich92/docling-OCR-OnnxTR/graph/badge.svg?token=L3AHXKV86A)](https://codecov.io/gh/felixdittrich92/docling-OCR-OnnxTR)
267
267
  [![Codacy Badge](https://app.codacy.com/project/badge/Grade/0d250447650240ee9ca573950fea8b99)](https://app.codacy.com/gh/felixdittrich92/docling-OCR-OnnxTR/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
268
268
  [![CodeFactor](https://www.codefactor.io/repository/github/felixdittrich92/docling-ocr-onnxtr/badge)](https://www.codefactor.io/repository/github/felixdittrich92/docling-ocr-onnxtr)
269
- [![Pypi](https://img.shields.io/badge/pypi-v0.1.1-blue.svg)](https://pypi.org/project//)
269
+ [![Pypi](https://img.shields.io/badge/pypi-v0.1.3-blue.svg)](https://pypi.org/project/docling-ocr-onnxtr/)
270
270
  ![PyPI - Downloads](https://img.shields.io/pypi/dm/docling-ocr-onnxtr)
271
271
 
272
272
  The `docling-OCR-OnnxTR` repository provides a plugin that integrates the [OnnxTR OCR engine](https://github.com/felixdittrich92/OnnxTR) into the [Docling framework](https://github.com/docling-project/docling), enhancing document processing capabilities with efficient and accurate text recognition.
@@ -283,21 +283,25 @@ The `docling-OCR-OnnxTR` repository provides a plugin that integrates the [OnnxT
283
283
 
284
284
  To install the plugin, use one of the following commands based on your hardware:
285
285
 
286
+ For GPU support please take a look at: [ONNX Runtime](https://onnxruntime.ai/getting-started).
287
+
288
+ - **Prerequisites:** CUDA & cuDNN needs to be installed before [Version table](https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html).
289
+
286
290
  ```bash
287
291
  # For CPU
288
- pip install docling-ocr-onnxtr[cpu]
292
+ pip install "docling-ocr-onnxtr[cpu]"
289
293
  # For Nvidia GPU
290
- pip install docling-ocr-onnxtr[gpu]
294
+ pip install "docling-ocr-onnxtr[gpu]"
291
295
  # For Intel GPU / Integrated Graphics
292
- pip install docling-ocr-onnxtr[openvino]
296
+ pip install "docling-ocr-onnxtr[openvino]"
293
297
 
294
298
  # Headless mode (no GUI)
295
299
  # For CPU
296
- pip install docling-ocr-onnxtr[cpu-headless]
300
+ pip install "docling-ocr-onnxtr[cpu-headless]"
297
301
  # For Nvidia GPU
298
- pip install docling-ocr-onnxtr[gpu-headless]
302
+ pip install "docling-ocr-onnxtr[gpu-headless]"
299
303
  # For Intel GPU / Integrated Graphics
300
- pip install docling-ocr-onnxtr[openvino-headless]
304
+ pip install "docling-ocr-onnxtr[openvino-headless]"
301
305
  ```
302
306
 
303
307
  By integrating OnnxTR with Docling, users can achieve more efficient and accurate OCR results, enhancing the overall document processing experience.
@@ -0,0 +1,13 @@
1
+ docling_ocr_onnxtr/__init__.py,sha256=w8M8ctJDcDcxxrRJ_GT-G7JP3H7E1O50AuoK4l2djf0,85
2
+ docling_ocr_onnxtr/onnxtr_model.py,sha256=TwqkdmnciylUcoZo2bZ7V_WEZs4aIYr6rvTX9cISeBA,8471
3
+ docling_ocr_onnxtr/options.py,sha256=gOzKHo86zwAVI_5-YxOr4NaRkNFwlv1RXeag7ZKWxtM,1266
4
+ docling_ocr_onnxtr/plugin.py,sha256=qtPPjpsiXyExvK7Vu8ssZhqxDV2gqFTHIIBBv1qz1lA,317
5
+ docling_ocr_onnxtr/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ docling_ocr_onnxtr/version.py,sha256=FM-qCgFYvksyN8UbtON9BhvA7yby2ImDMSOhdXo8wJU,23
7
+ docling_ocr_onnxtr-0.1.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
8
+ docling_ocr_onnxtr-0.1.3.dist-info/METADATA,sha256=U08tpeGZrYEX6L4IjplX_AzSnHLlBhkRoNSf4Pskst0,22094
9
+ docling_ocr_onnxtr-0.1.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
+ docling_ocr_onnxtr-0.1.3.dist-info/entry_points.txt,sha256=4bUh15gjHVjgG1_vEtZgZ0Kyo7ygkWeAugc_W-EtSfo,57
11
+ docling_ocr_onnxtr-0.1.3.dist-info/top_level.txt,sha256=vmOD5JYg8FKSI-iXyYH73_9AwJdxPOP1TsSY1nDp5iE,24
12
+ docling_ocr_onnxtr-0.1.3.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
13
+ docling_ocr_onnxtr-0.1.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,13 +0,0 @@
1
- docling_ocr_onnxtr/__init__.py,sha256=w8M8ctJDcDcxxrRJ_GT-G7JP3H7E1O50AuoK4l2djf0,85
2
- docling_ocr_onnxtr/onnxtr_model.py,sha256=FEEyFbRttBh4ckz5QgfT_n5zgtmfCNLr_bLhoobnl68,8490
3
- docling_ocr_onnxtr/options.py,sha256=gOzKHo86zwAVI_5-YxOr4NaRkNFwlv1RXeag7ZKWxtM,1266
4
- docling_ocr_onnxtr/plugin.py,sha256=qtPPjpsiXyExvK7Vu8ssZhqxDV2gqFTHIIBBv1qz1lA,317
5
- docling_ocr_onnxtr/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- docling_ocr_onnxtr/version.py,sha256=jQY6B0xUe16A1ACYL5noxMrvy3wwP2XMsFq2Su0alUA,23
7
- docling_ocr_onnxtr-0.1.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
8
- docling_ocr_onnxtr-0.1.1.dist-info/METADATA,sha256=Z-z37dOoeTMjgAFGAM05a_MGkWg-CCTSRGOwk8Jrxvo,21801
9
- docling_ocr_onnxtr-0.1.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
10
- docling_ocr_onnxtr-0.1.1.dist-info/entry_points.txt,sha256=4bUh15gjHVjgG1_vEtZgZ0Kyo7ygkWeAugc_W-EtSfo,57
11
- docling_ocr_onnxtr-0.1.1.dist-info/top_level.txt,sha256=vmOD5JYg8FKSI-iXyYH73_9AwJdxPOP1TsSY1nDp5iE,24
12
- docling_ocr_onnxtr-0.1.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
13
- docling_ocr_onnxtr-0.1.1.dist-info/RECORD,,