Click or drag to resize
Accord.NET (logo)

BagOfVisualWordsCreateTExtractor, TClustering 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<double[]>, double[], TClustering, TExtractor> Create<TExtractor, TClustering>(
	TExtractor detector,
	TClustering clustering
)
where TExtractor : Object, IImageFeatureExtractor<IFeatureDescriptor<double[]>>
where TClustering : Object, IUnsupervisedLearning<IClassifier<double[], int>, double[], int>
Request Example View Source

Parameters

detector
Type: TExtractor
clustering
Type: TClustering

Type Parameters

TExtractor
TClustering

Return Value

Type: BagOfVisualWordsIFeatureDescriptorDouble, Double, TClustering, TExtractor
See Also