Forráskód Böngészése

fix(pp_doclayout_v3_layout_adapter): update image path for testing in main function

zhch158_admin 1 hete
szülő
commit
d3a9545849

+ 2 - 1
ocr_tools/universal_doc_parser/models/adapters/pp_doclayout_v3_layout_adapter.py

@@ -415,7 +415,8 @@ if __name__ == "__main__":
     detector.initialize()
 
     # 读取测试图像
-    img_path = "/Users/zhch158/workspace/data/流水分析/施博深/bank_statement_yusys_v3/施博深/施博深_page_007.png"
+    # img_path = "/Users/zhch158/workspace/data/流水分析/施博深/bank_statement_yusys_v3/施博深/施博深_page_007.png"
+    img_path = "/Users/zhch158/workspace/data/流水分析/2023年度报告母公司/bank_statement_yusys_v3/2023年度报告母公司/2023年度报告母公司_page_028.png"
 
     print(f"\n📖 Loading image: {img_path}")
     img = cv2.imread(img_path)