fix wrong type text extracted by tesseract_ocr_cli_model

Signed-off-by: gvl4 <Guilhem.VERMOREL@3ds.com>
This commit is contained in:
gvl4 2025-03-19 11:32:31 +01:00
parent 0b707d0882
commit 396dc66077

View File

@ -247,7 +247,7 @@ class TesseractOcrCliModel(BaseOcrModel):
cell = TextCell( cell = TextCell(
index=ix, index=ix,
text=text, text=str(text),
orig=text, orig=text,
from_ocr=True, from_ocr=True,
confidence=conf / 100.0, confidence=conf / 100.0,