TareHimself / manga-translator

A manga translator built with python
GNU General Public License v3.0
77 stars 13 forks source link

Batch Translation and CLI Command #31

Closed dfaizaditya closed 8 months ago

dfaizaditya commented 9 months ago

Hello thank you for your response earlier. The program works like a charm on the GUI. But i have another question on the CLI part, the project seems to support batch translation so i placed the image needed for translation in the ./img folder in the same level as main.py

python main.py -f /img

is this how i should do it? can you provide an example of CLI of batch translation?

also the -m of the example doest seems right because its an unrecognizible command python main.py -m -f image1.png image2.png

Thank you

dfaizaditya commented 9 months ago

Seems like i cant using the CLI properly, am i missing or missunderstood something? python main.py -o 1 -f 005.jpg Screenshot from 2023-12-23 00-06-15

TareHimself commented 9 months ago

Thanks for pointing this out, working on a fix now

TareHimself commented 9 months ago

So I have fixed this but I need to train a new color detection model before I update the main branch, you can pull the fix from the dev branch

TareHimself commented 8 months ago

updated