chore: use new server model

This commit is contained in:
Georg Heiler
2025-08-20 22:46:18 +03:00
parent e23fb1a493
commit 0cb9444fb8

View File

@@ -21,7 +21,7 @@ def main():
# Setup RapidOcrOptions for english detection
det_model_path = os.path.join(
download_path, "onnx", "PP-OCRv4", "det", "en_PP-OCRv3_det_infer.onnx"
download_path, "onnx", "PP-OCRv5", "det", "ch_PP-OCRv5_server_det.onnx"
)
rec_model_path = os.path.join(
download_path, "onnx", "PP-OCRv5", "rec", "ch_PP-OCRv5_rec_server_infer.onnx"