|
@@ -3,7 +3,7 @@ Author: zeke-chin zeke-chin@icloud.com
|
|
Date: 2022-09-28 20:28:41
|
|
Date: 2022-09-28 20:28:41
|
|
LastEditors: zeke-chin zeke-chin@icloud.com
|
|
LastEditors: zeke-chin zeke-chin@icloud.com
|
|
LastEditTime: 2022-09-30 15:08:48
|
|
LastEditTime: 2022-09-30 15:08:48
|
|
-FilePath: /utils/HR_OCR/utils/use.py
|
|
|
|
|
|
+FilePath: /to_md/HR_OCR/to_md/use.py
|
|
Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
'''
|
|
'''
|
|
|
|
|
|
@@ -26,7 +26,7 @@ md_name = 'CET'
|
|
filed = 'cet'
|
|
filed = 'cet'
|
|
|
|
|
|
# 若md_path为None 则默认使用图片父路径为markdown保存路径
|
|
# 若md_path为None 则默认使用图片父路径为markdown保存路径
|
|
-# md_path = '/Users/zeke/work/sx/OCR/HROCR/utils/example' or image_path.parent
|
|
|
|
|
|
+# md_path = '/Users/zeke/work/sx/OCR/HROCR/to_md/example' or image_path.parent
|
|
md_path = None or image_path.parent
|
|
md_path = None or image_path.parent
|
|
|
|
|
|
md_file = parser_path(Path(md_path) / Path(md_name + image_path.stem), image_rotate)
|
|
md_file = parser_path(Path(md_path) / Path(md_name + image_path.stem), image_rotate)
|