Comments (8)
As I suspected, incorrect invocation. Should have a look at test-ocr.sh
first: The argument to clstmocr
has to be a text file containing image paths rather than an image file:
kmw@lal:~/projects/dta/ocropus/baz$ echo "test_bin/facs_1_tl_21.bin.png" > test_single.lst
kmw@lal:~/projects/dta/ocropus/baz$ load=baz-4000.clstm ~/built/clstm/clstmocr test_single.lst
#: load = baz-4000.clstm
#: conf = 0
#: output = text
#: save_text = 1
test_bin/facs_1_tl_21.bin.png behalten wird, müißte alsn spätestenm Aniamg Dirz mit den krcben von Solisten
from clstm.
@Christophered Okay, figured it out. You invoked clstmocr
with the env variable conf=1
, i.e.:
load=baz-4000.clstm conf=1 ~/built/clstm/clstmocr test_single.lst
The numbers give you 1. Position in output text, 2. starting pixel (that's a wild guess, @kba Could you pls confirm?), 3. Recognized char (i.e. decimal unicode point), 4. char confidence (i.e. how sure was the system at this point).
If you set conf=0
(or leave it out), the numbers disappear and only the recognized text is printed.
I guess the issue could be closed now, right?
from clstm.
No idea yet but a confirmation of your report:
kmw@lal:~/projects/dta/ocropus/baz$ load=baz.clstm conf=1 ~/built/clstm/clstmocr test_bin/facs_1_tl_21.bin.png
#: load = baz.clstm
#: conf = 1
#: output = text
#: save_text = 1
FATAL: error on open
from clstm.
Using the absolute path does not help either. @kba Could you please have a look at this? I am pretty sure that this caused by incorrect invocation of clstmocr
.
from clstm.
I don't have a machine to test ATM, hopefully in over the weekend I'll get it back @zuphilip Can you try?
from clstm.
@lomograb Can you try and confirm in order to resolve this issue?
from clstm.
@wrznr you are right. now clstmocr produces values, what do they mean?
0 7 32 0.999997
1 19 32 0.999999
2 32 32 0.999993
3 36 32 0.986836
4 41 32 0.997986
5 56 1585 0.998276
6 60 32 0.404907
7 72 1585 0.957227
8 78 1585 0.958865
9 85 1585 0.847094
10 89 1585 0.966943
11 97 32 0.783419
from clstm.
@Christophered I am sorry, but for me it does not produce numbers but rather output text (cf. console output from my post above). If you provide your invocation command, I will try to interpret those numbers.
from clstm.
Related Issues (20)
- core dumped, w != 0 failed
- Missing last char of the line. HOT 4
- Sort and Sed commands are causing the model not to train (ERROR 1/OUT is empty) HOT 2
- Arabic 800,000 model cant go below Error Rate 0.5 HOT 4
- Always missing one character in the output HOT 3
- Can I use this tool to do scene text detection + recognition ? HOT 2
- Is it possible to train multiple languages on a one model file ? HOT 6
- Error in training uw3-500
- Segmentation fault when running clstmocr on pre-trained model HOT 1
- Error while using clstm models that I trained and test it !
- I want to use gpu to speed up training model! How do I do, I follow the previous issu to do but failed
- error: use of undeclared identifier 'environ' HOT 6
- How to optimally prepare the data
- Segmentation Fault when running tests HOT 1
- Inaccurate training
- question: clstmocrtrain on GPU
- How to make predictions using python code
- Is there a graphical depiction of the model being used/trained here? HOT 4
- question HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clstm.