public class CLMPoseFeature extends Object implements FacialFeature, FeatureVectorProvider<DoubleFV>
Modifier and Type | Class and Description |
---|---|
static class |
CLMPoseFeature.Extractor
A
FacialFeatureExtractor for providing CLMPoseFeature s. |
Modifier | Constructor and Description |
---|---|
protected |
CLMPoseFeature() |
|
CLMPoseFeature(DoubleFV fv)
Construct the
CLMPoseFeature with the given feature vector. |
Modifier and Type | Method and Description |
---|---|
byte[] |
binaryHeader()
Header for binary input.
|
DoubleFV |
getFeatureVector()
Get the FeatureVector associated with this object.
|
void |
readBinary(DataInput in)
Read internal state from in.
|
void |
writeBinary(DataOutput out)
Write the content of this as binary to out.
|
protected CLMPoseFeature()
public CLMPoseFeature(DoubleFV fv)
CLMPoseFeature
with the given feature vector.fv
- the feature vectorpublic void readBinary(DataInput in) throws IOException
ReadableBinary
readBinary
in interface ReadableBinary
in
- source to read from.IOException
- an error reading inputpublic byte[] binaryHeader()
ReadableBinary
binaryHeader
in interface ReadableBinary
binaryHeader
in interface WriteableBinary
public void writeBinary(DataOutput out) throws IOException
WriteableBinary
writeBinary
in interface WriteableBinary
out
- sink to write toIOException
- an error writing to outpublic DoubleFV getFeatureVector()
FeatureVectorProvider
getFeatureVector
in interface FeatureVectorProvider<DoubleFV>