Browse Source

fix(test_doclayoutyolo): update image path for test consistency

- Modified the image path in the test file to reflect the new directory structure, ensuring accurate test execution.
- This change enhances the clarity and maintainability of the test setup.
zhch158_admin 9 hours ago
parent
commit
250a896e28
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ocr_tools/universal_doc_parser/tests/test_doclayoutyolo.py

+ 1 - 1
ocr_tools/universal_doc_parser/tests/test_doclayoutyolo.py

@@ -138,7 +138,7 @@ class DocLayoutYOLOModel:
 
 if __name__ == '__main__':
     # image_path = "./2023年度报告母公司_page_003_270.png"
-    image_path = "/Users/zhch158/workspace/data/流水分析/施博深.wiredtable/施博深_page_001.png"
+    image_path = "/Users/zhch158/workspace/data/流水分析/施博深/bank_statement_smart_router/施博深/施博深_page_001.png"
     doclayout_yolo_weights = os.path.join(auto_download_and_get_model_root_path(ModelPath.doclayout_yolo), ModelPath.doclayout_yolo)
     device = 'cpu'
     model = DocLayoutYOLOModel(