Przeglądaj źródła

feat: 添加倾斜校正阈值参数到表格单元格匹配器

zhch158_admin 3 dni temu
rodzic
commit
6f3b10f065
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      merger/table_cell_matcher.py

+ 1 - 0
merger/table_cell_matcher.py

@@ -30,6 +30,7 @@ class TableCellMatcher:
             text_matcher: 文本匹配器
             x_tolerance: X轴容差(用于列边界判断)
             y_tolerance: Y轴容差(用于行分组)
+            inclination_threshold: 倾斜校正阈值(度数)
         """
         self.text_matcher = text_matcher
         self.x_tolerance = x_tolerance