OpenCV  3.4.9
Open Source Computer Vision
Object Categorization


class  cv::BOWImgDescriptorExtractor
 Class to compute an image descriptor using the bag of visual words. More...
class  cv::BOWKMeansTrainer
 kmeans -based class to train visual vocabulary using the bag of visual words approach. : More...
class  cv::BOWTrainer
 Abstract base class for training the bag of visual words vocabulary from a set of descriptors. More...

Detailed Description

This section describes approaches based on local 2D features and used to categorize objects.

  • A complete Bag-Of-Words sample can be found at opencv_source_code/samples/cpp/bagofwords_classification.cpp
    • (Python) An example using the features2D framework to perform object categorization can be found at opencv_source_code/samples/python/