Click or drag to resize
Accord.NET (logo)

BagOfVisualWordsCreateTExtractor, TClustering, TFeature Method (TExtractor, TClustering)

Creates a Bag-of-Words model using the given feature detector and clustering algorithm.

Namespace:  Accord.Imaging
Assembly:  Accord.Vision (in Accord.Vision.dll) Version: 3.8.0
Syntax
public static BagOfVisualWords<IFeatureDescriptor<TFeature>, TFeature, TClustering, TExtractor> Create<TExtractor, TClustering, TFeature>(
	TExtractor detector,
	TClustering clustering
)
where TExtractor : Object, IImageFeatureExtractor<IFeatureDescriptor<TFeature>>
where TClustering : Object, IUnsupervisedLearning<IClassifier<TFeature, int>, TFeature, int>
Request Example View Source

Parameters

detector
Type: TExtractor
clustering
Type: TClustering

Type Parameters

TExtractor
TClustering
TFeature

Return Value

Type: BagOfVisualWordsIFeatureDescriptorTFeature, TFeature, TClustering, TExtractor
See Also