Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the --prep-manual parameter work again #877

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

popcion
Copy link
Contributor

@popcion popcion commented Mar 8, 2025

--prep-manual 失灵了,旧版的这个参数可以在源文件夹输出txt文件,可以在example-translated文件夹中输出example-orig.png文件和对应去除文字的exampel.png文件,但在新版中源文件夹中没有输出txt文件,在example-translated文件夹中输出的exampel.png文件也是含文字的译后文件。

修正后仅会在目标文件夹中输出去除文字的图片,不含源文件

但是在新版中有替代原来输出文本文件的--save-text参数,就没在意,但是刚发现它也是失灵的。先提一下。

ENG:
"The --prep-manual flag is no longer working as expected. In the old version, this parameter would output a TXT file in the source folder. In the example-translated folder, it would output both example-orig.png (the original image) and example.png, which was the image with the text removed.

However, in the new version, the TXT file is not being output in the source folder. Furthermore, the example.png file generated in the example-translated folder is the translated image with text, not the text-removed image as before.

After the this modifications, it only outputs the text-removed image in the target folder. It no longer includes the original source file in the output folder.

However, in the new version there's the --save-text parameter which is supposed to replace the original text file output, so I hadn't paid much attention to it. But I just discovered that it's also malfunctioning. Just wanted to quickly bring this up.
"

@popcion popcion changed the title fix prep_manual Make the --prep-manual parameter work again Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant