-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
box.train completes with no errors but does not create .tr output #64
Comments
I'm having exactly the same problem than danageva with the same version but over OS X. Apparently zdenop closed the issue with a deletion in two files. I don't have those lines in my installed version. Can you help me please? |
@rodrigosalinas |
I'm having exactly the same problem. I have the latest code from the repo. |
You should provide more details.
Which commit exactly, 1826ac1 ? What OS do you use and the specific version of this OS. For example: Ubuntu 14.04, OS X 10.11, Windows 10. Also, please provide the exact command you used and attach as zip file the tif and box files. |
The exact command is: Required files attached. |
I have Ubuntu 14.04 64 bit. Commit 1826ac1.
Output:
My guess is that you didn't install tesseract properly. Did you run all these commands last time you installed tesseract?
|
I installed it as:
|
if you have previously installed tesseract system-wide (for example, under /usr/local) the command 'tesseract ...' will use that system-wide executable. |
Try this command to see if you have another installation of Tesseract in your machine.
|
... or call |
Nope, there's no other tesseract in my machine. find does not return On 27 January 2016 at 18:36, Amit Dovev [email protected] wrote:
|
@aiwaz, could you try this command:
(Enter |
|
@stweil, I always call tesseract directly. It resides in |
What's the output of:
|
TESSDATA_PREFIX is empty.
|
Does this command produce ult.txt and ult.hocr ? Maybe you should try to set TESSDATA_PREFIX environment variable or use --tessdata-dir parameter. |
Why it wants to load the "osd" language? The files are produced:
When I set the TESSDATA_PREFIX variable the output is the same:
And one more question: when I configure tesseract with --prefix option, I expect tesseract to be smart enough to know where my data are. Why do I have to set TESSDATA_PREFIX variable explicitly? |
Setting TESSDATA_PREFIX is not needed as long as your
|
OK, I was able to reproduce the issue. I will try to figure out why this is happening when installing tesseract in |
I solved @aiwaz issue. More info will follow later. |
@aiwaz, please test my fix. |
zdenko merged my fix to master. |
I tested the fix and confirm that |
👍 |
This commit is better than 06fc053. Hopefully, this is the last fix to box training issue.
This commit is better than 06fc053. Hopefully, this is the last fix to box training issue.
Fix tesseract-ocr#64. Make box training work
This commit is better than 06fc053. Hopefully, this is the last fix to box training issue.
Fix tesseract-ocr#64. Make box training work
This commit is better than 06fc053. Hopefully, this is the last fix to box training issue.
Fix tesseract-ocr#64. Make box training work
This commit is better than 06fc053. Hopefully, this is the last fix to box training issue.
Fix tesseract-ocr#64. Make box training work
Hi,
I'm running 3.05.00dev on Ubuntu 14.04 LTS.
When running:
tesseract eng.Arial.exp0.tif eng.Arial.exp0 box.train
I'm getting a simple one-line output:
Tesseract Open Source OCR Engine v3.05.00dev with Leptonica
However, no
.tr
output file is created (anywhere in the filesystem).My work dir listing is:
Running with gdb doesn't give anything additional.
Anything I can look for for extra info? Any ideas what might be causing this?
Thanks
The text was updated successfully, but these errors were encountered: