Skip to content

Commit 459da93

Browse files
committed
added note on how to create CSV files with SimpleHTR model
1 parent 3a44594 commit 459da93

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
*.log
33
doc/notes.txt
44
doc/matrix.svg
5-
__pycache__/
5+
__pycache__/
6+
.idea/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The only path which gives "" still has probability 0.36, therefore "a" is the re
6464

6565
The **Word example** testcase contains a single word from the IAM Handwriting Database \[4\].
6666
It is used to test lexicon search \[3\].
67-
RNN output was generated with the [SimpleHTR](https://github.com/githubharald/SimpleHTR) model.
67+
RNN output was generated with the [SimpleHTR](https://github.com/githubharald/SimpleHTR) model (by using the `--dump` option).
6868
Lexicon search first computes an approximation with best path decoding, then searches for similar words in a dictionary using a BK tree, and finally scores them by computing the loss and returning the most probable dictionary word.
6969
Best path decoding outputs "aircrapt", lexicon search is able to find similar words like "aircraft" and "airplane" in the dictionary, calculates a score for each of them and finally returns "aircraft", which is the correct result.
7070
The figure below shows the input image and the RNN output matrix with 32 time-steps and 80 classes (the last one being the CTC-blank).

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy