dmmaze / ballonstranslator Goto Github PK
View Code? Open in Web Editor NEW深度学习辅助漫画翻译工具, 支持一键机翻和简单的图像/文本编辑 | Yet another computer-aided comic/manga translation tool powered by deeplearning
License: GNU General Public License v3.0
深度学习辅助漫画翻译工具, 支持一键机翻和简单的图像/文本编辑 | Yet another computer-aided comic/manga translation tool powered by deeplearning
License: GNU General Public License v3.0
So far, all I found during the translation of the manga
Hello!
Can you add support amd gpu?
I tried building the program so I could try using sugoi translator with this, and I after about a day of it running (not sure why it was so slow) it finally finished but when I try and run the ballontranslator.exe it gives me this error
Traceback (most recent call last):
File "H:\apps\BallonsTranslator\release\BallonTranslator.dist_main_.py", line 44, in
File "H:\apps\BallonsTranslator\release\BallonTranslator.dist_main_.py", line 19, in main
ModuleNotFoundError: No module named 'qtpy'
跑完ocr后,自动生成的文本框,里面的字体变得很小。
就算全局字体设定成26了,设置里的嵌字也设置成“使用全局设置”了,字体也总是变得很小,需要每个都手动点击应用字体格式
Please add the MangaInpainting method to inpaint. Since I mostly translate manga, the current methods break screentone very much, which can be avoided using the msxie92
Hello!
Can you make release for linux/mac os ?
Hi
Can you add support for DeepL which is the best online translator although the free option only works for a limited amount you can also implement the Textractor workaround with its DevTools solution that kinda lets you use DeepL unlimited for free.
The other translator to add is Sugoi Japanese Translator (links in the description) that is even better than DeepL for translating weeb related things, plus is 100% free and totally works offline with no restrictions! I suggest joining the discord where many different devs hang out for more info https://discord.gg/XFbWSjMHJh
Also you think you can fix the issue regarding the horrible way the english translated text is displayed that I mentioned here zyddnys/manga-image-translator#58 (comment) ?
To begin with, there is no way to copy existing text blocks to the clipboard.
I did a little design of how it might look in the interface. Plus I added dragging the order of the blocks (I'm missing that)
Enabled checkbox | Disabled checkbox |
---|---|
You can also do when inserting text Ctrl+V, a text block was created with text inserted into it from the clipboard.
https://www.figma.com/file/sxMxIJnU30vwtoJFjOYsvg/Test
Link to figma (icons)
希望添加自定义快捷键功能
我还在编辑就想快捷翻页但翻不过去
我想把翻页键改为page up和page down
20221128204018.webm
如视频演示,log如下:
Select the blocks (ctrl + click on the block) and when you click on delete
, everything is deleted.
You can also add copying of selected blocks with ctrl + v, but I have already suggested this.
Suddenly I needed a feature that exports images in PSD format. If that's possible.
Preferably, text blocks should be exported as in Photoshop to make them easier to edit
https://github.com/psd-tools/psd-tools
can you use paddleOCR as a basis, it recognizes japanese and english characters better
for example, here it is used
https://github.com/jtl1207/comic-translation
It won't allow me to translate to English using DeepL it says ('target_lang="EN" is deprecated, please use "EN-GB" or "EN-US" instead.').
For DeepL you need to use either English British or English American for it to work.
Traceback (most recent call last):
File "D:\BALLON1\ui\dl_manager.py", line 47, in _set_module1\dl\ocr_init_.py", line 22, in init
File "D:\BALLON
File "D:\BALLON1\dl\ocr_init_.py", line 125, in setup_ocr1\dl\ocr\manga_ocr.py", line 4, in
File "D:\BALLON
File "D:\BallonTranslator\transformers_init_.py", line 31, in
from .file_utils import (
File "D:\BallonTranslator\transformers\file_utils.py", line 51, in
from huggingface_hub import HfFolder, Repository, create_repo, list_repo_files, whoami
File "D:\BallonTranslator\huggingface_hub_init_.py", line 33, in
from .file_download import cached_download, hf_hub_download, hf_hub_url
File "D:\BallonTranslator\huggingface_hub\file_download.py", line 16, in
from tqdm.auto import tqdm
File "D:\BallonTranslator\tqdm\auto.py", line 29, in
from .asyncio import tqdm as asyncio_tqdm
File "D:\BallonTranslator\tqdm\asyncio.py", line 10, in
import asyncio
ModuleNotFoundError: No module named 'asyncio'
因为识别不准确且不能单独进行框选识别 我打算换个引擎然后重新跑
被提示这个 是需要下载什么东西吗?
I've been working on adding an icon here. Everything worked out, but I still don't understand how to change the icon in the Windows taskbar
We drew the icon from scratch with Lavanette
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)
旁边台式机 3060TI 一切正常
之前版本能够在M1 Max Mac上启动了,但后来电脑重装了,有些库都变过了,就重新来了一遍,新版本在maxOS上又无法启动了
requirements_macOS.txt 中的cocoa库没有找到,去PyPI也没有,我猜是不是pycocoa?改成pycocoa后requirements_macOS安装成功,然后运行python ballontranslator
报错如下,虽然using pyqt6,但还是提示找不到pyqt5
❯ python ballontranslator
/Users/usr/.pyenv/versions/3.9.12/lib/python3.9/site-packages/qtpy/__init__.py:267: RuntimeWarning: Selected binding "pyqt5" could not be found, using "pyqt6"
warnings.warn('Selected binding "{}" could not be found, '
Traceback (most recent call last):
File "/Users/usr/.pyenv/versions/3.9.12/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Users/usr/.pyenv/versions/3.9.12/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/usr/Downloads/BallonsTranslator/ballontranslator/__main__.py", line 60, in <module>
main()
File "/Users/usr/Downloads/BallonsTranslator/ballontranslator/__main__.py", line 52, in main
from ui.mainwindow import MainWindow
File "/Users/usr/Downloads/BallonsTranslator/ballontranslator/ui/mainwindow.py", line 22, in <module>
from .mainwindowbars import TitleBar, LeftBar, BottomBar
File "/Users/usr/Downloads/BallonsTranslator/ballontranslator/ui/mainwindowbars.py", line 11, in <module>
from .framelesswindow import startSystemMove
File "/Users/usr/Downloads/BallonsTranslator/ballontranslator/ui/framelesswindow/__init__.py", line 6, in <module>
from .fw_qt6.utils import startSystemMove
File "/Users/usr/Downloads/BallonsTranslator/ballontranslator/ui/framelesswindow/fw_qt6/__init__.py", line 8, in <module>
from .mac import AcrylicWindow
File "/Users/usr/Downloads/BallonsTranslator/ballontranslator/ui/framelesswindow/fw_qt6/mac/__init__.py", line 8, in <module>
from .window_effect import MacWindowEffect
File "/Users/usr/Downloads/BallonsTranslator/ballontranslator/ui/framelesswindow/fw_qt6/mac/window_effect.py", line 5, in <module>
from ..utils.mac_utils import getNSWindow
File "/Users/usr/Downloads/BallonsTranslator/ballontranslator/ui/framelesswindow/fw_qt6/utils/__init__.py", line 7, in <module>
from .mac_utils import MacMoveResize as MoveResize
File "/Users/usr/Downloads/BallonsTranslator/ballontranslator/ui/framelesswindow/fw_qt6/utils/mac_utils.py", line 6, in <module>
from PyQt5.QtCore import QT_VERSION_STR
ModuleNotFoundError: No module named 'PyQt5.QtCore'
今天偶然看到这个工具
下载试了试 还行把 随便编辑了几张图 之后发现???没有导出 图片的功能?
还有 没有原始图片文字 和 翻译文字的图片对吧功能(是直接在气泡上对比 不是在右侧的那个编辑里对吧 那个对比 不直观 )
图片修复这个功能真的很不错 没有很厚重的涂抹感
大佬是不是可以考虑先吧 编辑翻译完的图片导出功能安排上?
还有百度 腾讯 翻译接口也安排一下?
不知道为什么管理员权限也会闪退 各种操作下都会发生闪退
好不稳定啊
是否直接下载Ballonstranslator-1.30-core.7z和Ballonstranslator-1.316及data文件就可以了?然后不需要再按照说明去克隆仓库,直接命令行执行程序就可以了吗?
还有我执行程序后只能使用一键机翻对所有队列图片后才会出现OCR文字,翻译的结果,然后如果需要调整翻译文字进行嵌字的话,就只能调整好后在进行一键机翻,没有单独保存的功能吗
Every time the app crashes it takes 2GB of memory. It dumps the crash files in AppData/local/Crash_dumps folder.
If it is possible, I would like to have a feature where you can select a region and all text in it is recognized with ocr and will be deleted with inpaint.
Just tired of every time to screenshot and throw in google lens to recognize characters that are either not recognized, or in such a crooked cloud that everything is jumbled
添加自动队列,在当前文件夹下所有文件都跑完了后自动跑队列中的下一个文件夹
或者加一个跑完全部后自动关机
Traceback (most recent call last):
File "C:\Users\n\DOWNLO1\COMPRE1\BALLON1\BALLON1.0-C\BALLON1\dl\translators_init_.py", line 81, in init1\COMPRE
File "C:\Users\n\DOWNLO1\BALLON1\BALLON1.0-C\BALLON1\dl\translators_init_.py", line 106, in setup_translator
File "C:\Users\n\DOWNLO1\COMPRE1\BALLON1\BALLON1.0-C\BALLON~1\dl\translators_init_.py", line 374, in _setup_translator
RuntimeError: Unable to open file 'model.bin' in model 'data/models/sugoi_translator'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\n\DOWNLO1\COMPRE1\BALLON1\BALLON1.0-C\BALLON1\ui\dl_manager.py", line 161, in _set_translator1\COMPRE
File "C:\Users\n\DOWNLO1\BALLON1\BALLON1.0-C\BALLON1\dl\translators_init_.py", line 86, in init
dl.translators.exceptions.TranslatorSetupFailure: Unable to open file 'model.bin' in model 'data/models/sugoi_translator'
(strike down was unintended it had '~' symbol in it)
When I try to change the font size, I enter one digit and... all. The cursor moves to a block of text, and sometimes erases everything I've been working on. Here's a gif
I have installed all other packages successfully only pkuseg is left. I have python 3.10.7 installed, is it causing error because of that ? I
Log for reference:
F:\Ballon\BallonsTranslator>pip install -r requirements.txt
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
Requirement already satisfied: numpy in c:\python310\lib\site-packages (from -r requirements.txt (line 2)) (1.23.3)
Requirement already satisfied: urllib3==1.25.11 in c:\python310\lib\site-packages (from -r requirements.txt (line 3)) (1.25.11)
Requirement already satisfied: jaconv in c:\python310\lib\site-packages (from -r requirements.txt (line 4)) (0.3)
Requirement already satisfied: torch in c:\python310\lib\site-packages (from -r requirements.txt (line 5)) (1.13.0+cu117)
Requirement already satisfied: torchvision in c:\python310\lib\site-packages (from -r requirements.txt (line 6)) (0.14.0+cu117)
Requirement already satisfied: transformers in c:\python310\lib\site-packages (from -r requirements.txt (line 7)) (4.23.1)
Requirement already satisfied: fugashi in c:\python310\lib\site-packages (from -r requirements.txt (line 8)) (1.2.0)
Requirement already satisfied: unidic_lite in c:\python310\lib\site-packages (from -r requirements.txt (line 9)) (1.0.8)
Requirement already satisfied: tqdm in c:\python310\lib\site-packages (from -r requirements.txt (line 10)) (4.64.1)
Requirement already satisfied: opencv-python==4.5.* in c:\python310\lib\site-packages (from -r requirements.txt (line 11)) (4.5.5.64)
Requirement already satisfied: PyQt5>=5.15.4 in c:\python310\lib\site-packages (from -r requirements.txt (line 12)) (5.15.7)
Requirement already satisfied: shapely in c:\python310\lib\site-packages (from -r requirements.txt (line 13)) (1.8.5.post1)
Requirement already satisfied: pyclipper in c:\python310\lib\site-packages (from -r requirements.txt (line 14)) (1.3.0.post3)
Requirement already satisfied: einops in c:\python310\lib\site-packages (from -r requirements.txt (line 15)) (0.5.0)
Requirement already satisfied: termcolor in c:\python310\lib\site-packages (from -r requirements.txt (line 16)) (2.1.0)
Requirement already satisfied: bs4 in c:\python310\lib\site-packages (from -r requirements.txt (line 17)) (0.0.1)
Requirement already satisfied: deepl in c:\python310\lib\site-packages (from -r requirements.txt (line 18)) (1.11.0)
Requirement already satisfied: qtpy in c:\python310\lib\site-packages (from -r requirements.txt (line 19)) (2.2.1)
Collecting pkuseg
Using cached pkuseg-0.0.25.tar.gz (48.8 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: sentencepiece in c:\python310\lib\site-packages (from -r requirements.txt (line 21)) (0.1.97)
Requirement already satisfied: ctranslate2 in c:\python310\lib\site-packages (from -r requirements.txt (line 22)) (2.24.0)
Requirement already satisfied: python-docx in c:\python310\lib\site-packages (from -r requirements.txt (line 23)) (0.8.11)
Requirement already satisfied: docx2txt in c:\python310\lib\site-packages (from -r requirements.txt (line 24)) (0.8)
Requirement already satisfied: piexif in c:\python310\lib\site-packages (from -r requirements.txt (line 25)) (1.1.3)
Requirement already satisfied: typing-extensions in c:\python310\lib\site-packages (from torch->-r requirements.txt (line 5)) (4.4.0)
Requirement already satisfied: requests in c:\python310\lib\site-packages (from torchvision->-r requirements.txt (line 6)) (2.28.1)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in c:\python310\lib\site-packages (from torchvision->-r requirements.txt (line 6)) (9.2.0)
Requirement already satisfied: packaging>=20.0 in c:\python310\lib\site-packages (from transformers->-r requirements.txt (line 7)) (21.3)
Requirement already satisfied: filelock in c:\python310\lib\site-packages (from transformers->-r requirements.txt (line 7)) (3.8.0)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in c:\python310\lib\site-packages (from transformers->-r requirements.txt (line 7)) (0.13.1)
Requirement already satisfied: pyyaml>=5.1 in c:\python310\lib\site-packages (from transformers->-r requirements.txt (line 7)) (6.0)
Requirement already satisfied: huggingface-hub<1.0,>=0.10.0 in c:\python310\lib\site-packages (from transformers->-r requirements.txt (line 7)) (0.10.1)
Requirement already satisfied: regex!=2019.12.17 in c:\python310\lib\site-packages (from transformers->-r requirements.txt (line 7)) (2022.9.13)
Requirement already satisfied: colorama in c:\python310\lib\site-packages (from tqdm->-r requirements.txt (line 10)) (0.4.6)
Requirement already satisfied: PyQt5-sip<13,>=12.11 in c:\python310\lib\site-packages (from PyQt5>=5.15.4->-r requirements.txt (line 12)) (12.11.0)
Requirement already satisfied: PyQt5-Qt5>=5.15.0 in c:\python310\lib\site-packages (from PyQt5>=5.15.4->-r requirements.txt (line 12)) (5.15.2)
Requirement already satisfied: beautifulsoup4 in c:\python310\lib\site-packages (from bs4->-r requirements.txt (line 17)) (4.11.1)
Requirement already satisfied: cython in c:\python310\lib\site-packages (from pkuseg->-r requirements.txt (line 20)) (0.29.32)
Requirement already satisfied: lxml>=2.3.2 in c:\python310\lib\site-packages (from python-docx->-r requirements.txt (line 23)) (4.9.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in c:\python310\lib\site-packages (from packaging>=20.0->transformers->-r requirements.txt (line 7)) (3.0.9)
Requirement already satisfied: idna<4,>=2.5 in c:\python310\lib\site-packages (from requests->torchvision->-r requirements.txt (line 6)) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in c:\python310\lib\site-packages (from requests->torchvision->-r requirements.txt (line 6)) (2022.9.24)
Requirement already satisfied: charset-normalizer<3,>=2 in c:\python310\lib\site-packages (from requests->torchvision->-r requirements.txt (line 6)) (2.1.1)
Requirement already satisfied: soupsieve>1.2 in c:\python310\lib\site-packages (from beautifulsoup4->bs4->-r requirements.txt (line 17)) (2.3.2.post1)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
Installing collected packages: pkuseg
DEPRECATION: pkuseg is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for pkuseg ... error
error: subprocess-exited-with-error
× Running setup.py install for pkuseg did not run successfully.
│ exit code: 1
╰─> [68 lines of output]
running install
C:\Python310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\pkuseg
copying pkuseg\config.py -> build\lib.win-amd64-cpython-310\pkuseg
copying pkuseg\data.py -> build\lib.win-amd64-cpython-310\pkuseg
copying pkuseg\download.py -> build\lib.win-amd64-cpython-310\pkuseg
copying pkuseg\gradient.py -> build\lib.win-amd64-cpython-310\pkuseg
copying pkuseg\model.py -> build\lib.win-amd64-cpython-310\pkuseg
copying pkuseg\optimizer.py -> build\lib.win-amd64-cpython-310\pkuseg
copying pkuseg\res_summarize.py -> build\lib.win-amd64-cpython-310\pkuseg
copying pkuseg\scorer.py -> build\lib.win-amd64-cpython-310\pkuseg
copying pkuseg\trainer.py -> build\lib.win-amd64-cpython-310\pkuseg
copying pkuseg\__init__.py -> build\lib.win-amd64-cpython-310\pkuseg
creating build\lib.win-amd64-cpython-310\pkuseg\dicts
copying pkuseg\dicts\__init__.py -> build\lib.win-amd64-cpython-310\pkuseg\dicts
creating build\lib.win-amd64-cpython-310\pkuseg\models
copying pkuseg\models\__init__.py -> build\lib.win-amd64-cpython-310\pkuseg\models
creating build\lib.win-amd64-cpython-310\pkuseg\postag
copying pkuseg\postag\model.py -> build\lib.win-amd64-cpython-310\pkuseg\postag
copying pkuseg\postag\__init__.py -> build\lib.win-amd64-cpython-310\pkuseg\postag
creating build\lib.win-amd64-cpython-310\pkuseg\models\default
copying pkuseg\models\default\__init__.py -> build\lib.win-amd64-cpython-310\pkuseg\models\default
copying pkuseg\feature_extractor.pyx -> build\lib.win-amd64-cpython-310\pkuseg
copying pkuseg\inference.pyx -> build\lib.win-amd64-cpython-310\pkuseg
copying pkuseg\dicts\default.pkl -> build\lib.win-amd64-cpython-310\pkuseg\dicts
copying pkuseg\postag\feature_extractor.pyx -> build\lib.win-amd64-cpython-310\pkuseg\postag
copying pkuseg\models\default\features.pkl -> build\lib.win-amd64-cpython-310\pkuseg\models\default
copying pkuseg\models\default\weights.npz -> build\lib.win-amd64-cpython-310\pkuseg\models\default
running build_ext
skipping 'pkuseg\inference.cpp' Cython extension (up-to-date)
cythoning pkuseg/feature_extractor.pyx to pkuseg\feature_extractor.c
cythoning pkuseg/postag/feature_extractor.pyx to pkuseg/postag\feature_extractor.c
building 'pkuseg.inference' extension
creating build\temp.win-amd64-cpython-310
creating build\temp.win-amd64-cpython-310\Release
creating build\temp.win-amd64-cpython-310\Release\pkuseg
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Python310\lib\site-packages\numpy\core\include -IC:\Python310\include -IC:\Python310\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tppkuseg\inference.cpp /Fobuild\temp.win-amd64-cpython-310\Release\pkuseg\inference.obj
inference.cpp
C:\Python310\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
pkuseg\inference.cpp(3118): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
pkuseg\inference.cpp(4284): warning C4244: '=': conversion from 'npy_intp' to 'int', possible loss of data
pkuseg\inference.cpp(4285): warning C4244: '=': conversion from 'npy_intp' to 'int', possible loss of data
pkuseg\inference.cpp(5108): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
pkuseg\inference.cpp(6219): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
pkuseg\inference.cpp(6807): warning C4244: 'argument': conversion from 'Py_ssize_t' to 'int', possible loss of data
pkuseg\inference.cpp(22327): error C2105: '++' needs l-value
pkuseg\inference.cpp(22329): error C2105: '--' needs l-value
pkuseg\inference.cpp(22616): error C2105: '++' needs l-value
pkuseg\inference.cpp(22618): error C2105: '--' needs l-value
pkuseg\inference.cpp(22855): error C2105: '++' needs l-value
pkuseg\inference.cpp(22857): error C2105: '--' needs l-value
pkuseg\inference.cpp(23619): error C2039: 'tp_print': is not a member of '_typeobject'
C:\Python310\include\cpython/object.h(191): note: see declaration of '_typeobject'
pkuseg\inference.cpp(23624): error C2039: 'tp_print': is not a member of '_typeobject'
C:\Python310\include\cpython/object.h(191): note: see declaration of '_typeobject'
pkuseg\inference.cpp(23639): error C2039: 'tp_print': is not a member of '_typeobject'
C:\Python310\include\cpython/object.h(191): note: see declaration of '_typeobject'
pkuseg\inference.cpp(23652): error C2039: 'tp_print': is not a member of '_typeobject'
C:\Python310\include\cpython/object.h(191): note: see declaration of '_typeobject'
pkuseg\inference.cpp(24323): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3
pkuseg\inference.cpp(24339): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3
pkuseg\inference.cpp(26222): warning C4996: 'PyUnicode_FromUnicode': deprecated in 3.3
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> pkuseg
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
I'm a new guy,and I want to know how to zoom the picture,the pictures I opened seems too big,and I have no idea to zoom them
先祝大佬2023元旦新年快乐
您说2023年前更新OCR
我还以为至少要农历的年呢 没想到 今天起来就看到您更新出来了
然后 我发现个问题 如上边的视频所演示的那样
在漫画这边的气泡里写字
在右侧的文本框里显示不全
我开始以为是不是我字体的问题?
换了挺多字体 微软 方正 思源 都是这个问题
我确定不是我字体的事情
遂来发帖
The annoying thing is that when I'm about to edit a selected block on a page, I move the mouse to another block and everything flies off. And I also wanted the text blocks (on the right) to move the focus only when I click on the input box.
Suppose I've drawn something, but I want to erase some extra pieces and there is no eraser. If click Right mouse button, it turns on permanent drawing mode altogether
The video shows how it just starts drawing all the time after right-clicking
Traceback (most recent call last):
File "E:\dev2\BallonsTranslator-master\ui\mainwindowbars.py", line 265, in onOpenProj
self.open_dir.emit()
TypeError: LeftBar.open_dir[str] signal has 1 argument(s) but 0 provided
Maybe you just haven't implemented it yet but as there are no Exeptions that show it so I wanted to be sure
hello, is it possible to add to them the ability to enter the same text when selecting several areas of text? (paste copied text) Let's say I need to paste one number "1" into 10 different text clouds, it's inconvenient to enter them in turn everywhere. is it possible to add a text alignment feature? create guides like in Photoshop so that text can align with them is it possible to make it possible to copy multiple areas with text and paste them elsewhere? Let's say I want to copy two areas of text and paste them side by side so they're aligned. sorry if there are such functions, I read the instructions in Russian and did not understand anything ... perhaps the translation of the instructions is incorrect. if you want, I can later translate the instruction into Russian and send it to you, perhaps it will come in handy for some of the Russian-speaking users
I would like to simply move the folder, say, to the left menu from Explorer, so that the program would search for images in it. You can also add a default path function, where you can simply add the working folder, with all the material
Pin/Favourite fonts (show pinned or recently used fonts on top)
Shortcut to change page (Already available A/D I thought it was for scrolling up down)
Option to remove images from the sidebar list
And few questions:
How can I select single image to edit ? I don't want to import whole folder but only selected images.
How can I perform OCR + Translation + Inpainting on selected (current) page or bubble only.
I would like to change the theme of the application. At night, it makes the eyes hurt to look at the white interface.
Figma has a pretty handy feature. When you press the middle mouse button, you can move the page (not the object). It would be convenient not to select a special drag tool, but just hold down the middle mouse button
碰到字体轮廓20%或其他比列就只能一个个改,能不能默认字体黑色,轮廓白色.
Hello, is it possible to get a new offline model from manga rikai to be incorporated into ballonstranslator after the new toolkit released by MingShiba please? Thank you!
Would it be possible to add support for a pytorch model (in the form of a .pt file) instead of the .model and .bin model that is currently used, as I have another model I would like to use instead of the one provided. The sugoi offline model is being improved and it would be nice to use future improved models with the program.
I am unsure as how to achieve this myself but I would appreciate any tips on how to edit the source code to use the different model format or how to convert my model in to the model format required.
1.竖向文本排版中,符号不会转
2. 在软件中的快捷键说明不够
3. 画笔工具会在所有图片上生效
4. 1.3.0相对1.2.0更容易崩溃
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.