Skip to content

Commit

Permalink
v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmMaze committed May 19, 2022
1 parent 2cdc2f9 commit e836973
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 7 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelogs

### 2022-05-19
[v1.2.0](https://github.com/dmMaze/BallonsTranslator/releases/tag/v1.2.0)发布

1. 支持DeepL翻译器, 感谢[@Snowad14](https://github.com/Snowad14)
2. 增加来自manga-image-translator的新OCR模型, 支持韩语识别
3. 修bug


### 2022-04-17
[v1.1.0](https://github.com/dmMaze/BallonsTranslator/releases/tag/v1.1.0)发布

Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG_EN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelogs

### 2022-05-19
[v1.2.0](https://github.com/dmMaze/BallonsTranslator/releases/tag/v1.2.0) released

1. Support DeepL, thanks to [@Snowad14](https://github.com/Snowad14)
2. Add new ocr model from manga-image-translator, support korean recognition
3. Bugfixes

### 2022-04-17

[v1.1.0](https://github.com/dmMaze/BallonsTranslator/releases/tag/v1.1.0) released
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@

### OCR
* mit_32px模型来自manga-image-translator, 支持日英汉识别和颜色提取
* mit48px_ctc模型来自manga-image-translator, 支持日英汉韩语识别和颜色提取
* [manga_ocr](https://github.com/kha-white/manga-ocr)来自[kha-white](https://github.com/kha-white), 支持日语识别, 注意选用该模型程序不会提取颜色

### 图像修复
Expand Down
1 change: 1 addition & 0 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ Support English and Japanese text detection, training code and more details can

### OCR
* mit_32px text recognition model is from manga-image-translator, support English and Japanese recognition and text color extraction.
* mit_48px text recognition model is from manga-image-translator, support English, Japanese and Korean recognition and text color extraction.
* [manga_ocr](https://github.com/kha-white/manga-ocr) is from [kha-white](https://github.com/kha-white),

### Inpainting
Expand Down
12 changes: 6 additions & 6 deletions ballontranslator/ui/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ def setupConfig(self):
self.bottomBar.transChecker.setChecked(self.config.dl.enable_translate)

self.dl_manager = dl_manager = DLManager(self.config.dl, self.imgtrans_proj, self.configPanel)
self.dl_manager.update_translator_status.connect(self.updateTranslatorStatus)
self.dl_manager.update_inpainter_status.connect(self.updateInpainterStatus)
self.dl_manager.finish_translate_page.connect(self.finishTranslatePage)
self.dl_manager.imgtrans_pipeline_finished.connect(self.on_imgtrans_pipeline_finished)
self.dl_manager.page_trans_finished.connect(self.on_pagtrans_finished)
self.dl_manager.progress_msgbox.showed.connect(self.on_imgtrans_progressbox_showed)
dl_manager.update_translator_status.connect(self.updateTranslatorStatus)
dl_manager.update_inpainter_status.connect(self.updateInpainterStatus)
dl_manager.finish_translate_page.connect(self.finishTranslatePage)
dl_manager.imgtrans_pipeline_finished.connect(self.on_imgtrans_pipeline_finished)
dl_manager.page_trans_finished.connect(self.on_pagtrans_finished)
dl_manager.progress_msgbox.showed.connect(self.on_imgtrans_progressbox_showed)

self.leftBar.run_imgtrans.connect(self.on_run_imgtrans)
self.bottomBar.ocrcheck_statechanged.connect(dl_manager.setOCRMode)
Expand Down
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
nuitka --standalone --mingw64 --nofollow-imports --show-memory --show-progress ^
--enable-plugin=pyqt5 --include-qt-plugins=sensible,styles ^
--follow-import-to=dl,utils,ui --include-plugin-directory=ballontranslator/dl,ballontranslator/ui,ballontranslator/utils ^
--windows-product-version=1.1.3.0 --windows-company-name=DUMMY_WINDOWS_COMPANY_NAME --windows-product-name=BallonTranslator ^
--windows-product-version=1.2.0.0 --windows-company-name=DUMMY_WINDOWS_COMPANY_NAME --windows-product-name=BallonTranslator ^
--output-dir=release BallonTranslator

0 comments on commit e836973

Please sign in to comment.