Package org.opencv.face
Class BasicFaceRecognizer
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.face.FaceRecognizer
-
- org.opencv.face.BasicFaceRecognizer
-
- Direct Known Subclasses:
EigenFaceRecognizer
,FisherFaceRecognizer
public class BasicFaceRecognizer extends FaceRecognizer
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BasicFaceRecognizer(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BasicFaceRecognizer
__fromPtr__(long addr)
protected void
finalize()
Mat
getEigenValues()
Mat
getEigenVectors()
Mat
getLabels()
Mat
getMean()
int
getNumComponents()
SEE: setNumComponentsjava.util.List<Mat>
getProjections()
double
getThreshold()
SEE: setThresholdvoid
setNumComponents(int val)
getNumComponents SEE: getNumComponentsvoid
setThreshold(double val)
getThreshold SEE: getThreshold-
Methods inherited from class org.opencv.face.FaceRecognizer
getLabelInfo, getLabelsByString, predict, predict_collect, predict_label, read, setLabelInfo, train, update, write
-
Methods inherited from class org.opencv.core.Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
Method Detail
-
__fromPtr__
public static BasicFaceRecognizer __fromPtr__(long addr)
-
getNumComponents
public int getNumComponents()
SEE: setNumComponents- Returns:
- automatically generated
-
setNumComponents
public void setNumComponents(int val)
getNumComponents SEE: getNumComponents- Parameters:
val
- automatically generated
-
getThreshold
public double getThreshold()
SEE: setThreshold- Returns:
- automatically generated
-
setThreshold
public void setThreshold(double val)
getThreshold SEE: getThreshold- Parameters:
val
- automatically generated
-
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
- Overrides:
finalize
in classFaceRecognizer
- Throws:
java.lang.Throwable
-
-