Просмотр исходного кода

feat(tests): add layout detector test script for PaddleX

- Introduced a new test script for the PaddleX layout detector, including initialization, image loading, detection, and visualization of results.
- The script provides detailed output of detected regions and category statistics, enhancing testing capabilities for layout detection.
- Added functionality for visualizing detection results with bounding boxes and labels, improving the usability of the test.
zhch158_admin 1 месяц назад
Родитель
Сommit
d7ac2e5aa5
1 измененных файлов с 0 добавлено и 0 удалено
  1. 0 0
      ocr_tools/universal_doc_parser/tests/test_RT-DETR-H_layout_17cls.py

+ 0 - 0
ocr_tools/universal_doc_parser/tests/test_layout_detector.py → ocr_tools/universal_doc_parser/tests/test_RT-DETR-H_layout_17cls.py