|
| 1 | +# v1.9.1-BETA-1 (2025-10-15) |
| 2 | + |
| 3 | +# TRex v1.9.1-BETA-1 Release Notes |
| 4 | + |
| 5 | +## 🐛 Bug Fixes |
| 6 | + |
| 7 | +### Czech Language OCR Fix |
| 8 | +- **Fixed language code normalization**: Resolved issues with Czech (and potentially other) language recognition where language codes with underscores (`cs_CZ`) weren't being properly converted to the hyphen format (`cs-CZ`) required by Apple Vision OCR |
| 9 | +- **Fixed engine selection**: Corrected issue where Tesseract engine was being selected even when disabled in preferences, causing fallback to incorrect engines with poor results |
| 10 | +- **Language identifier handling**: Improved `LanguageCodeMapper.standardize()` to properly handle locale-based language codes |
| 11 | + |
| 12 | +### Image Preprocessing |
| 13 | +- **Enhanced text recognition accuracy**: Added automatic image preprocessing with: |
| 14 | + - +30% contrast enhancement |
| 15 | + - +10% brightness adjustment |
| 16 | + - +10% saturation boost |
| 17 | +- These improvements help recognize low-contrast and light-colored text more reliably |
| 18 | + |
| 19 | +### OCR Engine Management |
| 20 | +- **Better engine routing**: Made `OCRManager.engines` publicly readable to allow proper engine filtering based on user preferences |
| 21 | +- **Explicit Vision engine selection**: Ensures Apple Vision is used when Tesseract is disabled |
| 22 | + |
| 23 | +## 🔧 Improvements |
| 24 | + |
| 25 | +### Developer Experience |
| 26 | +- **Enhanced logging**: Added comprehensive debug logging throughout the OCR pipeline, including: |
| 27 | + - Language selection decisions |
| 28 | + - Engine routing information |
| 29 | + - Recognition results with confidence scores |
| 30 | + - Alternate recognition candidates for debugging |
| 31 | + |
| 32 | +### Code Quality |
| 33 | +- **Removed unnecessary entitlements**: Cleaned up app entitlements file by removing unneeded permissions |
| 34 | + |
| 35 | +## 📝 Technical Details |
| 36 | + |
| 37 | +This release primarily addresses language recognition issues that could affect users working with Czech and potentially other languages where locale-based language codes (containing underscores or region identifiers) weren't being properly standardized for the Vision framework. |
| 38 | + |
1 | 39 | # v1.9.0 (2025-10-15) |
2 | 40 |
|
3 | 41 | # TRex v1.9.0 Release Notes |
|
0 commit comments