public class Vision
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
|
Vision() |
protected |
Vision(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
static double |
compare(Mat m1,
Mat m2) |
static Mat |
createMat(int _rows,
int _cols,
byte[] _data) |
void |
delete() |
protected void |
finalize() |
static FindResults |
find(FindInput q) |
static FindResults |
findBlobs(Mat image) |
static FindResults |
findBlobs(Mat image,
boolean textOnly) |
static FindResults |
findChanges(FindInput q) |
static FindResults |
findTextBlobs(Mat image) |
protected static long |
getCPtr(Vision obj) |
static float |
getParameter(java.lang.String param) |
static void |
initOCR(java.lang.String ocrDataPath) |
static java.lang.String |
query(java.lang.String index_filename,
Mat image) |
static OCRText |
recognize_as_ocrtext(Mat image) |
static java.lang.String |
recognize(Mat image) |
static java.lang.String |
recognizeWord(Mat image) |
static void |
setParameter(java.lang.String param,
float val) |
protected static long getCPtr(Vision obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public static FindResults find(FindInput q)
public static FindResults findChanges(FindInput q)
public static void initOCR(java.lang.String ocrDataPath)
public static java.lang.String query(java.lang.String index_filename, Mat image)
public static FindResults findBlobs(Mat image, boolean textOnly)
public static FindResults findBlobs(Mat image)
public static FindResults findTextBlobs(Mat image)
public static java.lang.String recognize(Mat image)
public static java.lang.String recognizeWord(Mat image)
public static Mat createMat(int _rows, int _cols, byte[] _data)
public static void setParameter(java.lang.String param, float val)
public static float getParameter(java.lang.String param)