diff --git a/src/Guide_stick_system/image_recognition/manage/itt/wenzhi.py b/src/Guide_stick_system/image_recognition/manage/itt/wenzhi.py index fc7078f..f2e09e5 100644 --- a/src/Guide_stick_system/image_recognition/manage/itt/wenzhi.py +++ b/src/Guide_stick_system/image_recognition/manage/itt/wenzhi.py @@ -64,8 +64,7 @@ def main(): # 获取当前时间,并格式化为文件名 current_time = datetime.datetime.now().strftime("%Y%m%d%H%M%S") image_filename = f"{current_time}.jpg" - #image_path = os.path.join('img', image_filename) - image_path = 'img/22.jpg' + image_path = os.path.join('img', image_filename) output_file_path = os.path.join(output_dir_path, f"{current_time}.txt") # 检查图片是否存在