Ask Your Question

Revision history [back]

Basically this will lead you to the following steps:

  1. Break down the original source code of the cascade classification process.
  2. Go through the code step by step until the original wavelets are read in. Since the trainings needs you to specify feature type, I guess they have it somewhere hard coded inside.
  3. Add lines of code with your new features.
  4. Rebuild the whole cascade classification training.

I guess it is doable but it won't be straightforward. Once you have found where it is done, what you could do is create a pull request with an interface for adding the feature sets. This could lead to the function being implemented in the original openCV library.