Comments (3)
Not really. Maybe try seeing if it's a v3.01 vs. v3.02 problem.
from tess-two.
Solved!
The problem was (not found in wiki but in issues of tesseract-ocr) not calling shapeclustering (https://code.google.com/p/tesseract-ocr/issues/detail?id=629#c8).
Never thought solving a problem that simple when the backtrace looks like this:
0x5c38457a in ERRCODE::error (this=0x5c4bf638, caller=<optimized out>, action=ABORT, format=0x5c475eb4 "in file %s, line %d")
at jni/com_googlecode_tesseract_android/src/ccutil/errcode.cpp:86
86 if (!*p)
(gdb) bt
#0 0x5c38457a in ERRCODE::error (this=0x5c4bf638, caller=<optimized out>, action=ABORT, format=0x5c475eb4 "in file %s, line %d")
at jni/com_googlecode_tesseract_android/src/ccutil/errcode.cpp:86
#1 0x5c33ea6c in get (index=8, this=0xfc2a7c) at jni/com_googlecode_tesseract_android/src/ccutil/genericvector.h:512
#2 UnicityTable<tesseract::FontInfo>::get (this=0xfc2a7c, id=8) at jni/com_googlecode_tesseract_android/src/ccutil/unicity_table.h:133
#3 0x5c4204b0 in tesseract::LanguageModel::FillConsistencyInfo (this=0xfd40b8, curr_col=1, word_end=<optimized out>, b=0x1035a10,
parent_vse=0x1035b90, parent_b=0x10359d0, chunks_record=0xbeabd188, consistency_info=0xbeabced8)
at jni/com_googlecode_tesseract_android/src/wordrec/language_model.cpp:1124
#4 0x5c422926 in tesseract::LanguageModel::AddViterbiStateEntry (this=0xfd40b8, top_choice_flags=7 '\a', denom=1,
word_end=<optimized out>, curr_col=1, curr_row=1, b=0x1035a10, parent_b=0x10359d0, parent_vse=0x1035b90, pain_points=0x1027fe0,
best_path_by_column=0xbeabd100, chunks_record=0xbeabd188, best_choice_bundle=0xbeabd114, blamer_bundle=0x0)
at jni/com_googlecode_tesseract_android/src/wordrec/language_model.cpp:506
#5 0x5c4232a4 in tesseract::LanguageModel::UpdateState (this=0xfd40b8, changed=<optimized out>, curr_col=1, curr_row=<optimized out>,
curr_list=0x1035a00, parent_list=0x10359c0, pain_points=0x1027fe0, best_path_by_column=0xbeabd100, chunks_record=0xbeabd188,
best_choice_bundle=0xbeabd114, blamer_bundle=0x0) at jni/com_googlecode_tesseract_android/src/wordrec/language_model.cpp:372
#6 0x5c4256f6 in tesseract::Wordrec::UpdateSegSearchNodes (this=0xfc2418, starting_col=1, pending=0xbeabd10c,
best_path_by_column=0xbeabd100, chunks_record=0xbeabd188, pain_points=0x1027fe0, best_choice_bundle=0xbeabd114, blamer_bundle=0x0)
at jni/com_googlecode_tesseract_android/src/wordrec/segsearch.cpp:215
#7 0x5c425a1e in tesseract::Wordrec::SegSearch (this=0xfc2418, chunks_record=0xbeabd188, best_choice=0xf15f18,
best_char_choices=<optimized out>, raw_choice=0x1034708, output_best_state=0xbeabd28c, blamer_bundle=0x0)
at jni/com_googlecode_tesseract_android/src/wordrec/segsearch.cpp:114
#8 0x5c419ec0 in tesseract::Wordrec::word_associator (this=0xfc2418, only_create_ratings_matrix=<optimized out>, word=0xf1e200,
state=0xbeabd28c, best_char_choices=0x1034828, fixpt=0xbeabd294, best_state=0xbeabd28c)
at jni/com_googlecode_tesseract_android/src/wordrec/chopper.cpp:1030
#9 0x5c41ae96 in tesseract::Wordrec::chop_word_main (this=0xfc2418, word=0xf1e200)
at jni/com_googlecode_tesseract_android/src/wordrec/chopper.cpp:646
...
from tess-two.
Glad you got it fixed. I think the shapeclustering piece is new and hasn't made it into the instructions yet.
from tess-two.
Related Issues (20)
- Initializing TessBaseAPI crashes app HOT 2
- How to build tess-two without JNI? HOT 1
- error in Android 7.0 HOT 1
- import tess two error HOT 4
- Arabic trained-data produce 20% accuracy HOT 2
- java.lang.NoSuchFieldError: no "I" field "mNativeData" in class "Lcom/googlecode/tesseract/android/TessBaseAPI;" or its superclasses HOT 2
- java.lang.NoSuchFieldError: no "I" field "mNativeData" in class "Lcom/googlecode/tesseract/android/TessBaseAPI;" or its superclasses HOT 2
- How I can init the tesseract to work only with digits? HOT 5
- tess4 on android studio HOT 1
- Tess4 initialize crash HOT 1
- Can't lanch
- Could not initialize Tesseract API with language=ces! HOT 2
- Illegible words recognition in Persian lang HOT 2
- Getting different results when using tesseract on mobile vs on PC using Python. HOT 2
- Decoding is slow when multiple languages are used HOT 2
- In versions higher than 5.4.1 TessBaseAPI.ProgressNotifier never called HOT 1
- Native crush when 'vert'.tessdata is used HOT 1
- read Jpeg and PNG produce wrong alpha in 32bpp pix HOT 4
- Crash on Android L HOT 2
- AndroidX support 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 tess-two.