exception when using tesseract ocr by java -


I'm trying to use Tesseract OCR and Ive got this exception running when on eclipse. Exception in the form "main" java.lang.NoClassDefFoundError: org / Apache / Commons / IO / net.sourceforge.tess4j.util.LoadLibs on net.sourceforge.tess4j.util.LoadLibs in the

  formula. FileUtils on copyJarResourceToDirectory (unknown source). ExtractTessResources (unknown source) at net.sourceforge.tess4j.util.LoadLibs. & Lt; Clinit & gt; (Unknown source) at net.sourceforge.tess4j.TessAPI & Lt; Clinit & gt; (Unknown source) at net.sourceforge.tess4j.Tesseract Init (unknown source) on net.sourceforge.tess4j.Tesseract.doOCR at net.sourceforge.tess4j.Tesseract.doOCR at net.sourceforge.tess4j.Tesseract.doOCR (unknown source) (unknown source) (unknown source). Main (Run.Java 42)  

Exceptional code is -

  Tesseract example = Tesseract.getInstance (); Try {string crapcha = example.docor (image); Println (captcha);  

The first line 40. It used to say in the problem 40, but now after playing it with this 42.

Ive found says less as tess4j.jar, jai_imageio, jna .jar

What do I have to do to perform OCR work?

  `org / apache / commons / io / fileUtils`  

It appears that you do not have Apache s commons-IO .jar. You can find it:


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -