mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-30 14:04:27 +00:00
fix wrong type text extracted by tesseract_ocr_cli_model
Signed-off-by: gvl4 <Guilhem.VERMOREL@3ds.com>
This commit is contained in:
parent
0b707d0882
commit
396dc66077
@ -247,7 +247,7 @@ class TesseractOcrCliModel(BaseOcrModel):
|
||||
|
||||
cell = TextCell(
|
||||
index=ix,
|
||||
text=text,
|
||||
text=str(text),
|
||||
orig=text,
|
||||
from_ocr=True,
|
||||
confidence=conf / 100.0,
|
||||
|
Loading…
Reference in New Issue
Block a user