Tools for manipulating and evaluating the hOCR format for representing multi-lingual OCR results by embedding them into HTML.
371
stars
79
forks
source link
Added support for right to left (R2L) languages using bidi algorithm #165
Closed
smijo149 closed 3 years ago
For Issue:
https://github.com/ocropus/hocr-tools/issues/163
Solution:
Use python package for bidi algorithm ( Bi-Directional Algorithm ) to transform text before drawing it into the pdf file.
Tests:
Tested both Hebrew (R2L Language) text image and English (L2R Language) text image and they gave expected results.