Comments (9)
Thanks for the bug report. I'll have a look.
Did you use the batch recognition or recognition tab?
from tesseract4java.
Unfortunately I cannot reproduce the error. Does it also occur with other traineddata files or images? If not, can you send me the traineddata file?
from tesseract4java.
This was just with the recognition tab. I tried with various images/traineddata. The program window just disappears without any dialogue. I later found the error logs in the directory where the jar file is.
I will test again later and report.
from tesseract4java.
Seems to be some conflict with libtesseract.
I updated java.
I also tried using a batch file such as follows:
set TESSDATA_PREFIX=C:\Users\User\Documents\shree
echo %TESSDATA_PREFIX%
start javaw -Xms128m -Xmx1024m -jar tesseract4java-0.1.0-windows-x86.jar
The program used to start and work for a while before crashing, I was able to open box files and view them by character. After one of the crashes, now program does not start at all - just creates error log ..
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x68d7359d, pid=7672, tid=0x000007a0
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: Java HotSpot(TM) Client VM (25.101-b13 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [libtesseract-3.dll+0x17359d]
#
Complete log file is attached.
from tesseract4java.
The program window just disappears without any dialogue.
Unfortunately it is not easy to prevent the JVM from crashing when there's such an EXCEPTION_ACCESS_VIOLATION
. The only way would be to run Tesseract from another JVM process, which would make things more complex -- but probably that's the way to go.
Thanks for the new error log. This seems to be a similar but different issue than your problem yesterday. I can see from the log that the error occurred when running batch recognition. Probably you selected a traineddata file that causes Tesseract (or at least the bundled dll) to crash.
Yesterday the error occurred directly in the recognition tab, so it is a different problem, but both should be solved.
If you can't start the software any more, you can delete the Windows Registry key HKEY_CURRENT_USER\Software\JavaSoft\Prefs\de\vorb\tesseract\gui\model\training_file
. Alternatively, you can change it to another traineddata file (try "eng").
from tesseract4java.
It would be great if you could send me the traineddata file, so I can reproduce and fix the error.
from tesseract4java.
I deleted the Windows registry entry and now it is NOT crashing. You may close the issue.
from tesseract4java.
Problem was coming with the eng.traineddata also but NOT anymore - so it was related to conflict because of pointing to an external directory for tesseract executable.
Qn. Is eng.traineddata included with program?
from tesseract4java.
No, it's not included with the program. The program has no bundled traineddata files.
from tesseract4java.
Related Issues (20)
- begining with your programm HOT 5
- Describe 32-/64-bit issues on Windows HOT 1
- open tif HOT 7
- Support less-common color models HOT 2
- This program needs work
- we can't find the ocrevalUAtion version "1.3.4-SNAPSHOT " HOT 7
- [issue] No preview displayed HOT 9
- Information about training HOT 3
- Can't set tesseract variables
- Can't even get jar to execute HOT 3
- MVN? HOT 1
- Build tesseract4java errors HOT 4
- [question] how to run tesseract4java on ubuntu? HOT 3
- Add releases to github
- Error opening data file HOT 1
- gui build fails HOT 2
- Java Exception occurred HOT 6
- Does this still work ? HOT 1
- Build fail (ocrevalUAtion) HOT 1
- Do not work on MS Windows HOT 3
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 tesseract4java.