Skip to content

πŸ“„ Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.

chore(rapidocr_openvino): fixed get_pypi_latest_version error

SWHL9f8ece4471b7
diff --git a/python/setup_openvino.py b/python/setup_openvino.py
index e5c973b..74539c2 100644
--- a/python/setup_openvino.py
+++ b/python/setup_openvino.py
@@ -28,7 +28,7 @@ MODULE_NAME = "rapidocr_openvino"
obtainer = GetPyPiLatestVersion()
latest_version = obtainer(MODULE_NAME)
-VERSION_NUM = obtainer.version_add_one(latest_version)
+VERSION_NUM = obtainer.version_add_one(latest_version, add_patch=True)
if len(sys.argv) > 2:
match_str = " ".join(sys.argv[2:])