|
|
@@ -83,7 +83,7 @@ def doclayout_yolo_model_init(weight):
|
|
|
return model
|
|
|
|
|
|
|
|
|
-def ocr_model_init(show_log: bool = False, det_db_box_thresh=0.3, lang=None, use_dilation=True, det_db_unclip_ratio=2.4):
|
|
|
+def ocr_model_init(show_log: bool = False, det_db_box_thresh=0.3, lang=None, use_dilation=True, det_db_unclip_ratio=1.8):
|
|
|
if lang is not None:
|
|
|
model = ModifiedPaddleOCR(show_log=show_log, det_db_box_thresh=det_db_box_thresh, lang=lang, use_dilation=use_dilation, det_db_unclip_ratio=det_db_unclip_ratio)
|
|
|
else:
|