fix(tesseract): initialize df_osd to avoid uninitialized variable error (#1718)

* fix: initialize df_osd to avoid uninitialized variable error

Signed-off-by: IoannisMaras <maras2002@gmail.com>

* Fix formatting

Signed-off-by: Christoph Auer <60343111+cau-git@users.noreply.github.com>

* Satisfy mypy, regenerate OCR tests

Signed-off-by: Christoph Auer <cau@zurich.ibm.com>

---------

Signed-off-by: IoannisMaras <maras2002@gmail.com>
Signed-off-by: Christoph Auer <60343111+cau-git@users.noreply.github.com>
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
Co-authored-by: Christoph Auer <60343111+cau-git@users.noreply.github.com>
Co-authored-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
Maras Ioannis
2025-06-10 11:57:45 +03:00
committed by GitHub
parent f7f31137f1
commit e979750ce9
20 changed files with 752 additions and 751 deletions

View File

@@ -42,10 +42,10 @@
{
"page_no": 1,
"bbox": {
"l": 70.90211866351085,
"l": 69.6796630536824,
"t": 764.9216921155637,
"r": 504.8720079864275,
"b": 689.216658542347,
"r": 504.8720051760782,
"b": 689.0124221922704,
"coord_origin": "BOTTOMLEFT"
},
"charspan": [