diff --git a/scripts/run_preprocessing_tests.py b/scripts/run_preprocessing_tests.py index 260be53..8d58942 100644 --- a/scripts/run_preprocessing_tests.py +++ b/scripts/run_preprocessing_tests.py @@ -65,7 +65,8 @@ def test_preprocessing_pipeline(): print(f"\n[Quality Report]") print(f" Total pages: {report['total_pages']}") print(f" Pages sanitized: {report['preprocessing_stats']['pages_sanitized']}") - print(f" Whiteout regions detected: {report['preprocessing_stats']['total_whiteout_regions']}") + print(f" Whiteout regions (vector): {report['preprocessing_stats']['total_whiteout_regions']}") + print(f" Covering images (black/white): {report['preprocessing_stats'].get('total_covering_images', 0)}") print(f" Average garble rate: {report['average_garble_rate']:.2%}") print(f" Needs OCR fallback: {report['needs_ocr_fallback']}")