fix: remove deprecated paddleocr params
Browse files
app.py
CHANGED
|
@@ -24,11 +24,10 @@ def _load_ocr():
|
|
| 24 |
lang=OCR_LANGS[0],
|
| 25 |
use_textline_orientation=True,
|
| 26 |
show_log=False,
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
det_algorithm="DB",
|
| 32 |
)
|
| 33 |
|
| 34 |
|
|
|
|
| 24 |
lang=OCR_LANGS[0],
|
| 25 |
use_textline_orientation=True,
|
| 26 |
show_log=False,
|
| 27 |
+
text_det_limit_side_len=2048,
|
| 28 |
+
text_det_box_thresh=0.5,
|
| 29 |
+
det_model_dir=None,
|
| 30 |
+
rec_model_dir=None,
|
|
|
|
| 31 |
)
|
| 32 |
|
| 33 |
|