类 BasicFaceRecognizer
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.face.FaceRecognizer
-
- org.opencv.face.BasicFaceRecognizer
-
public class BasicFaceRecognizer extends FaceRecognizer
-
-
构造函数摘要
构造函数 修饰符 构造函数 描述 protected
BasicFaceRecognizer(long addr)
-
方法摘要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 描述 static BasicFaceRecognizer
__fromPtr__(long addr)
protected void
finalize()
Mat
getEigenValues()
Mat
getEigenVectors()
Mat
getLabels()
Mat
getMean()
int
getNumComponents()
参见:setNumComponentsjava.util.List<Mat>
getProjections()
double
getThreshold()
参见:setThresholdvoid
setNumComponents(int val)
getNumComponents 参见:getNumComponentsvoid
setThreshold(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
-
-