We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02f3463 commit 38107caCopy full SHA for 38107ca
docling/models/tesseract_ocr_cli_model.py
@@ -27,6 +27,7 @@
27
parse_tesseract_orientation,
28
tesseract_box_to_bounding_rectangle,
29
)
30
+from docling.utils.orientation import Box
31
from docling.utils.profiling import TimeRecorder
32
33
_log = logging.getLogger(__name__)
docling/utils/ocr_utils.py
@@ -1,9 +1,12 @@
1
-from typing import Optional, Tuple
+from typing import Optional
2
3
from docling_core.types.doc import BoundingBox, CoordOrigin
4
from docling_core.types.doc.page import BoundingRectangle
5
6
-from docling.utils.orientation import CLIPPED_ORIENTATIONS, rotate_bounding_box
+from docling.utils.orientation import (
7
+ CLIPPED_ORIENTATIONS,
8
+ rotate_bounding_box,
9
+)
10
11
12
def map_tesseract_script(script: str) -> str:
0 commit comments