test: add covering images to preprocessing test output
Updates test script to display covering images count in quality report. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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']}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user