public class OCRTesseract extends BaseOCR
Modifier | Constructor and Description |
---|---|
protected |
OCRTesseract(long addr) |
Modifier and Type | Method and Description |
---|---|
static OCRTesseract |
__fromPtr__(long addr) |
static OCRTesseract |
create() |
static OCRTesseract |
create(java.lang.String datapath) |
static OCRTesseract |
create(java.lang.String datapath,
java.lang.String language) |
static OCRTesseract |
create(java.lang.String datapath,
java.lang.String language,
java.lang.String char_whitelist) |
static OCRTesseract |
create(java.lang.String datapath,
java.lang.String language,
java.lang.String char_whitelist,
int oem) |
static OCRTesseract |
create(java.lang.String datapath,
java.lang.String language,
java.lang.String char_whitelist,
int oem,
int psmode) |
protected void |
finalize() |
java.lang.String |
run(Mat image,
int min_confidence) |
java.lang.String |
run(Mat image,
int min_confidence,
int component_level) |
java.lang.String |
run(Mat image,
Mat mask,
int min_confidence) |
java.lang.String |
run(Mat image,
Mat mask,
int min_confidence,
int component_level) |
void |
setWhiteList(java.lang.String char_whitelist) |
getNativeObjAddr
public static OCRTesseract __fromPtr__(long addr)
public static OCRTesseract create(java.lang.String datapath, java.lang.String language, java.lang.String char_whitelist, int oem, int psmode)
public static OCRTesseract create(java.lang.String datapath, java.lang.String language, java.lang.String char_whitelist, int oem)
public static OCRTesseract create(java.lang.String datapath, java.lang.String language, java.lang.String char_whitelist)
public static OCRTesseract create(java.lang.String datapath, java.lang.String language)
public static OCRTesseract create(java.lang.String datapath)
public static OCRTesseract create()
public java.lang.String run(Mat image, int min_confidence, int component_level)
public java.lang.String run(Mat image, int min_confidence)
public void setWhiteList(java.lang.String char_whitelist)
Generated on Sun Apr 7 2019 01:18:56 UTC / OpenCV 3.4.6