Closed bropines closed 2 years ago
Did you mean manually perform/correct text removal(i.e., inpainting)? Actually there is a inpainted layer, it just doesn't show explicitly in the ui. And there is a mask layer to show which part are inpainted. To 'erase' unwanted inpainted results, use the inpainted tool or rect tool with your right button pressed, please refer to the following gifs and notice the keystrokes are shown on the top left corner:
https://github.com/dmMaze/BallonsTranslator/blob/master/doc/src/imgedit_inpaint.gif https://github.com/dmMaze/BallonsTranslator/blob/master/doc/src/rect_tool.gif
It worked, thanks Does the project have its own discord/telegram to throw off bugs and error reports? Github allows it, but often bugs are simply associated with the departure of python modules.
Does the project have its own discord/telegram to throw off bugs and error reports?
Nope.
Github allows it, but often bugs are simply associated with the departure of python modules
I'll add some instructions to readme for running the source code.
One more question before closing the issue. Can you add a config to translate to another language? I would like to translate the program settings into my language, but I don't really want to get into the code.
This program can be translated using linguist.exe, which should be installed with pyqt.
If you are comfortable with it, edit ballontranslator/data/translate/template.ts
in linguist and export to ballontranslator/data/translate/[LANGUAGE].qm
You can print QLocale.system().name()
in the main function of ballontranslator/__main__.py
to determine the [LANGUAGE] of your system:
Please notice the template.ts is a bit out of date, I'll update it after I merge the textlayout
branch, perhaps later this week.
edit
ballontranslator/data/translate/template.ts
Update: run python ballontranslator\scripts\update_translation.py
to generate or update [LANGUAGE].ts
edit
ballontranslator/data/translate/template.ts
Update: run
python ballontranslator\scripts\update_translation.py
to generate or update [LANGUAGE].ts
Thanks
A couple more questions.
A couple more questions.
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
, AMD GPU would not work on windows.When you click once on a spot with the text-coloring tool, it gives an error. Just right-click on the spot
And let's say. I accidentally deleted a block.
And I still don't have cuda support. I have two video cards. One is built-in, the second is discrete. Maybe because of this, cuda does not work?
Use your nvidia card, go to your terminal, type "python" then "import torch" and "torch.cuda.is_available()" and make sure it returns True otherwise your installation of pytorch is not well installed or you do not have install cuda on your system " nvcc --version" to see if you have installed cuda well. Also, why not use the compiled version you won't have any problem I think
When you click once on a spot with the text-coloring tool, it gives an error. Just right-click on the spot
fixed d55a1a054b2734dac46e9af8c9bdb138a467143f
- I did not understand how to make mine with text
Activate text editing mode and the rectangle button next to it:
then drag mouse on the canvas with right button pressed, see following gif, it's after delete operation
2. Is it possible to apply OCR and all operations to only one page?
No
Now I think my friend and I will make a couple of variants of the logo (icon). I'll send the options here.
The program when performs all translations, painting over even what is not needed. Like I don't want any cloud to be painted over and translated, with text, but it can't be undone. There is no paint layer as such. I would like to be able to remove probably painted and translated pieces
If you don't understand anything, I can attach a video)