|
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.6.0
Syntaxpublic static BagOfVisualWords<IFeatureDescriptor<double[]>, double[], KMeans, TDetector> Create<TDetector, TClustering>(
TDetector detector,
int numberOfWords
)
where TDetector : Object, IFeatureDetector<IFeatureDescriptor<double[]>, double[]>
Public Shared Function Create(Of TDetector As {Object, IFeatureDetector(Of IFeatureDescriptor(Of Double()), Double())}, TClustering) (
detector As TDetector,
numberOfWords As Integer
) As BagOfVisualWords(Of IFeatureDescriptor(Of Double()), Double(), KMeans, TDetector) Request Example
View SourceParameters
- detector
- Type: TDetector
- numberOfWords
- Type: SystemInt32
Type Parameters
- TDetector
- TClustering
Return Value
Type:
BagOfVisualWordsIFeatureDescriptorDouble,
Double,
KMeans,
TDetector
See Also