chineseocr / table-ocr

568 stars 154 forks source link

表格重建,输出excel #16

Open guanshuicheng opened 4 years ago

guanshuicheng commented 4 years ago

大佬你好,请问表格重建,输出json\excel的思路?

Ligenmt commented 4 years ago

同问

VictorYang097 commented 4 years ago

同问+1

liu-guo-jing commented 3 years ago

同问+1

bikerr commented 3 years ago

目前有一个思路 还未实现 不知道大家有什么其他好的想法

1.做辅助线,对于检测出来的所有直线延伸到表格的最外侧 2.生成excel坐标,遍历每一个候选单元格,判断四条边在原图当中是否都存在,如果不存在,就向缺失边缘方向继续搜索前进,如果存在就可以标注excel 坐标 如图: dd dd_seg dd_seg