public abstract class MemoryFeatureExtractor extends FeatureExtractor
Constructor and Description |
---|
MemoryFeatureExtractor(Configuration conf)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.List<java.lang.Double> |
extractCurrentFeatures(org.opencv.core.Mat frame)
Extract features for the current frame.
|
java.util.List<java.lang.Double> |
extractFeatures(org.opencv.core.Mat whole,
org.opencv.core.Mat frame)
Delegates feature extraction but maintain feature and frame history.
|
public MemoryFeatureExtractor(Configuration conf)
featHistory
and
frameHistory
and stores the configuration.conf
- configuration of the featExtract operationpublic java.util.List<java.lang.Double> extractFeatures(org.opencv.core.Mat whole, org.opencv.core.Mat frame)
extractFeatures
in class FeatureExtractor
whole
- whole input frameframe
- current frame from which to extract featuresfeatHistory
,
frameHistory
,
extractCurrentFeatures(Mat)
public abstract java.util.List<java.lang.Double> extractCurrentFeatures(org.opencv.core.Mat frame)
featHistory
and frameHistory
storing the
last features and frames from newest to last (excluding current frame).frame
- current frame