java tesseract 4.0.0-1.4.4

prompt:

Recommended direct use tess4j, tess4j is a package tesseract, and easier to use

First introduced dependence

<!-- https://mvnrepository.com/artifact/org.bytedeco.javacpp-presets/tesseract -->
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>tesseract</artifactId>
<version>4.0.0-1.4.4</version>
</dependency>

Then you still have to download the installation file

https://sourceforge.net/projects/tesseract-ocr-alt/files/

If not open, then you go abroad download, download finished and then brought back. Or find domestic Mirror

For peace of mind, all the checkboxes 

Administrator cmd to open the test

Command empty page !! errors should be images that are too low dpi resolution and

For example, I try to identify will not do

Enough to change a map

Although the recognition rate is not very good

 

But it shows that the code is no problem

 

Guess you like

Origin www.cnblogs.com/jnhs/p/11314553.html