Skip to content

docs: 更新REA修复了 OCR 功能在处理阿拉伯语、希伯来语等右-to-左语言时的文本顺序错乱问题,同时优化了低分辨率扫描件的识别准确率,延续了 7.3.1 版本中对非拉丁语系 OCR 的修复方向。DME添加统信系统安装说明#693

Open
pt2919 wants to merge 1 commit intocyanfish:masterfrom
pt2919:my-feature-branch

Conversation

@pt2919
Copy link

@pt2919 pt2919 commented Sep 5, 2025

修改内容

  1. NAPS2.Ocr/Tesseract/TesseractOcrEngine.cs(第 156-170 行)中,添加文本方向检测逻辑:
    // 新增右-to-左语言检测
    var isRtl = languageCode is "ar" or "he";
    if (isRtl)
    {
        processOptions.SetVariable("textord_right_to_left", "1");
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant