Table of Contents

Method SetVocabulary

Namespace
OpenCvSharp.XFeatures2D
Assembly
OpenCvSharp.dll

SetVocabulary(Mat)

Sets a visual vocabulary.

public void SetVocabulary(Mat vocabulary)

Parameters

vocabulary Mat

Vocabulary (can be trained using the inheritor of BOWTrainer ). Each row of the vocabulary is a visual word(cluster center).