public class FaceRecognizer extends Algorithm
Modifier | Constructor and Description |
---|---|
protected |
FaceRecognizer(long addr) |
Modifier and Type | Method and Description |
---|---|
static FaceRecognizer |
__fromPtr__(long addr) |
protected void |
finalize() |
java.lang.String |
getLabelInfo(int label) |
MatOfInt |
getLabelsByString(java.lang.String str) |
void |
predict_collect(Mat src,
PredictCollector collector) |
int |
predict_label(Mat src) |
void |
predict(Mat src,
int[] label,
double[] confidence) |
void |
read(java.lang.String filename) |
void |
setLabelInfo(int label,
java.lang.String strInfo) |
void |
train(java.util.List<Mat> src,
Mat labels) |
void |
update(java.util.List<Mat> src,
Mat labels) |
void |
write(java.lang.String filename) |
clear, empty, getDefaultName, getNativeObjAddr, save
public static FaceRecognizer __fromPtr__(long addr)
public java.lang.String getLabelInfo(int label)
public int predict_label(Mat src)
public MatOfInt getLabelsByString(java.lang.String str)
public void predict_collect(Mat src, PredictCollector collector)
public void predict(Mat src, int[] label, double[] confidence)
public void read(java.lang.String filename)
public void setLabelInfo(int label, java.lang.String strInfo)
public void write(java.lang.String filename)
Generated on Wed Jul 4 2018 14:01:58 UTC / OpenCV 3.4.2