BOWImgDescriptorExtractorSetVocabulary Method
|
Sets a visual vocabulary.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic void SetVocabulary(
Mat vocabulary
)
Public Sub SetVocabulary (
vocabulary As Mat
)
public:
void SetVocabulary(
Mat^ vocabulary
)
member SetVocabulary :
vocabulary : Mat -> unit
function SetVocabulary(vocabulary);
Parameters
- vocabulary
- Type: OpenCvSharpMat
Vocabulary (can be trained using the inheritor of BOWTrainer ).
Each row of the vocabulary is a visual word(cluster center).
See Also