Search code examples
opencvfeature-selectionadaboostlbph-algorithm

How to combine HOG and LBP features with openCV in a signle cascade.xml file?


opencv_traincascade generates a cascade.xml files for only one feature(lbp or haar or hog). Is it possible to combine obtained results into a single file? Or is there any opencv utility that could generate a combination of two different type of features?


Solution

  • It seems that OpenCV does not support adding multiple features into a single cascade. We would need to change the backend and allow any arbitrary number of features for a model to be trained according to : opencv.org