ragflow/deepdoc/vision
cwr31 e6d36f3a3a
Improve image rotation logic for text recognition (#8167)
### What problem does this PR solve?

Enhanced the image rotation handling by evaluating the original
orientation, clockwise 90°, and counter-clockwise 90° rotations. The
image with the highest text recognition score is now selected, improving
accuracy for text detection in images with aspect ratios >= 1.5.

#8166

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

Co-authored-by: wenrui.cao <wenrui.cao@univers.com>
2025-06-11 09:20:30 +08:00
..
__init__.py Made task_executor async to speedup parsing (#5530) 2025-03-03 18:59:49 +08:00
layout_recognizer.py Fix: assistant deleteion issue. (#6906) 2025-04-09 20:29:40 +08:00
ocr.py Improve image rotation logic for text recognition (#8167) 2025-06-11 09:20:30 +08:00
operators.py refactor: no need to inherit in python3 clean the code (#5659) 2025-03-05 18:03:53 +08:00
postprocess.py refactor: no need to inherit in python3 clean the code (#5659) 2025-03-05 18:03:53 +08:00
recognizer.py Feat: Improve Recognizer.py performance (#6185) 2025-03-18 09:39:49 +08:00
seeit.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
t_ocr.py Refa: PARALLEL_DEVICES is a static parameter. (#6168) 2025-03-17 16:49:54 +08:00
t_recognizer.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
table_structure_recognizer.py Fix: abnormal cell mergeing. (#6991) 2025-04-14 11:00:11 +08:00