zyddnys / manga-image-translator

Translate manga/image 一键翻译各类图片内文字 https://cotrans.touhou.ai/
https://cotrans.touhou.ai/
GNU General Public License v3.0
5.37k stars 555 forks source link

[Bug]: 翻译前和翻译后的文本混合到了一起/The pre translation and post translation texts were mixed together #726

Open mofishmofish opened 3 weeks ago

mofishmofish commented 3 weeks ago

Issue

%1%ZMW HQUOS{6LF(QVW3D 请问我需要修改哪些参数来达到完全去除原本文本,只留下翻译后文本的效果?

which parameters I need to modify to achieve the effect of completely removing the original text and leaving only the translated text?

Command Line Arguments

python -m manga_translator -v --translator=sakura -l CHS --detector ctd --ignore-bubble 5 --inpainter lama_large  --inpainting-size 2048 --mask-dilation-offset 10 --detection-size 1536 --inpainting-precision  bf16    -i start/2

Console logs

No response

popcion commented 3 weeks ago

--detector ctd --ignore-bubble 5 这两去掉 然后--detection-size改成2048试试看