Click or drag to resize
Accord.NET (logo)

BagOfVisualWordsCreateTDetector, TClustering Method (TDetector, Int32)

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

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

Parameters

detector
Type: TDetector
numberOfWords
Type: SystemInt32

Type Parameters

TDetector
TClustering

Return Value

Type: BagOfVisualWordsIFeatureDescriptorDouble, Double, KMeans, TDetector
See Also