|
@@ -20,7 +20,7 @@ img_dir = Path('imgs')
|
|
|
img_dir.mkdir(exist_ok=True)
|
|
|
ocr_cache_dict = dict()
|
|
|
|
|
|
-ocr = PaddleOCR(use_gpu=False, use_angle_cls=True, lang="ch", rec=True)
|
|
|
+ocr = PaddleOCR(use_gpu=True, use_angle_cls=True, lang="ch", rec=True)
|
|
|
|
|
|
def debugg_log(content: str):
|
|
|
with open("log.txt","a") as file:
|