public class CLMPoseShapeFeature extends Object implements FacialFeature, FeatureVectorProvider<DoubleFV>
This feature is potentially useful for classifying expressions.
| Modifier and Type | Class and Description |
|---|---|
static class |
CLMPoseShapeFeature.Extractor
A
FacialFeatureExtractor for providing
CLMPoseShapeFeatures. |
| Modifier | Constructor and Description |
|---|---|
protected |
CLMPoseShapeFeature() |
|
CLMPoseShapeFeature(DoubleFV fv)
Construct the
CLMPoseShapeFeature 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 CLMPoseShapeFeature()
public CLMPoseShapeFeature(DoubleFV fv)
CLMPoseShapeFeature with the given feature vector.fv - the feature vectorpublic void readBinary(DataInput in) throws IOException
ReadableBinaryreadBinary in interface ReadableBinaryin - source to read from.IOException - an error reading inputpublic byte[] binaryHeader()
ReadableBinarybinaryHeader in interface ReadableBinarybinaryHeader in interface WriteableBinarypublic void writeBinary(DataOutput out) throws IOException
WriteableBinarywriteBinary in interface WriteableBinaryout - sink to write toIOException - an error writing to outpublic DoubleFV getFeatureVector()
FeatureVectorProvidergetFeatureVector in interface FeatureVectorProvider<DoubleFV>