Method SetVocabulary
- Namespace
- OpenCvSharp.XFeatures2D
- Assembly
- OpenCvSharp.dll
SetVocabulary(Mat)
Sets a visual vocabulary.
public void SetVocabulary(Mat vocabulary)
Parameters
vocabularyMatVocabulary (can be trained using the inheritor of BOWTrainer ). Each row of the vocabulary is a visual word(cluster center).