From ec4cc6d4ccba433cf10678b3d767e588a2d00e91 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 16 十二月 2024 16:57:33 +0800 Subject: [PATCH] 去除掘金依赖 --- utils/ths_ocr_util.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/utils/ths_ocr_util.py b/utils/ths_ocr_util.py index ace41d4..b382f98 100644 --- a/utils/ths_ocr_util.py +++ b/utils/ths_ocr_util.py @@ -59,8 +59,7 @@ time_use_list.append(("鍐嶆璇嗗埆", time.time() - start_time)) start_time = time.time() if code != last_ocr_code[0]: - print("淇濆瓨鍥剧墖", code) - msg = " ".join( [f"{x[0]}:{int(x[1]*1000)}ms" for x in time_use_list]) + msg = " ".join([f"{x[0]}:{int(x[1]*1000)}ms" for x in time_use_list]) debug_logger.info(f"浠g爜璇嗗埆缁撴灉:{code} {msg}") last_ocr_code[0] = code if always_save: -- Gitblit v1.8.0