|
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[]>>
Public Shared Function Create(Of TExtractor As {Object, IImageFeatureExtractor(Of IFeatureDescriptor(Of Double()))}) (
detector As TExtractor,
numberOfWords As Integer
) As BagOfVisualWords(Of IFeatureDescriptor(Of Double()), Double(), KMeans, TExtractor)
Request Example
View SourceParameters
- detector
- Type: TExtractor
- numberOfWords
- Type: SystemInt32
Type Parameters
- TExtractor
Return Value
Type:
BagOfVisualWordsIFeatureDescriptorDouble,
Double,
KMeans,
TExtractorSee Also