|
@@ -1,3 +1,11 @@
|
|
|
+'''
|
|
|
+Author: zeke-chin zeke-chin@icloud.com
|
|
|
+Date: 2022-09-28 20:28:41
|
|
|
+LastEditors: zeke-chin zeke-chin@icloud.com
|
|
|
+LastEditTime: 2022-09-30 15:08:48
|
|
|
+FilePath: /to_md/HR_OCR/to_md/use.py
|
|
|
+Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
|
+'''
|
|
|
|
|
|
from pathlib import Path
|
|
|
|
|
@@ -5,7 +13,7 @@ from new import MD, Image, Dataset, parser_path
|
|
|
|
|
|
# config
|
|
|
# 图片路径
|
|
|
-image_path = Path('/Users/sxkj/Desktop/户口本9.8/img')
|
|
|
+image_path = Path('/Users/zeke/work/sx/OCR/image_data/户口本9.30/0/img/')
|
|
|
image_type = 0
|
|
|
# 是否旋转
|
|
|
image_rotate = False
|