|
|
@@ -1523,11 +1523,11 @@ if __name__ == "__main__":
|
|
|
else:
|
|
|
# 测试流水表格对比
|
|
|
result = compare_ocr_results(
|
|
|
- file1_path='/Users/zhch158/workspace/data/流水分析/A用户_单元格扫描流水/merged_results/A用户_单元格扫描流水_page_005.md',
|
|
|
- file2_path='/Users/zhch158/workspace/data/流水分析/A用户_单元格扫描流水/data_DotsOCR_Results/A用户_单元格扫描流水_page_005.md',
|
|
|
- output_file=f'./output/flow_list_comparison_{time.strftime("%Y%m%d_%H%M%S")}',
|
|
|
+ file1_path='/Users/zhch158/workspace/data/流水分析/对公_招商银行图/PaddleOCR_VL_Results/对公_招商银行图_page_006.md',
|
|
|
+ file2_path='/Users/zhch158/workspace/data/流水分析/对公_招商银行图/mineru-vlm-2.5.3_Results_cell_bbox/对公_招商银行图_page_006.md',
|
|
|
+ output_file=f'/Users/zhch158/workspace/repository.git/ocr_verify/output/flow_list_comparison_{time.strftime("%Y%m%d_%H%M%S")}.1',
|
|
|
output_format='both',
|
|
|
ignore_images=True,
|
|
|
table_mode='flow_list', # 使用流水表格模式
|
|
|
similarity_algorithm='ratio'
|
|
|
- )
|
|
|
+ )
|