- 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 in the terminal to create an enviroment
conda create -n manga-translator python=3.9.12
conda activate manga-translator
- Install Poetry
- Run the following in the enviroment we created
poetry install
poe install-deps
# For cuda support run "poe force-cuda"
- Download models to models/modelname (i.e. models/detection.py)
- If you plan to use the UI also install NodeJS
python main.py -m [live|convert -f "files"]
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