We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
英文原文水平显示,翻译后中文有的是水平显示也有竖直显示,在config中已经将direction设置为horizontal。 原文
译文
python -m manga_translator local --ignore-errors --use-gpu --config-file E:\manga-image-translator\config.json --font-path fonts\kangkang_manga_3.0.ttf -v -i C:\Users\Ken\Desktop
{ "filter_text": null, "render": { "renderer": "default", "alignment": "auto", "disable_font_border": false, "font_size_offset": 0, "font_size_minimum": -1, "direction": "horizontal", "uppercase": false, "lowercase": false, "gimp_font": "Sans-serif", "no_hyphenation": false, "font_color": null, "line_spacing": null, "font_size": null }, "upscale": { "upscaler": "esrgan", "revert_upscaling": true, "upscale_ratio": 2 }, "translator": { "translator": "qwen2_big", "target_lang": "CHS", "no_text_lang_skip": false, "skip_lang": "JPN", "gpt_config": null, "translator_chain": null, "selective_translation": null }, "detector": { "detector": "default", "detection_size": 2048, "text_threshold": 0.5, "det_rotate": false, "det_auto_rotate": false, "det_invert": false, "det_gamma_correct": false, "box_threshold": 0.7, "unclip_ratio": 2.4 }, "colorizer": { "colorization_size": 512, "denoise_sigma": 30, "colorizer": "none" }, "inpainter": { "inpainter": "lama_large", "inpainting_size": 2048, "inpainting_precision": "bf16" }, "ocr": { "use_mocr_merge": false, "ocr": "48px", "min_text_length": 0, "ignore_bubble": 0 }, "kernel_size": 3, "mask_dilation_offset": 50 }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue
英文原文水平显示,翻译后中文有的是水平显示也有竖直显示,在config中已经将direction设置为horizontal。
原文
译文
Command Line Arguments
Console logs
The text was updated successfully, but these errors were encountered: