Skip to content

Commit 9b57f81

Browse files
committed
docs: update Readme and Changelog for v0.13
1 parent 438b8ff commit 9b57f81

File tree

4 files changed

+51
-10
lines changed

4 files changed

+51
-10
lines changed

CHANGELOG.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@
99

1010
## [Unreleased]
1111

12+
## [0.13] – 2023-03-17
13+
1214
### Added
1315

1416
* OCR for rotated text: the text screenshot is derotated before being forwarded
1517
to an OCR solution.
16-
* See [Manual rotated block OCR in the Readme](https://github.com/fauu/Kamite#manual-rotated-block-ocr))
18+
* See [Manual rotated block OCR in the Readme](https://github.com/fauu/Kamite#manual-rotated-block-ocr)
1719
for usage instructions.
18-
* New version notification in Control GUI / console output.
20+
* New version notification in Control GUI / console output. (To opt out of the
21+
check, set `update.check: no`)
1922
* Option to launch the program with the Session timer paused.
2023
(`sessionTimer.startPaused: yes`)
2124

@@ -33,7 +36,7 @@
3336
* Chunk text is no longer displayed inaccurately in certain circumstances when
3437
in edit mode.
3538
* Spurious websocket connection error messages are no longer shown when shutting
36-
down the backend with an active client connection.
39+
down the program with an active client connection.
3740

3841
## [0.12] – 2023-01-26
3942

@@ -425,7 +428,8 @@
425428

426429
Initial release.
427430

428-
[Unreleased]: https://github.com/fauu/Kamite/compare/v0.12...HEAD
431+
[Unreleased]: https://github.com/fauu/Kamite/compare/v0.13...HEAD
432+
[0.13]: https://github.com/fauu/Kamite/releases/tag/v0.13
429433
[0.12]: https://github.com/fauu/Kamite/releases/tag/v0.12
430434
[0.11]: https://github.com/fauu/Kamite/releases/tag/v0.11
431435
[0.10]: https://github.com/fauu/Kamite/releases/tag/v0.10

README.md

+43-6
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ Kamite using `Kamite.exe` inside the extracted directory.
185185

186186
## Updating Kamite
187187

188-
**When updating, please check [the Changelog](CHANGELOG.md) for breaking chages in
189-
the newer versions.**
188+
**When updating, please check [the Changelog](CHANGELOG.md) for breaking chages
189+
in the newer versions.**
190190

191191
### Linux Generic and Windows
192192

@@ -264,6 +264,9 @@ Below are some non-obvious tips regarding the interface that might come useful.
264264
inactivity. For example, add `sessionTimer.autoPause.after: 45s` to auto-pause
265265
after 45 seconds of inactivity.
266266

267+
* The *session timer* can be set to be paused initially after launching the
268+
program (`sessionTimer.startPaused: yes` to enable).
269+
267270
## Text extraction
268271

269272
The first task when using Kamite is to get text from the immersion material into
@@ -783,7 +786,7 @@ The OCR commands directly available to the user are the following:
783786
![OCR manual block button](media/docs/ocr_manual-block.png) ![OCR manual block vertical button](media/docs/ocr_manual-block-vertical.png) ![OCR manual block horizontal button](media/docs/ocr_manual-block-horizontal.png)
784787
<!-- markdownlint-restore -->
785788

786-
Select area around a block of text and Kamite will OCR the area as is.
789+
Select an area around a block of text and Kamite will OCR the area as is.
787790

788791
For the `tesseract` engine, this command has separate vertical and horizontal
789792
variants that must be chosen manually depending on the orientation of the text
@@ -805,6 +808,31 @@ block detection algorithm has a lot of room for improvement.*
805808
> area will be selected instead of a point. If this happens, Kamite will
806809
> consider the center of this area as the selected point.
807810

811+
##### Manual rotated block OCR
812+
813+
![OCR manual block rotated button](media/docs/ocr_manual-block-rotated.png)
814+
815+
Delimit a rotated block of text; Kamite will de-rotate the resulting area
816+
selection and OCR it.
817+
818+
The delimitation of a rotated block is made with three mouse clicks in
819+
determined spots, as shown in the following illustrations:
820+
821+
![OCR rotated block reference](media/docs/rotated-ocr-reference.png)
822+
823+
Clicks 1 and 2 must be made at the start and end of the initial edge of the text
824+
respectively. Click 3 can be anywhere along the closing edge (pictured as green
825+
above).
826+
827+
> **Note**
828+
> The current implementation of rotated block OCR guesses the text orientation
829+
> based on the rotation. This means the feature will fail in unusual cases, such
830+
> as a block of horizontal text positioned vertically. The current assumption is
831+
> that those cases are extremely rare, but if you find use-cases where they are
832+
> not, please [create a GitHub Issue](https://github.com/fauu/Kamite/issues/new)
833+
> so that the assumption can be updated and the implementation reconsidered.
834+
835+
808836
##### Region OCR
809837

810838
![OCR region button](media/docs/ocr_region.png)
@@ -1532,6 +1560,7 @@ keybindings: {
15321560
global: {
15331561
ocr: {
15341562
manualBlock: …
1563+
manualBlockRotated: …
15351564
autoBlock: … # Instant detection under mouse cursor
15361565
autoBlockSelect: … # Must click to select a point
15371566
@@ -1659,8 +1688,8 @@ chunk: {
16591688
# [RELAODABLE] Perform slight formatting corrections on incoming chunks
16601689
correct: yes
16611690
1662-
# [RELOADABLE] Flash backgrounds of chunk texts in the client's interface on
1663-
# certain occasions
1691+
# [RELOADABLE] Allow flashing backgrounds of chunk texts in the client's
1692+
# interface when they are changed or copied
16641693
flash: yes
16651694
16661695
# [RELOADABLE] Treat incoming chunks as translations and create a new chunk
@@ -1765,6 +1794,7 @@ keybindings: {
17651794
# A key combination to assign to the command. See the "Keyboard shortcuts"
17661795
# section of the Readme for the format specification.
17671796
manualBlock: …
1797+
manualBlockRotated: …
17681798
autoBlock: … # Instant detection under mouse cursor
17691799
autoBlockSelect: … # Must click to select a point
17701800
@@ -1865,6 +1895,9 @@ sessionTimer: {
18651895
# auto-pausing can still be disabled by setting `enable` to `no`)
18661896
after: …
18671897
}
1898+
1899+
# Whether to pause the session timer initially at program launch
1900+
startPaused: no
18681901
}
18691902
18701903
# [RELOADABLE]
@@ -2103,7 +2136,11 @@ page in the Wiki.
21032136
21042137
Kamite never saves your data to disk.
21052138
2106-
Kamite never sends your data through the network, with the following exceptions:
2139+
Kamite only sends data through the internet in the following circumstances:
2140+
2141+
* When `update.check` **is not** set to `no`, a connection to github.com is made
2142+
on every launch in order to check for the availability of a newer version of
2143+
Kamite.
21072144
21082145
* When `ocr.engine` is set to `mangaocr_online`, screenshots of portions of your
21092146
screen are sent to [a Hugging Face Space by detomo][manga-ocr-hf] for text
959 Bytes
Loading

media/docs/rotated-ocr-reference.png

236 KB
Loading

0 commit comments

Comments
 (0)