fasdfsa commited on
Commit
6ae2d94
·
1 Parent(s): fb28738

开启弯曲矫正,坐标对应矫正后的图像了

Browse files
Files changed (1) hide show
  1. main_v6.py +1 -1
main_v6.py CHANGED
@@ -45,7 +45,7 @@ if __name__ == '__main__':
45
  lang='chinese_cht', # 繁体字典
46
  return_word_box=True, # 返回每个字符的坐标
47
  use_doc_orientation_classify=True, # 整页方向(横/倒)
48
- use_doc_unwarping=True, # 弯曲矫正,扫描古籍有用
49
  use_textline_orientation=True, # 文本行方向分类,竖排靠它
50
  text_det_thresh=0.1, # 默认 0.3 对古籍太高,漏淡墨
51
  text_det_box_thresh=0.1, # 同上
 
45
  lang='chinese_cht', # 繁体字典
46
  return_word_box=True, # 返回每个字符的坐标
47
  use_doc_orientation_classify=True, # 整页方向(横/倒)
48
+ # use_doc_unwarping=True, # 弯曲矫正,扫描古籍有用
49
  use_textline_orientation=True, # 文本行方向分类,竖排靠它
50
  text_det_thresh=0.1, # 默认 0.3 对古籍太高,漏淡墨
51
  text_det_box_thresh=0.1, # 同上