2290e6cb by 周伟奇

fix bug

1 parent 59cbfab2
......@@ -59,7 +59,7 @@ TRANS_MAP = {
'B': "13",
}
TRANS = str.maketrans(TRANS_MAP)
ERROR_CHARS = {'.', '·', '•'}
ERROR_CHARS = {'.', ':', ':', '•', '}
SKIP_IMG_SHEET_NAME = '未处理图片'
SKIP_IMG_SHEET_HEADER = ('页码', '序号')
......
......@@ -319,7 +319,7 @@ class Command(BaseCommand, LoggerMixin):
else:
raise Exception('ocr 2 error, img_path={0}'.format(img_path))
else: # 流水处理
self.bs_process(wb, ocr_data, bs_summary, unknown_summary, img_path, classify)
self.bs_process(wb, ocr_data, bs_summary, unknown_summary, img_path, classify, skip_img)
else:
skip_img.append(self.parse_img_path(img_path))
else:
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!