Skip to content

Commit

Permalink
Merge pull request #75 from dmMaze/ocr_selected_textblocks
Browse files Browse the repository at this point in the history
Ocr selected textblocks
  • Loading branch information
dmMaze authored Dec 31, 2022
2 parents e160e45 + 86d40a4 commit 7174a11
Show file tree
Hide file tree
Showing 17 changed files with 443 additions and 77 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Changelogs

### 2022-12-30
[v1.3.18](https://github.com/dmMaze/BallonsTranslator/releases/tag/v1.3.18)发布
[v1.3.20](https://github.com/dmMaze/BallonsTranslator/releases/tag/v1.3.20)发布
1. 适应具有极端宽高比的图片比如条漫
2. 支持粘贴到多个选中的文本编辑框
3. 修bug
4. OCR/翻译/修复选中文字区域, 填字样式会继承选中的文字框自己的
单行文本建议选用ctc_48px, 多行日文选mangocr, 目前对多行其它语言不太行, 需要重新训练检测模型
<img src="doc/src/ocrselected.gif" div align=center>

### 2022-11-29
[v1.3.15](https://github.com/dmMaze/BallonsTranslator/releases/tag/v1.3.15)发布
Expand Down
8 changes: 6 additions & 2 deletions CHANGELOG_EN.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# Changelogs

### 2022-12-30
[v1.3.18](https://github.com/dmMaze/BallonsTranslator/releases/tag/v1.3.18) released
### 2022-12-31
[v1.3.20](https://github.com/dmMaze/BallonsTranslator/releases/tag/v1.3.20) released
1. Adapted to images with extreme aspect ratio such as webtoons
2. Support paste text to multiple selected Text blocks.
3. Bugfixes
4. OCR/Translate/Inpaint selected text blocks
lettering style will inherit from corresponding selected block.
ctc_48px is more recommended for single line text, mangocr for multi-line Japanese, need to retrain detection model to perform better
<img src="doc/src/ocrselected.gif" div align=center>

### 2022-11-29
[v1.3.15](https://github.com/dmMaze/BallonsTranslator/releases/tag/v1.3.15) released
Expand Down
2 changes: 1 addition & 1 deletion ballontranslator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# 1. MAJOR version when you make incompatible API changes;
# 2. MINOR version when you add functionality in a backwards-compatible manner;
# 3. PATCH version when you make backwards-compatible bug fixes.
__version__ = "1.3.19"
__version__ = "1.3.20"
Binary file modified ballontranslator/data/translate/zh_CN.qm
Binary file not shown.
Loading

0 comments on commit 7174a11

Please sign in to comment.