Skip to content

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

fix: added missing package import

SWHL5ef452516d0d
diff --git a/python/rapidocr/inference_engine/pytorch/main.py b/python/rapidocr/inference_engine/pytorch/main.py
index 561a34e..76e57af 100644
--- a/python/rapidocr/inference_engine/pytorch/main.py
+++ b/python/rapidocr/inference_engine/pytorch/main.py
@@ -1,6 +1,7 @@
# -*- encoding: utf-8 -*-
# @Author: SWHL
# @Contact: [email protected]
+from pathlib import Path
from typing import List
import numpy as np