返回目录
开源项目其他开源工具类新手

GitHub - ogkalu2/comic-translate: AI comic and manga translator app/browser extension for automatically translating comics, manga, manhwa, B

Comic Translate English | 한국어 | Français | 简体中文 Intro Many Automatic Manga Translators exist. Very few properly support comics of other kinds in other languages. This project was created to utilize the ability of State of the Art (SOTA) Large Language Models

0 次阅读2026/08/31 发布
GitHub - ogkalu2/comic-translate: AI comic and manga translator app/browser extension for automatically translating comics, manga, manhwa, B 来源图片

社区作者 · zZz

它解决什么问题

Comic Translate

English | 한국어 | Français | 简体中文

Intro

Many Automatic Manga Translators exist. Very few properly support comics of other kinds in other languages. This project was created to utilize the ability of State of the Art (SOTA) Large Language Models (LLMs) like GPT and translate comics from all over the world.

Currently, it supports translating comics from the following languages: English, Korean, Japanese, French, Simplified Chinese, Traditional Chinese, Russian, German, Dutch, Spanish and Italian. It can translate to the above mentioned and more.

- The State of Machine Translation

- Preview

- Getting Started

  • Installation
  • Download
  • From Source
  • Usage
  • Tips

- How it works

  • Text Detection
  • OCR
  • Inpainting
  • Translation
  • Text Rendering

- Acknowledgements

The State of Machine Translation

For a couple dozen languages, the best Machine Translator is not Google Translate, Papago or even DeepL, but a SOTA LLM like GPT-4, and by far.

This is very apparent for distant language pairs (Korean<->English, Japanese<->English etc) where other translators still often devolve into gibberish. Excerpt from "The Walking Practice"(보행 연습) by Dolki Min(돌기민)

Comic Samples

GPT-4 as Translator. Note: Some of these also have Official English Translations

The Wretched of the High Seas

Journey to the West

The Wormworld Saga

Frieren: Beyond Journey's End

Days of Sand

Player (OH Hyeon-Jun)

Carbon & Silicon

Installation

Download

- Desktop App : Download and install Comic Translate for Windows and macOS from here .

Ignore Smart Screen for Windows (Click More info > Run anyway).

For macOS, after trying to open, go to Settings > Privacy and Security > Scroll down and click Open Anyway.

Note: GPU acceleration is currently only available when running from source.

- Browser Extension : Install the Comic Translate extension for Chromium-based browsers (Chrome, Edge, Brave, etc.) here to read directly on websites.

From Source

Alternatively, if you'd like to run the source code directly.

Install Python 3.12. Tick "Add python.exe to PATH" during the setup.

https://www.python.org/downloads/

Install git

https://git-scm.com/

Install uv

https://docs.astral.sh/uv/getting-started/installation/

Then, in the command line

命令
git clone https://github.com/ogkalu2/comic-translate
命令
cd comic-translate
命令
uv init --python 3.12

and install the requirements

命令
uv add -r requirements.txt --compile-bytecode

To Update, run this in the comic-translate folder

命令
git pull
命令
uv init --python 3.12 (Note: only run this line if you did not use uv for the first time installation)
命令
uv add -r requirements.txt --compile-bytecode

If you have an NVIDIA GPU, then it is recommended to run

命令
uv pip install onnxruntime-gpu

Usage

In the comic-translate directory, run

命令
uv run comic.py

This will launch the GUI

Tips

  • If you have a CBR file, you'll need to install Winrar or 7-Zip then add the folder it's installed to (e.g "C:\Program Files\WinRAR" for Windows) to Path. If it's installed but not to Path, you may get the error,

raise RarCannotExec( " Cannot find working tool " )

In that case, Instructions for Windows , Linux , Mac

可复制命令
Make sure the selected Font supports characters of the target language
  • v2.0 introduces a Manual Mode. When you run into issues with Automatic Mode (No text detected, Incorrect OCR, Insufficient Cleaning etc), you are now able to make corrections. Simply Undo the Image and toggle Manual Mode.
  • In Automatic Mode, Once an Image has been processed, it is loaded in the Viewer or stored to be loaded on switch so you can keep reading in the app as the other Images are being translated.
  • Ctrl + Mouse Wheel to Zoom otherwise Vertical Scrolling
  • The Usual Trackpad Gestures work for viewing the Image
  • Right, Left Keys to Navigate Between Images

How it works

Speech Bubble Detection and Text Segmentation

bubble-and-text-detector . RT-DETR-v2 model trained on 11k images of comics (Manga, Webtoons, Western). Algorithmic segmentation based on the boxes provided from the detection model.

OCR

By Default:

  • manga-ocr for Japanese
  • Pororo for Korean
  • PPOCRv5 for Everything Else

Optional:

These can be used for any of the supported languages.

  • Gemini 2.0 Flash
  • Microsoft Azure Vision

Inpainting

To remove the segmented text

  • A Manga/Anime finetuned lama checkpoint. Implementation courtsey of lama-cleaner
  • AOT-GAN based model by zyddnys

Translation

Currently, this supports using GPT-4.1, Claude-4.5, Gemini-2.5.

All LLMs are fed the entire page text to aid translations. There is also the Option to provide the Image itself for further context.

Text Rendering

Wrapped text in bounding boxes obtained from bubbles and text.

Acknowledgements

  • https://github.com/Sanster/lama-cleaner
  • https://huggingface.co/dreMaz
  • https://github.com/yunwoong7/korean_ocr_using_pororo
  • https://github.com/kha-white/manga-ocr
  • https://github.com/JaidedAI/EasyOCR
  • https://github.com/PaddlePaddle/PaddleOCR
  • https://github.com/RapidAI/RapidOCR
  • https://github.com/phenom-films/dayu_widgets

— 本文由 AI 根据公开来源辅助整理,命令、版本与许可证请在使用前到原始页面复核。

安装 / 开始使用

Getting Started

- How it works

- Acknowledgements The State of Machine Translation For a couple dozen languages, the best Machine Translator is not Google Translate, Papago or even DeepL, but a SOTA LLM like GPT-4, and by far.

This is very apparent for distant language pairs (Korean<->English, Japanese<->English etc) where other translators still often devolve into gibberish. Excerpt from "The Walking Practice"(보행 연습) by Dolki Min(돌기민) Comic Samples GPT-4 as Translator.

Note: Some of these also have Official English Translations The Wretched of the High Seas Journey to the West The Wormworld Saga Frieren: Beyond Journey's End Days of Sand Player (OH Hyeon-Jun) Carbon & Silicon Installation Download - Desktop App : Download and install Comic Translate for Windows and macOS from here .

Ignore Smart Screen for Windows (Click More info > Run anyway). For macOS, after trying to open, go to Settings > Privacy and Security > Scroll down and click Open Anyway. Note: GPU acceleration is currently only available when running from source.

- Browser Extension : Install the Comic Translate extension for Chromium-based browsers (Chrome, Edge, Brave, etc.) here to read directly on websites. From Source Alternatively, if you'd like to run the source code directly. Install Python 3.12.

Tick "Add python.exe to PATH" during the setup. https://www.python.org/downloads/ Install git https://git-scm.com/ Install uv https://docs.astral.sh/uv/getting-started/installation/ Then, in the command line

  • Installation
  • Download
  • From Source
  • Usage
  • Tips
  • Text Detection
  • OCR
  • Inpainting
  • Translation
  • Text Rendering
命令
git clone https://github.com/ogkalu2/comic-translate
命令
cd comic-translate
命令
uv init --python 3.12

and install the requirements

命令
uv add -r requirements.txt --compile-bytecode

To Update, run this in the comic-translate folder

命令
git pull
命令
uv init --python 3.12 (Note: only run this line if you did not use uv for the first time installation)
命令
uv add -r requirements.txt --compile-bytecode

If you have an NVIDIA GPU, then it is recommended to run

命令
uv pip install onnxruntime-gpu

Usage In the comic-translate directory, run

命令
uv run comic.py

This will launch the GUI Tips

raise RarCannotExec( " Cannot find working tool " ) In that case, Instructions for Windows , Linux , Mac

  • If you have a CBR file, you'll need to install Winrar or 7-Zip then add the folder it's installed to (e.g "C:\Program Files\WinRAR" for Windows) to Path. If it's installed but not to Path, you may get the error,
可复制命令
Make sure the selected Font supports characters of the target language

How it works Speech Bubble Detection and Text Segmentation bubble-and-text-detector . RT-DETR-v2 model trained on 11k images of comics (Manga, Webtoons, Western). Algorithmic segmentation based on the boxes provided from the detection model. OCR By Default:

Optional: These can be used for any of the supported languages.

Inpainting To remove the segmented text

Translation

  • v2.0 introduces a Manual Mode. When you run into issues with Automatic Mode (No text detected, Incorrect OCR, Insufficient Cleaning etc), you are now able to make corrections. Simply Undo the Image and toggle Manual Mode.
  • In Automatic Mode, Once an Image has been processed, it is loaded in the Viewer or stored to be loaded on switch so you can keep reading in the app as the other Images are being translated.
  • Ctrl + Mouse Wheel to Zoom otherwise Vertical Scrolling
  • The Usual Trackpad Gestures work for viewing the Image
  • Right, Left Keys to Navigate Between Images
  • manga-ocr for Japanese
  • Pororo for Korean
  • PPOCRv5 for Everything Else
  • Gemini 2.0 Flash
  • Microsoft Azure Vision
  • A Manga/Anime finetuned lama checkpoint. Implementation courtsey of lama-cleaner
  • AOT-GAN based model by zyddnys

来源教程配图

教程配图
配图 1 · 教程配图查看原图
Model
配图 2 · Model查看原图
教程配图
配图 3 · 教程配图查看原图
教程配图
配图 4 · 教程配图查看原图
教程配图
配图 5 · 教程配图查看原图
教程配图
配图 6 · 教程配图查看原图
教程配图
配图 7 · 教程配图查看原图
教程配图
配图 8 · 教程配图查看原图

适用场景

学习研究
开源项目实践