| BOWImgDescriptorExtractorSetVocabulary Method |
Sets a visual vocabulary.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public void SetVocabulary(
Mat vocabulary
)
Public Sub SetVocabulary (
vocabulary As Mat
)
public:
void SetVocabulary(
Mat^ vocabulary
)
member SetVocabulary :
vocabulary : Mat -> unit
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