jrcs1710 / tesseract-android-tools

Automatically exported from code.google.com/p/tesseract-android-tools
0 stars 0 forks source link

Unable to run the tests successfully #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Follow the README file for installtion. 
2. Follow the modifications in this site: 
http://rmtheis.wordpress.com/2011/08/06/using-tesseract-tools-for-android-to-cre
ate-a-basic-ocr-app/
3. Try to run the test app

What is the expected output? What do you see instead?
Expected: the test runs are successful. 
What I see: I see all(3) tests failing and the following message :

junit.framework.AssertionFailedError: Make sure that you've copied 
eng.traineddata to /mnt/sdcard/tesseract/tessdata/eng.traineddata

What version of the product are you using? On what operating system?
Tesseract 3.00
Leptonica 1.66
Ubuntu 11.04

Please provide any additional information below.

I look up the /mnt/sdcard/ and I dont see any tesseract folder. 
I created one myself. i.e. /mnt/sdcard/tesseract/tessdata/eng.trainddata
but it still doesnt work. 

Btw, this might be important: When I mount the sdcard, I dont get any 
/mnt/sdcard filestructure. Instead I get 7.9 GB 3664-3434/Filesystem/ which I 
guess is supposed to be /mnt/sdcard. 

What the reason it is named differently? Should I rename them to mnt and sdcard?

Original issue reported on code.google.com by kish...@iitgn.ac.in on 5 Oct 2011 at 7:45

GoogleCodeExporter commented 8 years ago
Updated README with instructions for installing training data.

Original comment by alanv@google.com on 11 Sep 2012 at 8:26