|
@@ -285,8 +285,8 @@ if __name__ == "__main__":
|
|
|
if len(sys.argv) == 1:
|
|
if len(sys.argv) == 1:
|
|
|
# 默认配置
|
|
# 默认配置
|
|
|
default_config = {
|
|
default_config = {
|
|
|
- "paddleocr-vl-file": "/Users/zhch158/workspace/data/流水分析/A用户_单元格扫描流水/paddleocr_vl_results/A用户_单元格扫描流水_page_001.json",
|
|
|
|
|
- "paddle-file": "/Users/zhch158/workspace/data/流水分析/A用户_单元格扫描流水/ppstructurev3_client_results/A用户_单元格扫描流水_page_001.json",
|
|
|
|
|
|
|
+ "paddleocr-vl-file": "/Users/zhch158/workspace/data/流水分析/A用户_单元格扫描流水/paddleocr_vl_results/A用户_单元格扫描流水_page_007.json",
|
|
|
|
|
+ "paddle-file": "/Users/zhch158/workspace/data/流水分析/A用户_单元格扫描流水/ppstructurev3_client_results/A用户_单元格扫描流水_page_007.json",
|
|
|
"output-dir": "/Users/zhch158/workspace/data/流水分析/A用户_单元格扫描流水/paddleocr_vl_results_cell_bbox",
|
|
"output-dir": "/Users/zhch158/workspace/data/流水分析/A用户_单元格扫描流水/paddleocr_vl_results_cell_bbox",
|
|
|
"output-type": "both",
|
|
"output-type": "both",
|
|
|
"window": "15",
|
|
"window": "15",
|
|
@@ -301,8 +301,8 @@ if __name__ == "__main__":
|
|
|
# "threshold": "85"
|
|
# "threshold": "85"
|
|
|
# }
|
|
# }
|
|
|
# default_config = {
|
|
# default_config = {
|
|
|
- # "paddleocr-vl-file": "/Users/zhch158/workspace/data/流水分析/2023年度报告母公司/paddleocr_vl_results/2023年度报告母公司_page_006.json",
|
|
|
|
|
- # "paddle-file": "/Users/zhch158/workspace/data/流水分析/2023年度报告母公司/ppstructurev3_client_results/2023年度报告母公司_page_006.json",
|
|
|
|
|
|
|
+ # "paddleocr-vl-file": "/Users/zhch158/workspace/data/流水分析/2023年度报告母公司/paddleocr_vl_results/2023年度报告母公司_page_007.json",
|
|
|
|
|
+ # "paddle-file": "/Users/zhch158/workspace/data/流水分析/2023年度报告母公司/ppstructurev3_client_results/2023年度报告母公司_page_007.json",
|
|
|
# "output-dir": "/Users/zhch158/workspace/data/流水分析/2023年度报告母公司/paddleocr_vl_results_cell_bbox",
|
|
# "output-dir": "/Users/zhch158/workspace/data/流水分析/2023年度报告母公司/paddleocr_vl_results_cell_bbox",
|
|
|
# "output-type": "both",
|
|
# "output-type": "both",
|
|
|
# "window": "15",
|
|
# "window": "15",
|