Browse Source

add 路径注释

zeke-chin 2 years ago
parent
commit
533d774056
1 changed files with 2 additions and 0 deletions
  1. 2 0
      use.py

+ 2 - 0
use.py

@@ -13,7 +13,9 @@ ocr_address = 'local'  # 'local' 'test' 'sb'
 ocr_name = 'cet'  # 'cet' 'idcard' 'bankcard' 'regbook' 'schoolcert'
 md_name = 'CET-tem'
 # 若md_path为None 则默认使用图片父路径为markdown保存路径
+# md_path = '/Users/zeke/work/sx/OCR/HROCR/to_md/example' or image_path.parent
 md_path = None or image_path.parent
+
 md_file = parser_path(Path(md_path) / Path(md_name), image_rotate)