hgmzhn/manga-translator-ui
基于manga-image-translator 实现的开源漫画AI翻译桌面工具。支持日、韩、英文漫画自动处理,集成OpenAl、Gemini等多翻译引擎;实现OCR文字检测、原文擦除、AI翻译、图像修复、译文排版完整链路,自带可视化编辑器,支持自定义文本样式,一键部署开箱即用。
What it solves
It automates the complex process of translating manga, which typically requires several manual steps: detecting text in images, performing Optical Character Recognition (OCR), translating the text, removing the original text (inpainting), and typesetting the translated text back into the image bubbles.
How it works
The tool integrates multiple AI models and services into a single pipeline:
- Detection & OCR: Uses models like PaddleOCR and MangaOCR to identify and extract text from manga pages.
- Translation: Connects to LLMs and translation engines including OpenAI (GPT-4o), Gemini, and Sakura to translate text while maintaining consistency through AI-extracted terminology.
- Image Processing: Employs models like Real-CUGAN and MangaJaNai for super-resolution and image cleaning.
- Typesetting: Features a smart bubble layout system that automatically fits text into speech bubbles, supports both horizontal and vertical text, and uses HanLP for semantic line breaking.
- Editing: Provides a visual editor for manual adjustments to text boxes, colors, fonts, and masks.
Who it’s for
- Manga translators and scanlation groups who want to speed up their workflow.
- Readers who want to translate manga in their own language for personal use.
- Developers looking for a comprehensive manga translation pipeline.
Highlights
- End-to-end pipeline: One-click flow from detection to final rendering.
- Multimodal AI: Supports GPT-4o and Gemini for high-quality, context-aware translations.
- Visual Editor: Full rich-text editing capabilities with support for Ruby characters and vertical text.
- Smart Layout: Automatic text indentation and scaling to fit bubble shapes.
- Batch Processing: Ability to process entire folders and export to PSD for further professional editing.
Related
- Project
- Project
- Project
- Project
- Project