Ver Fonte

feat(docs): expand workflow documentation for table annotation tool

- Added a detailed flowchart illustrating the step-by-step process for using the table annotation tool, including data source selection, table region detection, line annotation, and template management.
- Enhanced the documentation with a concise operational flow and visual representation to improve user understanding and navigation through the annotation process.
zhch158_admin há 20 horas atrás
pai
commit
a4d362873a
1 ficheiros alterados com 52 adições e 0 exclusões
  1. 52 0
      table_line_generator/标注流程.md

+ 52 - 0
table_line_generator/标注流程.md

@@ -1,5 +1,57 @@
 # 表格标注工具流程
 
+## 简要操作流程
+
+```mermaid
+flowchart TD
+    Start([开始]) --> Step1[1. 选定数据源]
+    
+    Step1 --> Step1a[预定义数据源<br/>config/data_sources/*.yaml]
+    Step1 --> Step1b[临时选择数据源<br/>图片目录 + JSON目录 + 输出目录]
+    
+    Step1a --> Step2[2. 框定表格区域]
+    Step1b --> Step2
+    
+    Step2 --> Step2a[OCR检测表格区域]
+    Step2 --> Step2b[人工框定表格区域]
+    
+    Step2a --> Step3[3. 标注表格线]
+    Step2b --> Step3
+    
+    Step3 --> Step3a[手动标注<br/>移动/增加/删除横竖线]
+    Step3 --> Step3b[选择模板自动标注<br/>竖线: 相对坐标<br/>横线: OCR自适应]
+    
+    Step3a --> Step4[4. 保存标注结果]
+    Step3b --> Step4
+    
+    Step4 --> Step5{5. 是否保存为模板?}
+    
+    Step5 -->|是| Step5a[保存为标注模板<br/>针对此类交易流水]
+    Step5 -->|否| Next{继续标注?}
+    
+    Step5a --> Next
+    Next -->|是| Step2
+    Next -->|否| End([完成])
+    
+    style Start fill:#e1f5ff
+    style End fill:#c8e6c9
+    style Step1 fill:#fff4e1
+    style Step2 fill:#fff4e1
+    style Step3 fill:#fff4e1
+    style Step4 fill:#fff4e1
+    style Step5 fill:#fff3e0
+    style Next fill:#fff3e0
+    style Step1a fill:#e1f5ff
+    style Step1b fill:#e1f5ff
+    style Step2a fill:#e1f5ff
+    style Step2b fill:#e1f5ff
+    style Step3a fill:#e1f5ff
+    style Step3b fill:#e1f5ff
+    style Step5a fill:#fff4e1
+```
+
+## 详细流程图
+
 ```mermaid
 flowchart TD
     Start([开始标注]) --> SelectDataSource{选择数据源}