public class LoadLibs extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LIB_NAME
Native library name.
|
static String |
LIB_NAME_NON_WIN |
static String |
TESS4J_TEMP_DIR |
Constructor and Description |
---|
LoadLibs() |
Modifier and Type | Method and Description |
---|---|
static File |
extractTessResources(String resourceName)
Extracts tesseract resources to temp folder.
|
static TessAPI |
getTessAPIInstance()
Loads Tesseract library via JNA.
|
static String |
getTesseractLibName()
Gets native library name.
|
public static final String TESS4J_TEMP_DIR
public static final String LIB_NAME
public static final String LIB_NAME_NON_WIN
public static TessAPI getTessAPIInstance()
Native.loadLibrary()
.public static String getTesseractLibName()
Native.register()
.Copyright © 2017 Tess4J. All Rights Reserved.