@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, write
clear, getDefaultName, position, save, save, write, write
address, 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, zero
public BasicFaceRecognizer(Pointer p)
Pointer.Pointer(Pointer)
.public int getNumComponents()
setNumComponents
public void setNumComponents(int val)
public double getThreshold()
FaceRecognizer
getThreshold
in class FaceRecognizer
setThreshold
public void setThreshold(double val)
setThreshold
in class FaceRecognizer
public void read(@Const @ByRef FileNode fn)
FaceRecognizer
read
in class FaceRecognizer
public void write(@ByRef FileStorage fs)
FaceRecognizer
write
in class FaceRecognizer
fs
- The FileStorage to store this FaceRecognizer to.@Cast(value="bool") public boolean empty()
FaceRecognizer
empty
in class FaceRecognizer
Copyright © 2020. All rights reserved.