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,
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()
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 Wed Jul 4 2018 14:01:58 UTC / OpenCV 3.4.2