The powerful Bag-of-Words object categorization framework has not been included. This is actually an additional step to what we have covered in this chapter, as extracted descriptors are clustered and used to perform categorization. A complete sample can be found at [opencv_source_code]/samples/cpp/bagofwords_classification.cpp
.