docling 1.1.0__tar.gz → 1.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.
- {docling-1.1.0 → docling-1.1.1}/PKG-INFO +1 -1
- {docling-1.1.0 → docling-1.1.1}/docling/models/table_structure_model.py +5 -2
- {docling-1.1.0 → docling-1.1.1}/pyproject.toml +1 -1
- {docling-1.1.0 → docling-1.1.1}/LICENSE +0 -0
- {docling-1.1.0 → docling-1.1.1}/README.md +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/__init__.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/backend/__init__.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/backend/abstract_backend.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/backend/pypdfium2_backend.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/datamodel/__init__.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/datamodel/base_models.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/datamodel/document.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/datamodel/settings.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/document_converter.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/models/__init__.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/models/ds_glm_model.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/models/easyocr_model.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/models/layout_model.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/models/page_assemble_model.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/pipeline/__init__.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/pipeline/base_model_pipeline.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/pipeline/standard_model_pipeline.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/utils/__init__.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/utils/layout_utils.py +0 -0
- {docling-1.1.0 → docling-1.1.1}/docling/utils/utils.py +0 -0
@@ -114,12 +114,15 @@ class TableStructureModel:
|
|
114
114
|
for element in table_out["tf_responses"]:
|
115
115
|
|
116
116
|
if not self.do_cell_matching:
|
117
|
-
the_bbox = BoundingBox.model_validate(
|
117
|
+
the_bbox = BoundingBox.model_validate(
|
118
|
+
element["bbox"]
|
119
|
+
).scaled(1 / self.scale)
|
118
120
|
text_piece = page._backend.get_text_in_rect(the_bbox)
|
119
121
|
element["bbox"]["token"] = text_piece
|
120
122
|
|
121
123
|
tc = TableCell.model_validate(element)
|
122
|
-
|
124
|
+
if self.do_cell_matching:
|
125
|
+
tc.bbox = tc.bbox.scaled(1 / self.scale)
|
123
126
|
table_cells.append(tc)
|
124
127
|
|
125
128
|
# Retrieving cols/rows, after post processing:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "docling"
|
3
|
-
version = "1.1.
|
3
|
+
version = "1.1.1" # DO NOT EDIT, updated automatically
|
4
4
|
description = "Docling PDF conversion package"
|
5
5
|
authors = ["Christoph Auer <cau@zurich.ibm.com>", "Michele Dolfi <dol@zurich.ibm.com>", "Maxim Lysak <mly@zurich.ibm.com>", "Nikos Livathinos <nli@zurich.ibm.com>", "Ahmed Nassar <ahn@zurich.ibm.com>", "Peter Staar <taa@zurich.ibm.com>"]
|
6
6
|
license = "MIT"
|
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
|