refactor(core): 更换 OCR 模型为 v4

This commit is contained in:
XcantloadX 2025-02-09 14:55:52 +08:00
parent 5d2c52b8b8
commit 32019cf00e
2 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ from .core import HintBox
logger = logging.getLogger(__name__)
_engine_jp = RapidOCR(
rec_model_path=res_path('res/models/japan_PP-OCRv3_rec_infer.onnx'),
rec_model_path=res_path('res/models/japan_PP-OCRv4_rec_infer.onnx'),
use_det=True,
use_cls=False,
use_rec=True,

Binary file not shown.