Click or drag to resize
Accord.NET (logo)

BagOfVisualWordsCreateTExtractor Method (TExtractor, Int32)

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

Namespace:  Accord.Imaging
Assembly:  Accord.Vision (in Accord.Vision.dll) Version: 3.8.0
Syntax
public static BagOfVisualWords<IFeatureDescriptor<double[]>, double[], KMeans, TExtractor> Create<TExtractor>(
	TExtractor detector,
	int numberOfWords
)
where TExtractor : Object, IImageFeatureExtractor<IFeatureDescriptor<double[]>>
Request Example View Source

Parameters

detector
Type: TExtractor
numberOfWords
Type: SystemInt32

Type Parameters

TExtractor

Return Value

Type: BagOfVisualWordsIFeatureDescriptorDouble, Double, KMeans, TExtractor
See Also