๐ Handwritten Text Recognition (HTR) with Enhanced Debugging
Upload an image of a handwritten document.
Visualization Key:
- ๐ฉ Green Box: The broad region identified as containing text (original bounds).
- ๐ฅ Red Box: The specific line of text sent to the OCR engine (with coordinate validation).
Improvements:
- Fixed coordinate rounding (eliminates truncation errors)
- Added 10px padding to region crops (reduces edge effects)
- Coordinate validation (ensures all boxes are within image bounds)
- Enhanced logging with detailed coordinate tracking
- Optional debug crop saving