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)
-
getEigenValues
public Mat getEigenValues()
-
getEigenVectors
public Mat getEigenVectors()
-
getLabels
public Mat getLabels()
-
getMean
public Mat getMean()
-
getThreshold
public double getThreshold()
SEE: setThreshold- Returns:
- automatically generated
-
getNumComponents
public int getNumComponents()
SEE: setNumComponents- Returns:
- automatically generated
-
getProjections
public java.util.List<Mat> getProjections()
-
setNumComponents
public void setNumComponents(int val)
getNumComponents SEE: getNumComponents- Parameters:
val
- automatically generated
-
setThreshold
public void setThreshold(double val)
getThreshold SEE: getThreshold- Parameters:
val
- automatically generated
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classFaceRecognizer
- Throws:
java.lang.Throwable
-
-