- Boy read manga.
- Boy reach latest chapter.
- Chapter not translated.
- Boy get mad.
- Boy do code instead of waiting like a normal person.
- Yolo for bubble recognition and text segmentation
- Open CV for bubble and masking
- PIL for text replacement
- Api's or neural networks for translation
- Deepfillv2 for inpainting and bubble cleanup
- Available in the latest release
- setup Anaconda
- clone this repository
- Open a terimal in the cloned repository
- Run the following
conda create -n manga-translator python=3.10
conda activate manga-translator
conda install -c conda-forge poetry
poetry install
# For cuda support run "poe force-cuda"
- Download models to models/modelname (i.e. models/detection.pt)
python main.py -f image1.png image2.png
Original |
Translated |
|
|
Japanese => English Jujutsu Kaisen |
|
|
Japanese => "Meow" Solo Leveling |
|
|
Japanese => Clean The Rising of the Shield Hero |
|
|
Japanese => English A Certain Scientific Accelerator |
|
|
Japanese => English One Punch Man |
|
|
Japanese => English Oshi No Ko |
- Bubble: a speech bubble
- Free text: text found on pages but not in speech bubbles
- Bubble Text: text within speech bubbles