mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-26 20:14:47 +00:00
Fix formatting
Signed-off-by: Christoph Auer <60343111+cau-git@users.noreply.github.com>
This commit is contained in:
parent
45b9ded576
commit
9eb05b54a8
@ -231,7 +231,7 @@ class TesseractOcrCliModel(BaseOcrModel):
|
|||||||
fname = image_file.name
|
fname = image_file.name
|
||||||
high_res_image.save(image_file)
|
high_res_image.save(image_file)
|
||||||
doc_orientation = 0
|
doc_orientation = 0
|
||||||
df_osd=None
|
df_osd = None
|
||||||
try:
|
try:
|
||||||
df_osd = self._perform_osd(fname)
|
df_osd = self._perform_osd(fname)
|
||||||
doc_orientation = _parse_orientation(df_osd)
|
doc_orientation = _parse_orientation(df_osd)
|
||||||
|
Loading…
Reference in New Issue
Block a user