FV - Type of FeatureVectorOBJECT - Type of object the extractor works on.public class FVProviderExtractor<FV extends FeatureVector,OBJECT> extends Object implements FeatureExtractor<FV,OBJECT>
FeatureExtractors that return objects that are
FeatureVectorProviders that is a FeatureExtractor that
returns a FeatureVector.| Modifier and Type | Field and Description |
|---|---|
FeatureExtractor<? extends FeatureVectorProvider<FV>,OBJECT> |
extractor
The internal extractor
|
| Constructor and Description |
|---|
FVProviderExtractor(FeatureExtractor<? extends FeatureVectorProvider<FV>,OBJECT> extractor)
Construct with the given extractor.
|
| Modifier and Type | Method and Description |
|---|---|
static <FV extends FeatureVector,OBJECT,EXTRACTOR extends FeatureExtractor<? extends FeatureVectorProvider<FV>,OBJECT>> |
create(EXTRACTOR extractor)
Create a new
FVProviderExtractor with the given extractor. |
FV |
extractFeature(OBJECT object)
Extract features from an object and return them.
|
public FeatureExtractor<? extends FeatureVectorProvider<FV extends FeatureVector>,OBJECT> extractor
public FVProviderExtractor(FeatureExtractor<? extends FeatureVectorProvider<FV>,OBJECT> extractor)
extractor - the extractorpublic FV extractFeature(OBJECT object)
FeatureExtractorextractFeature in interface FeatureExtractor<FV extends FeatureVector,OBJECT>object - the object to extract frompublic static <FV extends FeatureVector,OBJECT,EXTRACTOR extends FeatureExtractor<? extends FeatureVectorProvider<FV>,OBJECT>> FVProviderExtractor<FV,OBJECT> create(EXTRACTOR extractor)
FVProviderExtractor with the given extractor.FV - Type of FeatureVectorOBJECT - Type of object the extractor works on.EXTRACTOR - Type of extractor.extractor - the extractorFVProviderExtractor