Spaces:
Running
Running
File size: 899 Bytes
836388f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
Comparison of ocr_utils.py between main and reconcile-improvements branches ================================================================== Key improvements in reconcile-improvements branch: 1. Enhanced illustration/etching detection: - Added detection based on filename keywords (e.g., 'magician', 'illustration') - Implemented image-based detection using edge density analysis 2. Specialized processing for illustrations: - Gentler scaling to preserve fine details - Mild contrast enhancement (1.3 vs. higher values for other documents) - Specialized sharpening for fine lines in etchings - Higher quality settings (95 vs. 85) to prevent detail loss 3. Performance optimizations: - More efficient processing paths for different image types - Better memory management for large images Test results for magician-or-bottle-cungerer.jpg demonstrate these improvements. |