Comments (7)
I've tried two versions of eng.traineddata. One is a 1.8MB one provided by
someone in above issues, with a result of "he\\o" ; the other is 3MB, from
http://code.google.com/p/tesseract-ocr/downloads/list, resuource
"tesseract-3.01-doc-html.tar.gz ", with a result of "heHo".
Original comment by [email protected]
on 12 May 2012 at 12:14
from tesseract-android-tools.
[deleted comment]
from tesseract-android-tools.
[deleted comment]
from tesseract-android-tools.
Today I've tested testGetUTF8Text again, using the 2.96MB or 3MB version of
eng.traineddata. The test against "hello" is surprisingly OK now (I haven't
made any change of the code). But the test against "hello,world!
0123456789/*-+" fails. Bellow is the stack trace:
junit.framework.AssertionFailedError: "he||0,w0r|d! 0123456789/<X--+" !=
"hello,world! 0123456789/*-+"
at
com.googlecode.tesseract.android.test.TessBaseAPITest.testGetUTF8Text(TessBaseAP
ITest.java:123)
at java.lang.reflect.Method.invokeNative(Native Method)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
at
android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:52
9)
at
android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1448)
I've also attached a generated image file of string "hello,world!
0123456789/*-+".
Original comment by [email protected]
on 15 May 2012 at 3:36
Attachments:
from tesseract-android-tools.
[deleted comment]
from tesseract-android-tools.
And,... something else: If I use "hello, world! 0123456789/*-+", note that
there is a space after the comma now, then the recognized string is:"hello,
world! 0123456789/<X--+". Pretty accurate now, although not perfect. Maybe my
font is not distinguishable or not large enough.
Original comment by [email protected]
on 15 May 2012 at 6:49
from tesseract-android-tools.
Test is stable using data file in updated README.
Original comment by [email protected]
on 11 Sep 2012 at 8:38
- Changed state: Fixed
from tesseract-android-tools.
Related Issues (20)
- PSM constants are incorrect HOT 1
- Add tests for Bitmap <=> Pix conversion
- Error in loading eng.traineddata (3.01) using com.android.content.res.AssetManager() HOT 6
- Can not figure out which word corresponds to which confidence value. Hope the output api is as rich as in tesseract C++ API. HOT 1
- Getting Fatal signal 11 error while capture line of numbers HOT 1
- Update to Tesseract 3.02 HOT 1
- Missing files for native build HOT 1
- Binarize Image in tesseract
- How do I use tesseract-andriod-tools?
- WriteFile don't work as expected
- ndk-build fail allheaders.h missing HOT 4
- ndk-build failure due to unsafe fprintf usage in tesseract source. HOT 1
- Assert failed when using tesseract with PSM_OSD_ONLY flag
- nativeSetImage not found
- ChoiceIterator
- Getting result words array
- javax.imageio.IIOException: ICC APP2 encountered without prior JFIF in Tesseract OCR
- root galaxy centra sch-7
- how to Image binarization
- error on compiling tessaract-android-tools ndk-build fails
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 tesseract-android-tools.