@NoOffset public static class FacemarkLBF.Params extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Params()
\brief Constructor
|
Params(long size)
Native array allocator.
|
Params(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
bagging_overlap()
overlap ratio for training the LBF feature
|
FacemarkLBF.Params |
bagging_overlap(double setter) |
BytePointer |
cascade_face()
filename of the face detector model
|
FacemarkLBF.Params |
cascade_face(BytePointer setter) |
Rect |
detectROI() |
FacemarkLBF.Params |
detectROI(Rect setter) |
IntPointer |
feats_m() |
FacemarkLBF.Params |
feats_m(IntPointer setter) |
int |
initShape_n()
multiplier for augment the training data
|
FacemarkLBF.Params |
initShape_n(int setter) |
BytePointer |
model_filename()
filename where the trained model will be saved
|
FacemarkLBF.Params |
model_filename(BytePointer setter) |
int |
n_landmarks()
number of landmark points
|
FacemarkLBF.Params |
n_landmarks(int setter) |
FacemarkLBF.Params |
position(long position) |
IntPointer |
pupils() |
IntPointer |
pupils(int i)
index of facemark points on pupils of left and right eye
|
FacemarkLBF.Params |
pupils(int i,
IntPointer setter) |
DoublePointer |
radius_m() |
FacemarkLBF.Params |
radius_m(DoublePointer setter) |
void |
read(FileNode arg0) |
boolean |
save_model()
flag to save the trained model or not
|
FacemarkLBF.Params |
save_model(boolean setter) |
int |
seed()
seed for shuffling the training data
|
FacemarkLBF.Params |
seed(int setter) |
double |
shape_offset()
offset for the loaded face landmark points
|
FacemarkLBF.Params |
shape_offset(double setter) |
int |
stages_n()
number of refinement stages
|
FacemarkLBF.Params |
stages_n(int setter) |
int |
tree_depth()
the depth of decision tree, defines the size of feature
|
FacemarkLBF.Params |
tree_depth(int setter) |
int |
tree_n()
number of tree in the model for each landmark point refinement
|
FacemarkLBF.Params |
tree_n(int setter) |
boolean |
verbose()
show the training print-out
|
FacemarkLBF.Params |
verbose(boolean setter) |
void |
write(FileStorage arg0) |
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 Params(Pointer p)
Pointer.Pointer(Pointer)
.public Params(long size)
Pointer.position(long)
.public Params()
public FacemarkLBF.Params position(long position)
public double shape_offset()
public FacemarkLBF.Params shape_offset(double setter)
@opencv_core.Str public BytePointer cascade_face()
public FacemarkLBF.Params cascade_face(BytePointer setter)
public FacemarkLBF.Params verbose(boolean setter)
public int n_landmarks()
public FacemarkLBF.Params n_landmarks(int setter)
public int initShape_n()
public FacemarkLBF.Params initShape_n(int setter)
public int stages_n()
public FacemarkLBF.Params stages_n(int setter)
public int tree_n()
public FacemarkLBF.Params tree_n(int setter)
public int tree_depth()
public FacemarkLBF.Params tree_depth(int setter)
public double bagging_overlap()
public FacemarkLBF.Params bagging_overlap(double setter)
@StdString public BytePointer model_filename()
public FacemarkLBF.Params model_filename(BytePointer setter)
public FacemarkLBF.Params save_model(boolean setter)
public FacemarkLBF.Params seed(int setter)
@StdVector public IntPointer feats_m()
public FacemarkLBF.Params feats_m(IntPointer setter)
@StdVector public DoublePointer radius_m()
public FacemarkLBF.Params radius_m(DoublePointer setter)
@StdVector public IntPointer pupils(int i)
public FacemarkLBF.Params pupils(int i, IntPointer setter)
@MemberGetter @StdVector public IntPointer pupils()
public FacemarkLBF.Params detectROI(Rect setter)
public void write(@ByRef FileStorage arg0)
Copyright © 2020. All rights reserved.