|
|
@@ -90,9 +90,9 @@ if __name__ == "__main__":
|
|
|
# 测试流水表格对比
|
|
|
import time
|
|
|
result = compare_ocr_results(
|
|
|
- file1_path='/Users/zhch158/workspace/data/流水分析/B用户_扫描流水/dotsocr_vllm_results_cell_bbox/B用户_扫描流水_page_008.md',
|
|
|
- file2_path='/Users/zhch158/workspace/data/流水分析/B用户_扫描流水/mineru_vllm_results/B用户_扫描流水_page_008.md',
|
|
|
- output_file=f'/Users/zhch158/workspace/repository.git/ocr_verify/output/flow_list_comparison_{time.strftime("%Y%m%d_%H%M%S")}',
|
|
|
+ file1_path='/Users/zhch158/workspace/data/流水分析/B用户_扫描流水/bank_statement_yusys_v4/B用户_扫描流水_page_001.md',
|
|
|
+ file2_path='/Users/zhch158/workspace/data/流水分析/B用户_扫描流水/bank_statement_yusys_v3/B用户_扫描流水_page_001.md',
|
|
|
+ output_file=f'/Users/zhch158/workspace/data/流水分析/B用户_扫描流水/logs/flow_list_comparison_{time.strftime("%Y%m%d_%H%M%S")}',
|
|
|
output_format='both',
|
|
|
ignore_images=True,
|
|
|
table_mode='flow_list', # 使用流水表格模式
|