类 BasicFaceRecognizer
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.face.FaceRecognizer
-
- org.opencv.face.BasicFaceRecognizer
-
public class BasicFaceRecognizer extends FaceRecognizer
-
-
构造函数摘要
构造函数 修饰符 构造函数 描述 保护BasicFaceRecognizer(long addr)
-
方法摘要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 描述 static BasicFaceRecognizer__fromPtr__(long addr)protected voidfinalize()MatgetEigenValues (获取特征值)()MatgetEigenVectors (获取特征向量)()MatgetLabels()MatgetMean()intgetNumComponents (获取组件数量)()参见: setNumComponentsjava.util.List<Mat>getProjections (获取投影)()doublegetThreshold()参见: setThresholdvoidsetNumComponents(int val)getNumComponents (获取组件数量) 参见: getNumComponentsvoidsetThreshold(double val)getThreshold (获取阈值) 参见: getThreshold-
从类 org.opencv.face 继承的方法 FaceRecognizer
getLabelInfo, getLabelsByString, predict, predict_collect, predict_label, read, setLabelInfo, train, update, write
-
从类 org.opencv.core 继承的方法 Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
方法详细信息
-
__fromPtr__
public static BasicFaceRecognizer __fromPtr__(long addr)
-
getNumComponents (获取组件数量)
public int getNumComponents()
参见: setNumComponents- 返回
- 自动生成
-
setNumComponents (设置组件数量)
public void setNumComponents(int val)
getNumComponents (获取组件数量) 参见: getNumComponents- 参数
val- 自动生成
-
getThreshold
public double getThreshold()
参见: setThreshold- 返回
- 自动生成
-
setThreshold
public void setThreshold(double val)
getThreshold (获取阈值) 参见: getThreshold- 参数
val- 自动生成
-
getProjections (获取投影)
public java.util.List<Mat> getProjections()
-
getLabels
public Mat getLabels()
-
getEigenValues (获取特征值)
public Mat getEigenValues()
-
getEigenVectors (获取特征向量)
public Mat getEigenVectors()
-
getMean
public Mat getMean()
-
finalize
protected void finalize() throws java.lang.Throwable- 重写
finalize在类中FaceRecognizer- 抛出
java.lang.Throwable
-
-