@Namespace(value="cv::face") @NoOffset @Properties(inherit=opencv_face.class) public class BasicFaceRecognizer extends FaceRecognizer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
BasicFaceRecognizer(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
empty()
\overload
|
Mat |
getEigenValues() |
Mat |
getEigenVectors() |
Mat |
getLabels() |
Mat |
getMean() |
int |
getNumComponents() |
MatVector |
getProjections() |
double |
getThreshold()
\brief threshold parameter accessor - required for default BestMinDist collector
|
void |
read(FileNode fn)
\overload
|
void |
setNumComponents(int val)
\copybrief getNumComponents @see getNumComponents
|
void |
setThreshold(double val)
\copybrief getThreshold @see getThreshold
|
void |
write(FileStorage fs)
\overload
Saves this model to a given FileStorage.
|
getLabelInfo, getLabelsByString, getLabelsByString, predict_collect, predict_collect, predict_collect, predict_label, predict_label, predict_label, predict, predict, predict, predict, predict, predict, predict, predict, predict, read, read, setLabelInfo, setLabelInfo, train, train, train, train, train, train, train, train, train, update, update, update, update, update, update, update, update, update, write, writeclear, getDefaultName, position, save, save, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic BasicFaceRecognizer(Pointer p)
Pointer.Pointer(Pointer).public int getNumComponents()
setNumComponentspublic void setNumComponents(int val)
public double getThreshold()
FaceRecognizergetThreshold in class FaceRecognizersetThresholdpublic void setThreshold(double val)
setThreshold in class FaceRecognizerpublic void read(@Const @ByRef FileNode fn)
FaceRecognizerread in class FaceRecognizerpublic void write(@ByRef FileStorage fs)
FaceRecognizerwrite in class FaceRecognizerfs - The FileStorage to store this FaceRecognizer to.@Cast(value="bool") public boolean empty()
FaceRecognizerempty in class FaceRecognizerCopyright © 2020. All rights reserved.