Explorar el Código

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 hace 6 horas
padre
commit
d7ac2e5aa5

+ 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