BallonsTranslator icon indicating copy to clipboard operation
BallonsTranslator copied to clipboard

Feature Request:OCR识别能否保留文本的换行

Open fatecyx opened this issue 9 months ago • 1 comments

版本信息

py version: 3.12.5 (tags/v3.12.5:ff3bc82, Aug 6 2024, 20:45:27) [MSC v.1940 64 bit (AMD64)] py executable: D:\Tools\BallonsTranslator\venv\Scripts\python.exe version: 1.4.0 branch: dev Commit hash: 97d71d4b9142d3bd17282633eef938c7d814ec74

建议类型

功能优化

描述

有些漫画不喜欢用标点,全靠换行分句 希望OCR时可以保留换行

图片

No response

其他信息

No response

fatecyx avatar Mar 04 '25 07:03 fatecyx

如果用的是mit48px的话 modules → ocr → mit48px → 搜索cur_region.text.append(txt)→改为cur_region.text.append(txt + '\n')

505728366 avatar Jul 05 '25 12:07 505728366